LogoClawIndex
CasesSkillsAbout
LogoClawIndex

bio-clinical-biostatistics-power-sample-size - Calculate Clinical Trial Power and Sample Size

Computes power and sample size for clinical trials across continuous, binary, survival, non-inferiority, equivalence, and bioequivalence designs.

Tags

Updated: 2026-11-11

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Calculate continuous-outcome sample sizes
  • Calculate binary-outcome sample sizes
  • Estimate survival event requirements
  • Handle non-inferiority designs
  • Evaluate equivalence with TOST
  • Account for dropout and multiplicity
  • Distinguish δ from MCID
  • Support group-sequential designs
  • Adjust clustered trial sizes

Inputs

  • Endpoint type
  • Effect size or hazard ratio
  • Significance level
  • Target power
  • Trial design
  • Dropout rate
  • Allocation ratio
  • Multiplicity plan
  • Stratification factors
  • Cluster size and ICC
  • Accrual and follow-up assumptions

Outputs

  • Required sample size
  • Required event count
  • Estimated statistical power
  • Design-effect-adjusted sample size
  • Sample-size justification

Requirements

  • Python with statsmodels 0.14+
  • SciPy 1.12+
  • NumPy 1.26+
  • Pandas 2.1+
  • Compatible R packages when using R examples
  • Verified installed package APIs

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
clinical trials
biostatistics
power analysis
sample size
survival analysis
non-inferiority
bioequivalence
equivalence testing
Calculate continuous-outcome sample sizes
Calculate binary-outcome sample sizes
Estimate survival event requirements
Handle non-inferiority designs
Endpoint type
Effect size or hazard ratio
Significance level
Required sample size
Required event count
Estimated statistical power