Interactive PPI Sample Size Calculator
Prediction-powered one-sample mean/prevalence and difference in prevalence
sample-size-calculator.RmdThis calculator uses prediction-powered inference
(PPI/PPI++) formulas from this package for quick
study planning examples. It is designed for planning and intuition; for
final protocol numbers, confirm assumptions with your statistician.
Interactive PPI Tool
Prediction-powered sample size calculator
Browser-based planner aligned with pppower formulas.
Assumptions: labeled outcomes are sampled completely at random from the target population, and labeled/unlabeled sets are from the same population.
Non-response: expected share of sampled units without a usable labeled outcome. Recruitment-adjusted n inflates by 1 / (1 - non-response).
Methods: details and derivations are on Variance & Methods.
Inputs
Binary prevalence inputs
Prediction quality
Results
PPI analysis n (base)
-
PPI recruitment n (adjusted)
-
Classical n (no prediction)
-
Labeled saving vs classical
-
Formula note will appear here.
Inputs
Prediction quality by group
Results
PPI n per group (base)
-
PPI recruitment n (adj A / B)
-
Classical n per group
-
Labeled saving vs classical
-
Formula note will appear here.
Formula details intentionally hidden here for readability. See
Variance & Methods for full equations.