Evidence-based sample size and power calculations for public health, epidemiology, clinical, and health research.
Select the statistical objective or epidemiologic design that best matches your research question.
Estimate prevalence, coverage, risk, or another population proportion.
AvailableEstimate a population mean with a predefined level of precision.
AvailableCompare proportions between two independent populations.
AvailableCompare continuous outcomes between two independent study groups.
AvailableEstimate sample size using exposure prevalence and an expected odds ratio.
AvailableCompare outcome risks between exposed and unexposed populations.
AvailableAccount for clustering using cluster size and intra-cluster correlation.
AvailableEstimate sample size for sensitivity, specificity, and diagnostic accuracy.
AvailableCalculate sample size required to detect a correlation coefficient.
AvailablePlanning for linear and logistic regression models.
Coming soonPower and required events for time-to-event studies.
Coming soonSample size for non-inferiority and equivalence studies.
Coming soonEach calculator documents the underlying statistical method, assumptions, formula, and methodological reference.
Results include interpretation, intermediate calculations, and important adjustments rather than only a final number.
Modules are designed around common epidemiologic and public-health research designs.
Jawab beberapa pertanyaan mengenai tujuan, outcome, dan desain studi. Aplikasi akan merekomendasikan kalkulator yang paling sesuai. Answer a few questions about the objective, outcome, and study design. The application will recommend the most appropriate calculator.
Bandingkan beberapa asumsi perencanaan penelitian dan lihat bagaimana perubahan effect size, power, design effect, atau loss memengaruhi kebutuhan sampel. Compare alternative research-planning assumptions and examine how changes in effect size, power, design effect, or loss affect sample-size requirements.
Parameter di bagian ini dipertahankan sama. Perbedaan antar-skenario diatur pada bagian berikutnya. Parameters in this section remain fixed. Scenario-specific assumptions are defined below.
Gunakan Skenario A sebagai baseline, kemudian ubah Skenario B dan C untuk mengevaluasi asumsi alternatif. Use Scenario A as the baseline, then modify Scenarios B and C to evaluate alternative assumptions.
Perbandingan skenario digunakan untuk menilai seberapa sensitif kebutuhan sampel terhadap perubahan asumsi. Scenario comparison evaluates how sensitive the required sample size is to changes in planning assumptions.
Skenario dengan jumlah sampel terbesar tidak otomatis menjadi pilihan terbaik. Gunakan asumsi yang paling dapat dipertanggungjawabkan berdasarkan literatur, data awal, atau pertimbangan substantif. The scenario requiring the largest sample is not automatically the best choice. Use assumptions that are scientifically defensible based on literature, pilot data, or substantive considerations.
Halaman ini menjelaskan metode statistik yang digunakan, asumsi utama, keterbatasan, serta hasil pemeriksaan internal terhadap benchmark metodologis yang relevan. This page documents the statistical methods, key assumptions, limitations, and internal checks against relevant methodological benchmarks.
Status PASS berarti implementasi memenuhi benchmark yang ditentukan pada skenario pengujian tersebut. Status ini tidak berarti bahwa metode bebas dari seluruh asumsi atau keterbatasan metodologis. PASS indicates that the implementation met the specified benchmark for that test scenario. It does not imply that the method is free from methodological assumptions or limitations.
$$DEFF_{cluster}=1+(m-1)\rho$$
$$DEFF_{weight}=1+CV(w)^2$$
$$n_{effective}\approx\frac{n_{nominal}}{DEFF}$$
Penyesuaian DEFF pada aplikasi digunakan sebagai pendekatan perencanaan. Actual design effect dapat dipengaruhi oleh clustering, stratification, unequal weights, PPS, calibration, outcome yang dianalisis, dan interaksi antar-komponen desain. DEFF adjustments in the application are planning approximations. The actual design effect may depend on clustering, stratification, unequal weights, PPS, calibration, the outcome being analyzed, and interactions among design components.
Estimate the sample required for prevalence, coverage, risk, or another population proportion using either absolute or relative precision.
Step 1. Calculate the sample size required under simple random sampling.
For absolute precision, d_abs is entered directly. For relative precision r, the equivalent absolute precision is d_abs = r × p.
Step 2. If a complex sampling design is used, the SRS requirement is adjusted by the design effect.
Step 3. The design-adjusted sample is inflated for expected non-response.
Estimate the sample size required to estimate a population mean with a specified confidence level and absolute precision.
σ represents the expected population standard deviation and d is the desired absolute precision.
Plan or evaluate a comparison of two independent proportions with optional complex-survey adjustment.
The independent-sample calculation uses a normal approximation for the difference between two proportions.
For complex-survey planning, nominal sample size is approximated as independent-sample requirement × DEFF. Power calculations use n-effective ≈ n-nominal / DEFF.
Plan or evaluate a comparison of two independent means, with optional complex-survey planning adjustment.
Under independent sampling, power is calculated using a non-central t distribution and Welch-Satterthwaite degrees of freedom.
For complex-survey planning, the required independent sample is inflated by the selected design effect.
For prospective power or detectable-effect calculations under complex sampling, the calculator uses the planning approximation n_effective ≈ n_nominal / DEFF.
Plan sample size, evaluate power, or estimate the minimum detectable odds ratio for an unmatched case-control study.
The expected exposure prevalence among cases is derived from exposure prevalence among controls and the assumed OR.
The resulting exposure proportions are treated as a two-independent-proportion comparison for planning.
Plan sample size, calculate statistical power, or determine a minimum detectable risk ratio.
Outcome risk among exposed participants is derived from baseline risk among unexposed participants and the expected risk ratio.
Estimate sample size for a prevalence or proportion survey using cluster sampling, accounting for intra-cluster correlation and average cluster size.
The calculation first estimates the sample size required under simple random sampling.
The sample size is then multiplied by a design effect derived from the average cluster size and intra-cluster correlation coefficient.
Where m is the average cluster size and ρ is the intra-cluster correlation.
Estimate the total sample required to achieve specified precision for sensitivity and specificity, taking expected disease prevalence into account.
The required number of participants with the condition is calculated from the anticipated sensitivity.
The required number without the condition is similarly calculated from the anticipated specificity.
Expected disease prevalence is then used to determine the total number of participants required to satisfy both sensitivity and specificity precision targets.
Calculate required sample size, statistical power, or the minimum detectable correlation.
Power calculations use Fisher's z transformation of the expected Pearson correlation coefficient.
For complex sampling, nominal sample size is converted to an approximate effective sample using n/DEFF.
Power analysis for the overall multiple-regression model using Cohen's f-squared and model R-squared.
The calculator evaluates the overall F-test that the predictors jointly explain variation in the outcome.
For complex survey planning, nominal sample size is approximated from effective sample size using DEFF.
Scope: This version is for multiple linear regression. Logistic regression requires a different framework and will be developed separately.
Event-driven sample-size and power planning for a two-group log-rank comparison under the proportional-hazards assumption.
The calculator uses the Schoenfeld event-based approximation for a two-group proportional-hazards comparison.
D is the required number of observed events. Total sample size additionally depends on the anticipated proportion of participants experiencing the event during follow-up.
Important: This approximation assumes proportional hazards. Delayed effects, crossing hazards, substantial non-proportional hazards, or complex accrual/censoring may require simulation-based planning.
Plan a parallel-group non-inferiority study for a continuous outcome.
The current implementation assumes that larger outcome values are better. The non-inferiority null boundary is treatment-control = -Margin.
Sample size depends on the distance between the expected true difference and the non-inferiority boundary.
Scope: This first version covers continuous outcomes. Non-inferiority for proportions and equivalence should be implemented as separate methods.