Diff for "FAQ/power/hazN" - CBU statistics Wiki
location: Diff for "FAQ/power/hazN"
Differences between revisions 3 and 27 (spanning 24 versions)
⇤ ← Revision 3 as of 2012-02-14 09:50:10 →
Size: 991
Editor: PeterWatson
Comment:
← Revision 27 as of 2012-02-20 13:13:22 → ⇥
Size: 1947
Editor: PeterWatson
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
Total sample size may be evaluated for comparing hazard rates (per unit time) using this [attachment:coxsamp.xls spreadsheet] which uses a simple formula taken from Collett (2003) [http://stats.stackexchange.com/questions/7508/power-analysis-for-survival-analysis illustrated here] corresponding to a group regression estimate (ratio of hazards) in a Cox regression model. Alternatively the effect size can be expressed in terms of ratios of group survival rates as used by the power calculator given [http://www.stattools.net/SSizSurvival_Pgm.php here.] The total number of events may be evaluated for comparing hazard rates (per unit time) using this [attachment:coxsamp.xls spreadsheet] which uses a simple formula taken from Collett (2003) [http://stats.stackexchange.com/questions/7508/power-analysis-for-survival-analysis illustrated here] corresponding to a group regression estimate (ratio of hazards) in a Cox regression model. Alternatively the effect size can be expressed in terms of ratios of group survival rates as used by the power calculator given [http://www.stattools.net/SSizSurvival_Pgm.php here.]
Line 5: Line 5:
In particular Collett(2003) gives the total sample size, d, required as In particular Collett(2003) gives the total number of events, d, required as
Line 7: Line 7:
d = $$\frac{[z(\alpha/2) + z(\beta/2)]^text{2}}{p(1-p)log(hr)^text{2}}$$ d = $$\frac{(z_text{a/2} + z_text{b/2})^text{2}}{p(1-p)log(hr)^text{2}}$$
Line 9: Line 9:
for two-sided type I error, $$\alpha$$, power 1-$$\beta$$, event rate in population p and hazard ratio, hr. for a two-sided type I error, ''a'', power ''1-b'', event rate in population ''p'', hazard ratio, ''hr'' and ''z'' the Standard Normal (or probit) function.
Line 11: Line 11:
__Reference__ Hsieh and Lavori (2000) give sample size formulae for the number of deaths using continuous covariates in the Cox regression.
Line 13: Line 13:
Collett, D (2003) Modelling Survival Data in Medical Research Second Edition. Chapman and Hall:London dc = $$\frac{(z_text{a/2} + z_text{b/2})^text{2}}{\sigma^text{2}\log(hr)^text{2}}

with $$\sigma^text{2}$$ equal to the variance of the covariate.

dc2 = $$\frac{dc}{1-R^text{2}}$$ where $$R^text{2}$$ is the squared multiple correlation regression of the covariate of interest with the others in the case of more than one continuous covariate. This method is computed using this [attachment:coxcN.xls spreadsheet.]

This approach is similar to Hsieh's approaches to sample size calculations for the odds ratio in a logistic regression (see [:FAQ/power/llogPow:here]).

__References__

Collett, D (2003) Modelling Survival Data in Medical Research. Second Edition. Chapman and Hall:London

Hsieh FY and Lavori PW (2000) Sample size calculations for the Cox proportional hazards regression models with nonbinary covariates ''Controlled Clinical Trials'' '''21''' 552-560.

Survival analysis sample size calculations

The total number of events may be evaluated for comparing hazard rates (per unit time) using this [attachment:coxsamp.xls spreadsheet] which uses a simple formula taken from Collett (2003) [http://stats.stackexchange.com/questions/7508/power-analysis-for-survival-analysis illustrated here] corresponding to a group regression estimate (ratio of hazards) in a Cox regression model. Alternatively the effect size can be expressed in terms of ratios of group survival rates as used by the power calculator given [http://www.stattools.net/SSizSurvival_Pgm.php here.]

In particular Collett(2003) gives the total number of events, d, required as

d = $$\frac{(z_text{a/2} + z_text{b/2})text{2}}{p(1-p)log(hr)text{2}}$$

for a two-sided type I error, a, power 1-b, event rate in population p, hazard ratio, hr and z the Standard Normal (or probit) function.

Hsieh and Lavori (2000) give sample size formulae for the number of deaths using continuous covariates in the Cox regression.

dc = $$\frac{(z_text{a/2} + z_text{b/2})text{2}}{\sigmatext{2}\log(hr)^text{2}}

with $$\sigma^text{2}$$ equal to the variance of the covariate.

dc2 = $$\frac{dc}{1-Rtext{2}}$$ where $$Rtext{2}$$ is the squared multiple correlation regression of the covariate of interest with the others in the case of more than one continuous covariate. This method is computed using this [attachment:coxcN.xls spreadsheet.]

This approach is similar to Hsieh's approaches to sample size calculations for the odds ratio in a logistic regression (see [:FAQ/power/llogPow:here]).

References

Collett, D (2003) Modelling Survival Data in Medical Research. Second Edition. Chapman and Hall:London

Hsieh FY and Lavori PW (2000) Sample size calculations for the Cox proportional hazards regression models with nonbinary covariates Controlled Clinical Trials 21 552-560.

None: FAQ/power/hazN (last edited 2025-09-17 10:58:31 by PeterWatson)