Skip to contents

Power analysis and sample size calculation for survival studies using Lachin-Foulkes and Schoenfeld methods from the gsDesign package. This module provides comprehensive power calculations for clinical trials with time-to-event endpoints.

Value

Power analysis results with sample size, number of events, and study design parameters.

Details

This module implements the functionality requested in GitHub Issue #72, providing comprehensive power analysis capabilities for survival studies. Two main methods are supported:

Lachin-Foulkes Method:

  • Full study design approach

  • Accounts for accrual duration, follow-up period, dropout rates

  • Supports uniform and exponential patient entry patterns

  • Provides sample size and number of events

Schoenfeld Method:

  • Events-based approximation

  • Based on asymptotic normal distribution of log-rank statistic

  • Simpler calculations focused on number of events

  • Useful for quick estimates and design comparisons

Super classes

jmvcore::Analysis -> ClinicoPath::survivalpowerBase -> survivalpowerClass