Dear all,
Am trying to compare C-reactive protein (CRP) values of patients at visit1 and vist 2
I have table that looks like this :
Variable
VISIT
N
Mean
STD
CRP
1
300
3,64
1,19
CRP
2
148
1,95
0,93
I wish to compare the N value 148 at visit 2 with exactly 148 values at visit1. I think I can do this by selecting the pat_id with the 148values at visit2 and comparing that with exactly the same patients(with the same pat_id) in visit1
My question is how can I adjust my code to do that?
here is my code:
proc ttest data= myinfile plots=none;
class visit;
var CRP;
where visit in (1,2);
ods output ttests=ttest_CRP;
ods output Statistics=Stat_CRP;
run;
... View more