Demo entry 6353919

12

   

Submitted by anonymous on Apr 04, 2017 at 07:23
Language: SAS. Code size: 620 Bytes.

/*power analysis*/
proc glmpower data=work.means;
class JOB_TITLE_SUBGROUP AREA;
model  logsal = JOB_TITLE_SUBGROUP|AREA;
power
stddev = .5
ntotal = .
power  = .9;
run;
proc glmpower data=work.means;
class JOB_TITLE_SUBGROUP AREA;
model  logsal = JOB_TITLE_SUBGROUP|AREA;
power
stddev = .5
ntotal = 900.
power = . ;
plot x=n min=500 max=2000;
run;
proc glmpower data=work.means;
class JOB_TITLE_SUBGROUP AREA;
model  logsal = JOB_TITLE_SUBGROUP|AREA;
contrast 'mid vx ne ' AREA  1 -1  0  0  0;
contrast '1 vx 2' JOB_TITLE_SUBGROUP 1 -1 0 0 0 0 0 0 ;
power
stddev = .5
ntotal = 2000.
power = . ;

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).