Вопрос

I need to calculate P-values linked to these t-values will reflect the probability that they are equal to 0 by using PROC Means for each visit. Also I have only one classifying (i,e Treatment group=1). Alpha for this test is set to 0.05.

Following code is what I am using, but I am not getting desired p-value?

PROC MEANS DATA=< input dataset>ALPHA=0.05;
    BY _VISNAME;
    VAR Total_Score;
    OUTPUT OUT=D1<output dataset>
            N=
            MEAN=
            MEDIAN=
            STD=
            STDERR=
            UCLM=
            LCLM=
            PROBT= / AUTONAME;
RUN; 

Please suggest where I am going wrong.

Это было полезно?

Решение

I cannot see your data set, so I can only guess at question. For starters, I would put your descriptive statistical keywords into the top line next to data=. This should at least generate some form of result:

proc means data=work.sample N MEAN  MEDIAN  STD  STDERR  UCLM LCLM PROBT T;
BY _VISNAME;
VAR Total_Score;            
output out=work.means; 

run;        
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top