proc power; twosamplefreq test=pchi groupproportions = (.5034 .6459) power = . groupns = ( 1494 373) alpha = 0.00005; run; proc power; twosamplesurvival test=logrank gexphs = 0.6733 | 0.4155 accrualtime = .00001 follouptime = 1 groupns = 200 | 200 grouplossexphazards = (0 0) power = .; proc power; twosamplesurvival test=logrank curve("Control") = (1):(.45) curve("Treatment") = (1):(.66) groupsurvival = "Control" | "Treatment" GROUPLOSSEXPHAZARDS = (.2231 .2231) /*grouplossexphazards = (0,0)*/ accrualtime = .00001 follouptime = 1 groupns = 120 | 120 power = .; run; proc power; twosamplesurvival test=logrank curve("Control") = (1):(.51) curve("Treatment") = (1):(.66) groupsurvival = "Control" | "Treatment" GROUPLOSSEXPHAZARDS = (.2231 .2231) /*grouplossexphazards = (0,0)*/ accrualtime = .00001 follouptime = 1 groupns = 100 | 100 power = .; run; proc power; twosamplesurvival test=logrank curve("Control") = (1):(.45) curve("Treatment") = (1):(.70) groupsurvival = "Control" | "Treatment" GROUPLOSSEXPHAZARDS = (.2231 .2231) /*grouplossexphazards = (0,0)*/ accrualtime = .00001 follouptime = 1 groupns = 200 | 200 power = .; run;
Friday, September 25, 2009
power calculation in SAS
how to get rid of emac's automatic switching of _ into ->
Solution by Paul R. (thanks!) M-x set-variableess-S-assign "-" That's it.
Subscribe to:
Posts (Atom)