In your correction, doesnot solve the problem still if added more subject options pagesize=60 linesize=80 pageno=1 nodate; data GLMPOWER; input treatment $ score6 score12 score18 score24 weight @27 ; datalines; plac 41 50 61 32 0.5 treat 41 39 72 80 0.5 plac 41 32 12 23 0.5 plac 40 30 12 11 0.5 treat 41 36 39 41 0.5 ; proc print data = GLMPOWER; TITLE 'GLMPOWER EXAMPLE'; RUN; proc glm data =glmpower; class treatment; weight weight; model score6 score12 score18 score24 = TREATMENT; repeated TIME; run; PROC GLMPOWER DATA=GLMPOWER; CLASS TREATMENT; WEIGHT WEIGHT; MODEL score6 score12 score18 score24 = TREATMENT; repeated TIME; POWER EFFECTS=(TREATMENT) UEPSDEF=HF ALPHA = 0.05 POWER= .9 NTOTAL = . STDDEV= 3.2 MATRIX("WELLCORR") = LEAR(.6, 1, 4, 1 2 3 4) CORRMAT = "WELLCORR" RUN; UEPSDEF=HF ods graphics on; proc glmpower data =glmpower; class treatment; weight weight; model score6 score12 score18 score24 = treatment; repeated time; power effects = (Treatment) mtest= hlt alpha= 0.05 ntotal= 800 power=. stddev= 3.2 matrix ("wellCorr") = lear( .6, 1,4, 1 2 3 4) Corrmat= "WellCorr"; plot x= n min=6 step= 3 vary (symbol by stddev, panel by dependent source) xopts = (ref= 15 30 crossref= yes); run; ods graphics off;
... View more