SAS tips
SAS tips which I keep forgetting :)
Wednesday, January 15, 2020
Exact CI for Risk Difference
proc freq;
table TRT*Y / nocol nopercent riskdiff (cl=(wald exact)) ;
weight n;
exact riskdiff;
run;
/* Newcombe CI */
proc freq;
table strata*trt*y / riskdiff(cl=newcombe common) alpha=0.05;
run;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
▼
2020
(2)
►
November
(1)
▼
January
(1)
Exact CI for Risk Difference
►
2019
(1)
►
October
(1)
►
2018
(1)
►
December
(1)
►
2012
(1)
►
May
(1)
►
2009
(7)
►
July
(4)
►
May
(1)
►
April
(2)
►
2007
(9)
►
October
(9)
About Me
cahn
View my complete profile
No comments:
Post a Comment