>> Home >> Products >> Features >> Power and sample size

Power and sample size

Watch A tour of power and sample size.

Classic comparisons

  • Means (t-tests)
  • Proportions
  • Variances
  • Correlations
  • McNemar's test


  • One-way models
  • Two-way models
  • Repeated-measures models

Solve for

  • Power
  • Sample size
  • Minimum detectable effect
  • Effect size


  • Matched case–control studies
  • Cohort studies
  • Cross-sectional studies
  • Balanced
  • Unbalanced

Specify lists of

  • Alpha values
  • Power levels
  • Beta values
  • Sample sizes
  • Ratios of sample sizes


  • All combinations of values
  • Parallel lists of values

Control panel interface

  • Select analysis type from descriptive summaries
  • Specify list of power, sample size, or other levels
  • Automated tables and graphs
  • Customize tables and graphs
  • Command interface too (of course)


  • Automated
  • Customized


  • Automated
  • Customized
  • Simple or comparative

Save results to dataset

Survival data and methods

  • Log-rank test of survival curves
  • Cox proportional hazards model
  • Exponential regression
  • Time at risk, incidence rate, number of subjects, 25th, 50th, and 75th percentiles of survival time
  • Incidence-rate ratio and difference
  • Life tables
  • Rates and SMRs by one or more categorical variables
  • Stratified rate ratios

Add your own methods New

Additional resource

See New in Stata 13 for more about what was added in Stata 13.

The Stata Blog: Not Elsewhere Classified Find us on Facebook Follow us on Twitter LinkedIn Google+ Watch us on YouTube