/sample_size_calculators.js

A self contained library of Javascript sample size calculators for clinical trials

Primary LanguageJavaScriptMIT LicenseMIT

Sample size calculators

A library for calculation of sample sizes for clinical trials.

Supports sample size calculation for:

  • Binary outcome
    • Superiority trial
    • Equivalence trial
    • Non-inferiority trial
  • Continuous outcome
    • Superiority trial
    • Equivalence trial
    • Non-inferiority trial

See this library in use at www.sealedenvelope.com/power

Tests

Tests for the current HEAD can be run here.