TriaLab Power Studio · Method
Matched case-control study, binary exposure (conditional logistic score test)
Sizes a matched case-control study — N sets of cases and their matched controls — to detect the odds ratio of a binary exposure by the score test of a conditional logistic regression (Lachin 2008), from the exposure’s population prevalence, the set’s composition and the exposure’s R² on the other covariates.
Also known as: matched case-control, case-control, conditional logistic regression, Lachin, matched sets, M:1 matching, retrospective study, epidemiology, odds ratio, binary exposure, exposed, prevalence of exposure.
Maturity
Validated: 28 published examples from 2 independent publications (Lachin 2011; PASS) reproduce on every build (ADR-0001 §58).
What it solves for
- Sample size: offered.
- Power: offered.
- Detectable effect: offered.
- Precision: not offered — No source on disk sizes the odds ratio of a matched case-control study to a confidence-interval width; the kernel offers the test’s power and size.
- Assurance: not offered — No source on disk states a prior on this design’s effect, so the assurance modifier is not admitted here.
- Duration: not offered — This design has no time axis: each subject’s exposure is recorded once, so calendar time does not enter the power function.
Size axes:
- Matched sets (
matched_sets), Count
Inputs
Every field as the form shows it, with its help. A field marked advanced sits behind Expert mode.
Common to every method
- Significance level (alpha) (
alpha): a number, above 0 and below 1; default 0.05; typically 0.01 to 0.05 (0.05 in most trials; 0.01 for confirmatory claims); entered as proportion (0-1) or percent The type I error rate. Interpreted as two-sided when testing plain equality and one-sided when a margin frame is active, following the usual convention. - Target power (
power_target): a number, above 0 and below 1; default 0.8; typically 0.8 to 0.9 (0.80 is conventional; 0.90 for definitive trials); entered as proportion (0-1) or percent The chance of a significant result if the assumed effect is real. Used when solving for sample size or detectable effect; ignored when solving for power.
The method’s own
- Odds ratio of exposure to detect (
odds_ratio): a number, above 0; default 2; typically 1.2 to 4 (an odds ratio below 1.2 needs thousands of sets) The odds that a case was exposed against the odds that a control was — exp(θ) for the exposure’s coefficient θ in the conditional logistic regression. One is no association; the search for a detectable effect walks upward from it. - Prevalence of exposure in the population (P_E) (
exposure_prevalence): a number, above 0 and below 1; default 0.3; entered as proportion (0-1) or percent The probability that any subject has been exposed. When nothing better is known, the average of the prevalences among cases and among controls — or the controls’ prevalence alone when the disease is rare. - R² of the exposure on the other covariates (
r_squared_covariates): a number, at least 0 and below 1; default 0 How much of the exposure the other covariates in the conditional model explain (Lachin’s adjustment: the exposure’s variance is multiplied by 1 − R²). Zero when no other covariate is fitted. Lachin stresses that the adjustment is accurate only when none of those covariates has a strong effect on the outcome, which the matching should have absorbed. - Cases in each matched set (M_D) (
cases_per_set): a whole number, at least 1 and at most 50; default 1 How many subjects with the outcome each set holds; one for the usual M:1 matching. - Controls in each matched set (M_H) (
controls_per_set): a whole number, at least 1 and at most 50; default 1; typically 1 to 5 (beyond five controls a case the sets barely gain) How many matched subjects without the outcome each set holds. The information a set contributes grows as M_D·M_H/(M_D + M_H), so beyond about five controls a case it barely moves. - Sidedness of the equality test (
tails): a choice; defaulttwo_sidedTwo-sided unless the direction of the association is known in advance; one-sided looks in the direction of the odds ratio entered.two_sidedTwo-sided: Either direction rejects.one_sidedOne-sided: Only the anticipated direction rejects; alpha is spent on that tail.
Sizes entered when another axis is solved for
- Matched sets (
matched_sets): a whole number, at least 1 The number of matched sets — cases with their matched controls — the analysis conditions on. The subjects in all, N(M_D + M_H), are on the table. Required when solving for power or detectable effect; produced by the solver when solving for sample size.
Modifiers admitted
multiplicity: Multiplicity (a family of tests)fdr: False-discovery rate (many features tested at once)dropout: Dropout
Published examples it reproduces (28)
Each is a worked example: the inputs as a user enters them, and the number the source prints, which the engine reproduces within the tolerance on every build (the Validation screen runs them on your machine).
| Source | Example | Solves for | Inputs | Published |
|---|---|---|---|---|
| PASS 2026 chapter 156, Tests for the Odds Ratio in a Matched Case-Control Design with a Binary X, Example 1 | OR 1.5, P_E 0.3, R² 0.2, one case and 1 control(s) a set, two-sided 0.05, 90% power => 761 matched sets | Sample size | alpha = 0.05; cases_per_set = 1; controls_per_set = 1; exposure_prevalence = 0.3; odds_ratio = 1.5; power_target = 0.9; r_squared_covariates = 0.2 | matched_sets = 761 ± 0 |
| PASS 2026 chapter 156, Tests for the Odds Ratio in a Matched Case-Control Design with a Binary X, Example 1 | The same design at 761 sets => power 0.9 (four printed decimals) | Power | alpha = 0.05; cases_per_set = 1; controls_per_set = 1; exposure_prevalence = 0.3; matched_sets = 761; odds_ratio = 1.5; r_squared_covariates = 0.2 | power = 0.9 ± 0.00005 |
| PASS 2026 chapter 156, Tests for the Odds Ratio in a Matched Case-Control Design with a Binary X, Example 1 | OR 1.5, P_E 0.3, R² 0.2, one case and 2 control(s) a set, two-sided 0.05, 90% power => 571 matched sets | Sample size | alpha = 0.05; cases_per_set = 1; controls_per_set = 2; exposure_prevalence = 0.3; odds_ratio = 1.5; power_target = 0.9; r_squared_covariates = 0.2 | matched_sets = 571 ± 0 |
| PASS 2026 chapter 156, Tests for the Odds Ratio in a Matched Case-Control Design with a Binary X, Example 1 | The same design at 571 sets => power 0.9002 (four printed decimals) | Power | alpha = 0.05; cases_per_set = 1; controls_per_set = 2; exposure_prevalence = 0.3; matched_sets = 571; odds_ratio = 1.5; r_squared_covariates = 0.2 | power = 0.9002 ± 0.00005 |
| PASS 2026 chapter 156, Tests for the Odds Ratio in a Matched Case-Control Design with a Binary X, Example 1 | OR 1.5, P_E 0.3, R² 0.2, one case and 5 control(s) a set, two-sided 0.05, 90% power => 457 matched sets | Sample size | alpha = 0.05; cases_per_set = 1; controls_per_set = 5; exposure_prevalence = 0.3; odds_ratio = 1.5; power_target = 0.9; r_squared_covariates = 0.2 | matched_sets = 457 ± 0 |
| PASS 2026 chapter 156, Tests for the Odds Ratio in a Matched Case-Control Design with a Binary X, Example 1 | The same design at 457 sets => power 0.9003 (four printed decimals) | Power | alpha = 0.05; cases_per_set = 1; controls_per_set = 5; exposure_prevalence = 0.3; matched_sets = 457; odds_ratio = 1.5; r_squared_covariates = 0.2 | power = 0.9003 ± 0.00005 |
| PASS 2026 chapter 156, Tests for the Odds Ratio in a Matched Case-Control Design with a Binary X, Example 1 | OR 2, P_E 0.3, R² 0.2, one case and 1 control(s) a set, two-sided 0.05, 90% power => 261 matched sets | Sample size | alpha = 0.05; cases_per_set = 1; controls_per_set = 1; exposure_prevalence = 0.3; odds_ratio = 2; power_target = 0.9; r_squared_covariates = 0.2 | matched_sets = 261 ± 0 |
| PASS 2026 chapter 156, Tests for the Odds Ratio in a Matched Case-Control Design with a Binary X, Example 1 | The same design at 261 sets => power 0.9007 (four printed decimals) | Power | alpha = 0.05; cases_per_set = 1; controls_per_set = 1; exposure_prevalence = 0.3; matched_sets = 261; odds_ratio = 2; r_squared_covariates = 0.2 | power = 0.9007 ± 0.00005 |
| PASS 2026 chapter 156, Tests for the Odds Ratio in a Matched Case-Control Design with a Binary X, Example 1 | OR 2, P_E 0.3, R² 0.2, one case and 2 control(s) a set, two-sided 0.05, 90% power => 196 matched sets | Sample size | alpha = 0.05; cases_per_set = 1; controls_per_set = 2; exposure_prevalence = 0.3; odds_ratio = 2; power_target = 0.9; r_squared_covariates = 0.2 | matched_sets = 196 ± 0 |
| PASS 2026 chapter 156, Tests for the Odds Ratio in a Matched Case-Control Design with a Binary X, Example 1 | The same design at 196 sets => power 0.9011 (four printed decimals) | Power | alpha = 0.05; cases_per_set = 1; controls_per_set = 2; exposure_prevalence = 0.3; matched_sets = 196; odds_ratio = 2; r_squared_covariates = 0.2 | power = 0.9011 ± 0.00005 |
| PASS 2026 chapter 156, Tests for the Odds Ratio in a Matched Case-Control Design with a Binary X, Example 1 | OR 2, P_E 0.3, R² 0.2, one case and 5 control(s) a set, two-sided 0.05, 90% power => 157 matched sets | Sample size | alpha = 0.05; cases_per_set = 1; controls_per_set = 5; exposure_prevalence = 0.3; odds_ratio = 2; power_target = 0.9; r_squared_covariates = 0.2 | matched_sets = 157 ± 0 |
| PASS 2026 chapter 156, Tests for the Odds Ratio in a Matched Case-Control Design with a Binary X, Example 1 | The same design at 157 sets => power 0.9014 (four printed decimals) | Power | alpha = 0.05; cases_per_set = 1; controls_per_set = 5; exposure_prevalence = 0.3; matched_sets = 157; odds_ratio = 2; r_squared_covariates = 0.2 | power = 0.9014 ± 0.00005 |
| PASS 2026 chapter 156, Tests for the Odds Ratio in a Matched Case-Control Design with a Binary X, Example 1 | OR 2.5, P_E 0.3, R² 0.2, one case and 1 control(s) a set, two-sided 0.05, 90% power => 149 matched sets | Sample size | alpha = 0.05; cases_per_set = 1; controls_per_set = 1; exposure_prevalence = 0.3; odds_ratio = 2.5; power_target = 0.9; r_squared_covariates = 0.2 | matched_sets = 149 ± 0 |
| PASS 2026 chapter 156, Tests for the Odds Ratio in a Matched Case-Control Design with a Binary X, Example 1 | The same design at 149 sets => power 0.9 (four printed decimals) | Power | alpha = 0.05; cases_per_set = 1; controls_per_set = 1; exposure_prevalence = 0.3; matched_sets = 149; odds_ratio = 2.5; r_squared_covariates = 0.2 | power = 0.9 ± 0.00005 |
| PASS 2026 chapter 156, Tests for the Odds Ratio in a Matched Case-Control Design with a Binary X, Example 1 | OR 2.5, P_E 0.3, R² 0.2, one case and 2 control(s) a set, two-sided 0.05, 90% power => 112 matched sets | Sample size | alpha = 0.05; cases_per_set = 1; controls_per_set = 2; exposure_prevalence = 0.3; odds_ratio = 2.5; power_target = 0.9; r_squared_covariates = 0.2 | matched_sets = 112 ± 0 |
| PASS 2026 chapter 156, Tests for the Odds Ratio in a Matched Case-Control Design with a Binary X, Example 1 | The same design at 112 sets => power 0.9007 (four printed decimals) | Power | alpha = 0.05; cases_per_set = 1; controls_per_set = 2; exposure_prevalence = 0.3; matched_sets = 112; odds_ratio = 2.5; r_squared_covariates = 0.2 | power = 0.9007 ± 0.00005 |
| PASS 2026 chapter 156, Tests for the Odds Ratio in a Matched Case-Control Design with a Binary X, Example 1 | OR 2.5, P_E 0.3, R² 0.2, one case and 5 control(s) a set, two-sided 0.05, 90% power => 90 matched sets | Sample size | alpha = 0.05; cases_per_set = 1; controls_per_set = 5; exposure_prevalence = 0.3; odds_ratio = 2.5; power_target = 0.9; r_squared_covariates = 0.2 | matched_sets = 90 ± 0 |
| PASS 2026 chapter 156, Tests for the Odds Ratio in a Matched Case-Control Design with a Binary X, Example 1 | The same design at 90 sets => power 0.9019 (four printed decimals) | Power | alpha = 0.05; cases_per_set = 1; controls_per_set = 5; exposure_prevalence = 0.3; matched_sets = 90; odds_ratio = 2.5; r_squared_covariates = 0.2 | power = 0.9019 ± 0.00005 |
| PASS 2026 chapter 156, Tests for the Odds Ratio in a Matched Case-Control Design with a Binary X, Example 1 | OR 3, P_E 0.3, R² 0.2, one case and 1 control(s) a set, two-sided 0.05, 90% power => 104 matched sets | Sample size | alpha = 0.05; cases_per_set = 1; controls_per_set = 1; exposure_prevalence = 0.3; odds_ratio = 3; power_target = 0.9; r_squared_covariates = 0.2 | matched_sets = 104 ± 0 |
| PASS 2026 chapter 156, Tests for the Odds Ratio in a Matched Case-Control Design with a Binary X, Example 1 | The same design at 104 sets => power 0.901 (four printed decimals) | Power | alpha = 0.05; cases_per_set = 1; controls_per_set = 1; exposure_prevalence = 0.3; matched_sets = 104; odds_ratio = 3; r_squared_covariates = 0.2 | power = 0.901 ± 0.00005 |
| PASS 2026 chapter 156, Tests for the Odds Ratio in a Matched Case-Control Design with a Binary X, Example 1 | OR 3, P_E 0.3, R² 0.2, one case and 2 control(s) a set, two-sided 0.05, 90% power => 78 matched sets | Sample size | alpha = 0.05; cases_per_set = 1; controls_per_set = 2; exposure_prevalence = 0.3; odds_ratio = 3; power_target = 0.9; r_squared_covariates = 0.2 | matched_sets = 78 ± 0 |
| PASS 2026 chapter 156, Tests for the Odds Ratio in a Matched Case-Control Design with a Binary X, Example 1 | The same design at 78 sets => power 0.901 (four printed decimals) | Power | alpha = 0.05; cases_per_set = 1; controls_per_set = 2; exposure_prevalence = 0.3; matched_sets = 78; odds_ratio = 3; r_squared_covariates = 0.2 | power = 0.901 ± 0.00005 |
| PASS 2026 chapter 156, Tests for the Odds Ratio in a Matched Case-Control Design with a Binary X, Example 1 | OR 3, P_E 0.3, R² 0.2, one case and 5 control(s) a set, two-sided 0.05, 90% power => 63 matched sets | Sample size | alpha = 0.05; cases_per_set = 1; controls_per_set = 5; exposure_prevalence = 0.3; odds_ratio = 3; power_target = 0.9; r_squared_covariates = 0.2 | matched_sets = 63 ± 0 |
| PASS 2026 chapter 156, Tests for the Odds Ratio in a Matched Case-Control Design with a Binary X, Example 1 | The same design at 63 sets => power 0.9037 (four printed decimals) | Power | alpha = 0.05; cases_per_set = 1; controls_per_set = 5; exposure_prevalence = 0.3; matched_sets = 63; odds_ratio = 3; r_squared_covariates = 0.2 | power = 0.9037 ± 0.00005 |
| PASS 2026 chapter 156, Tests for the Odds Ratio in a Matched Case-Control Design with a Binary X, Example 2, validating Lachin (2011) p. 351 | OR 0.4444, P_E 0.15, R² 0, two controls a case, two-sided 0.05, 85% power => 161 matched sets, as Lachin prints | Sample size | alpha = 0.05; cases_per_set = 1; controls_per_set = 2; exposure_prevalence = 0.15; odds_ratio = 0.4444; power_target = 0.85; r_squared_covariates = 0 | matched_sets = 161 ± 0 |
| PASS 2026 chapter 156, Tests for the Odds Ratio in a Matched Case-Control Design with a Binary X, Example 2 | The same design at 161 sets => power 0.8509 | Power | alpha = 0.05; cases_per_set = 1; controls_per_set = 2; exposure_prevalence = 0.15; matched_sets = 161; odds_ratio = 0.4444; r_squared_covariates = 0 | power = 0.8509 ± 0.00005 |
| Lachin 2011, Biostatistical Methods 2e, Example 7.20 (printed p. 351) | nephropathy and CVD, risk 0.1 against 0.2 (odds ratio 4/9, β −0.811), exposure 0.15 under H0, one case and two controls a set, two-sided 0.05, 85% power => 161 matched sets | Sample size | alpha = 0.05; cases_per_set = 1; controls_per_set = 2; exposure_prevalence = 0.15; odds_ratio = 0.444444; power_target = 0.85; r_squared_covariates = 0 | matched_sets = 161 ± 0 |
| Lachin 2011, Biostatistical Methods 2e, Example 7.20 (printed p. 351) | the same design at 125 sets => power 0.75 (“75% power”; 0.7528) | Power | alpha = 0.05; cases_per_set = 1; controls_per_set = 2; exposure_prevalence = 0.15; matched_sets = 125; odds_ratio = 0.444444; r_squared_covariates = 0 | power = 0.75 ± 0.005 |
Sources
- Lachin JM. Sample size evaluation for a multiply matched case-control study using the score test from a conditional logistic (discrete Cox PH) regression model. Stat Med. 2008;27(14):2509-2523.
- Tang Y. Comments on ‘Sample size evaluation for multiply matched case-control study using the score test from a conditional logistic (discrete Cox PH) regression model’. Stat Med. 2009;28(1):175-177.
- Lachin JM. Biostatistical Methods: The Assessment of Relative Risks. 2nd ed. Wiley; 2011. p. 351.
- NCSS PASS 2026, chapters 156 and 157, Tests for the Odds Ratio in a Matched Case-Control Design with a Binary X / with a Quantitative X.
This page was generated from TriaLab Power Studio 2.0.1's engine, as the method is built, and is published in English only. All methods →