independent
proportions and provides a
confidence ;
interval for the
difference.
;
**
;
Created: 16 April
1995
;
;
Input file: NONE (Data
entered in
programme)
;
Output file: NONE (see
notes)
;
;
Notes: Data is entered
after the data
statement
;
*****;
data a; Enter 5 data
values on following 5
lines ;
n1=110; n1 is sample
size for sample
1 ;
n2=108; n2 is sample
size for sample
2 ;
x1=96; x1 is
relevant count for sample
1 ;
x2=72; x2 is
relevant count for sample
2 ;
CI=95; Required
confidence interval, for
example, 95, ;
p1=x1/n1;
p2=x2/n2;
Appendix 364