Skip to contents

This module provides comprehensive power analysis for survival studies, allowing researchers to calculate statistical power, required sample size, or minimum detectable hazard ratio for survival analysis designs.

Details

The powersurvival function implements power calculations based on the Freedman method for survival studies with Cox proportional hazards models. It supports both simple designs (fixed follow-up) and complex designs with accrual periods, variable follow-up times, and loss to follow-up.

Key features:

  • Three calculation types: power, sample size, or hazard ratio

  • Simple and complex study designs

  • Interactive plots showing parameter relationships

  • Comprehensive educational output with interpretation

  • Input validation and warning system

For complex designs, the function accounts for:

  • Accrual period and variable follow-up times

  • Loss to follow-up as competing risk

  • Baseline hazard estimation from median survival

  • Average follow-up time calculations

References

Freedman, L.S. (1982). Tables of the number of patients required in clinical trials using the log-rank test. Statistics in Medicine, 1, 121-129.

Rosner, B. (2006). Fundamentals of Biostatistics (6th edition). Thomson Brooks/Cole.

Author

Serdar Balci drserdarbalci@gmail.com

Super classes

jmvcore::Analysis -> ClinicoPath::powersurvivalBase -> powersurvivalClass