run;
proc print split='';
where flag =2; / found
power /
id alpha;
var pie1 pie2 n power;
label power='CALCULATED VALUEOF
POWER';
title3 'Finding the power';
run;
Figure 2: SAS program POWER1 for
power and sample size calculations,
difference between two proportions
(independent groups)
**;
Filename: POWER2.JOB
;
;
Purpose: This job calculates
statistical power and sample ;
sizes for comparison of two
means independent ;
groups.
;
;
Calculations are based on
Machin, D. and Campbell, ;
M.J.
(1987).
;
;
Created: 16 March
1995
;
;
Input file: NONE (see
notes) ;
Output file: NONE (see
notes) ;
Appendix 355