|
|
pre and post comparison with proc ttest paired
I am comparing pre and post dependent matched patients samples.
However, I need to compare more than 1000 peaks. If I use the
following codes to do the paired t test, that means I need to create
more than 1000*2 variables first. Is that possible not to create so
many variables? Can we do similar thing in independent comparison,
where we can use CLASS then VAR.
PROC TTEST DATA=masil.drug;
PAIRED propeak1: postpeak1;
RUN;
Thank you very much for your help!
|
|
0
|
|
|
|
Reply
|
yangliuyan7 (6)
|
5/12/2010 7:39:59 PM |
|
On May 12, 2:39=A0pm, greenwillow <yangliuy...@gmail.com> wrote:
> I am comparing pre and post dependent matched patients samples.
>
> However, I need to compare more than 1000 peaks. If I use the
> following codes to do the paired t test, that means I need to create
> more than 1000*2 variables first. Is that possible not to create so
> many variables? Can we do similar thing in independent comparison,
> where we can use CLASS then VAR.
>
> PROC TTEST DATA=3Dmasil.drug;
> =A0 =A0PAIRED propeak1: postpeak1;
> RUN;
>
> Thank you very much for your help!
Make the data have PEEK 1:1000 and variable PRE and POST an then do
PROC TTEST by PEEK.
|
|
0
|
|
|
|
Reply
|
data
|
5/12/2010 8:16:58 PM
|
|
However, there are around 16 matched patients, which means pre and
post should be subset to 16 variables each.
On May 12, 3:16=A0pm, "data _null_;" <datan...@gmail.com> wrote:
> On May 12, 2:39=A0pm, greenwillow <yangliuy...@gmail.com> wrote:
>
> > I am comparing pre and post dependent matched patients samples.
>
> > However, I need to compare more than 1000 peaks. If I use the
> > following codes to do the paired t test, that means I need to create
> > more than 1000*2 variables first. Is that possible not to create so
> > many variables? Can we do similar thing in independent comparison,
> > where we can use CLASS then VAR.
>
> > PROC TTEST DATA=3Dmasil.drug;
> > =A0 =A0PAIRED propeak1: postpeak1;
> > RUN;
>
> > Thank you very much for your help!
>
> Make the data have PEEK 1:1000 and variable PRE and POST an then do
> PROC TTEST by PEEK.
|
|
0
|
|
|
|
Reply
|
greenwillow
|
5/12/2010 8:41:39 PM
|
|
|
2 Replies
381 Views
(page loaded in 0.254 seconds)
|
|
|
|
|
|
|
|
|