I suggest changing the names so that the "subscripts" are suffixes (eg,
Create an array for each of the three statistics. Then just use VISIT as
the index into each array.
I think you have your example a bit crossed up, since VISIT=1 only occurs
for the X cases and VISIT=2 only for the Y.
On Tue, 21 Dec 2004 11:14:59 -0700, William Kossack <kossackw@NJC.ORG>
>how do I do this in proc transpose
>Var Treatment Visit mean mediian std
> x A 1
> x B 1
> y A 2
> y B 2
>var visit1_mean visit1_median visit1_std visit2_mean