TriaLab Power Studio · Method
Matched case-control study, quantitative exposure (conditional logistic score test)
Sizes a matched case-control study — N sets of cases and their matched controls — to detect the odds ratio per unit of a quantitative exposure by the score test of a conditional logistic regression (Lachin 2008), from the exposure’s standard deviation, the set’s composition and its 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, quantitative exposure, continuous exposure, odds ratio per unit, dose.
Maturity
Validated: 29 published examples from 2 independent publications (Lachin 2008; 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 per unit 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 ratio of the outcome for two values of the exposure one unit apart — exp(θ) for the exposure’s coefficient θ in the conditional logistic regression. One is no association. - Standard deviation of the exposure (σ_X) (
sd_exposure): a number, above 0; default 1 The spread of the quantitative exposure across all subjects in the study; the odds ratio is per one unit of it. - 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 (29)
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 157, Tests for the Odds Ratio in a Matched Case-Control Design with a Quantitative X, Example 1 | OR 1.5, σ_X 1.3, R² 0.2, one case and 1 control(s) a set, two-sided 0.05, 90% power => 95 matched sets | Sample size | alpha = 0.05; cases_per_set = 1; controls_per_set = 1; odds_ratio = 1.5; power_target = 0.9; r_squared_covariates = 0.2; sd_exposure = 1.3 | matched_sets = 95 ± 0 |
| PASS 2026 chapter 157, Tests for the Odds Ratio in a Matched Case-Control Design with a Quantitative X, Example 1 | The same design at 95 sets => power 0.9014 (four printed decimals) | Power | alpha = 0.05; cases_per_set = 1; controls_per_set = 1; matched_sets = 95; odds_ratio = 1.5; r_squared_covariates = 0.2; sd_exposure = 1.3 | power = 0.9014 ± 0.00005 |
| PASS 2026 chapter 157, Tests for the Odds Ratio in a Matched Case-Control Design with a Quantitative X, Example 1 | OR 1.5, σ_X 1.3, R² 0.2, one case and 2 control(s) a set, two-sided 0.05, 90% power => 71 matched sets | Sample size | alpha = 0.05; cases_per_set = 1; controls_per_set = 2; odds_ratio = 1.5; power_target = 0.9; r_squared_covariates = 0.2; sd_exposure = 1.3 | matched_sets = 71 ± 0 |
| PASS 2026 chapter 157, Tests for the Odds Ratio in a Matched Case-Control Design with a Quantitative X, Example 1 | The same design at 71 sets => power 0.9004 (four printed decimals) | Power | alpha = 0.05; cases_per_set = 1; controls_per_set = 2; matched_sets = 71; odds_ratio = 1.5; r_squared_covariates = 0.2; sd_exposure = 1.3 | power = 0.9004 ± 0.00005 |
| PASS 2026 chapter 157, Tests for the Odds Ratio in a Matched Case-Control Design with a Quantitative X, Example 1 | OR 1.5, σ_X 1.3, R² 0.2, one case and 5 control(s) a set, two-sided 0.05, 90% power => 57 matched sets | Sample size | alpha = 0.05; cases_per_set = 1; controls_per_set = 5; odds_ratio = 1.5; power_target = 0.9; r_squared_covariates = 0.2; sd_exposure = 1.3 | matched_sets = 57 ± 0 |
| PASS 2026 chapter 157, Tests for the Odds Ratio in a Matched Case-Control Design with a Quantitative X, Example 1 | The same design at 57 sets => power 0.9014 (four printed decimals) | Power | alpha = 0.05; cases_per_set = 1; controls_per_set = 5; matched_sets = 57; odds_ratio = 1.5; r_squared_covariates = 0.2; sd_exposure = 1.3 | power = 0.9014 ± 0.00005 |
| PASS 2026 chapter 157, Tests for the Odds Ratio in a Matched Case-Control Design with a Quantitative X, Example 1 | OR 2, σ_X 1.3, R² 0.2, one case and 1 control(s) a set, two-sided 0.05, 90% power => 33 matched sets | Sample size | alpha = 0.05; cases_per_set = 1; controls_per_set = 1; odds_ratio = 2; power_target = 0.9; r_squared_covariates = 0.2; sd_exposure = 1.3 | matched_sets = 33 ± 0 |
| PASS 2026 chapter 157, Tests for the Odds Ratio in a Matched Case-Control Design with a Quantitative X, Example 1 | The same design at 33 sets => power 0.9056 (four printed decimals) | Power | alpha = 0.05; cases_per_set = 1; controls_per_set = 1; matched_sets = 33; odds_ratio = 2; r_squared_covariates = 0.2; sd_exposure = 1.3 | power = 0.9056 ± 0.00005 |
| PASS 2026 chapter 157, Tests for the Odds Ratio in a Matched Case-Control Design with a Quantitative X, Example 1 | OR 2, σ_X 1.3, R² 0.2, one case and 2 control(s) a set, two-sided 0.05, 90% power => 25 matched sets | Sample size | alpha = 0.05; cases_per_set = 1; controls_per_set = 2; odds_ratio = 2; power_target = 0.9; r_squared_covariates = 0.2; sd_exposure = 1.3 | matched_sets = 25 ± 0 |
| PASS 2026 chapter 157, Tests for the Odds Ratio in a Matched Case-Control Design with a Quantitative X, Example 1 | The same design at 25 sets => power 0.9083 (four printed decimals) | Power | alpha = 0.05; cases_per_set = 1; controls_per_set = 2; matched_sets = 25; odds_ratio = 2; r_squared_covariates = 0.2; sd_exposure = 1.3 | power = 0.9083 ± 0.00005 |
| PASS 2026 chapter 157, Tests for the Odds Ratio in a Matched Case-Control Design with a Quantitative X, Example 1 | OR 2, σ_X 1.3, R² 0.2, one case and 5 control(s) a set, two-sided 0.05, 90% power => 20 matched sets | Sample size | alpha = 0.05; cases_per_set = 1; controls_per_set = 5; odds_ratio = 2; power_target = 0.9; r_squared_covariates = 0.2; sd_exposure = 1.3 | matched_sets = 20 ± 0 |
| PASS 2026 chapter 157, Tests for the Odds Ratio in a Matched Case-Control Design with a Quantitative X, Example 1 | The same design at 20 sets => power 0.9083 (four printed decimals) | Power | alpha = 0.05; cases_per_set = 1; controls_per_set = 5; matched_sets = 20; odds_ratio = 2; r_squared_covariates = 0.2; sd_exposure = 1.3 | power = 0.9083 ± 0.00005 |
| PASS 2026 chapter 157, Tests for the Odds Ratio in a Matched Case-Control Design with a Quantitative X, Example 1 | OR 2.5, σ_X 1.3, R² 0.2, one case and 1 control(s) a set, two-sided 0.05, 90% power => 19 matched sets | Sample size | alpha = 0.05; cases_per_set = 1; controls_per_set = 1; odds_ratio = 2.5; power_target = 0.9; r_squared_covariates = 0.2; sd_exposure = 1.3 | matched_sets = 19 ± 0 |
| PASS 2026 chapter 157, Tests for the Odds Ratio in a Matched Case-Control Design with a Quantitative X, Example 1 | The same design at 19 sets => power 0.9072 (four printed decimals) | Power | alpha = 0.05; cases_per_set = 1; controls_per_set = 1; matched_sets = 19; odds_ratio = 2.5; r_squared_covariates = 0.2; sd_exposure = 1.3 | power = 0.9072 ± 0.00005 |
| PASS 2026 chapter 157, Tests for the Odds Ratio in a Matched Case-Control Design with a Quantitative X, Example 1 | OR 2.5, σ_X 1.3, R² 0.2, one case and 2 control(s) a set, two-sided 0.05, 90% power => 14 matched sets | Sample size | alpha = 0.05; cases_per_set = 1; controls_per_set = 2; odds_ratio = 2.5; power_target = 0.9; r_squared_covariates = 0.2; sd_exposure = 1.3 | matched_sets = 14 ± 0 |
| PASS 2026 chapter 157, Tests for the Odds Ratio in a Matched Case-Control Design with a Quantitative X, Example 1 | The same design at 14 sets => power 0.9023 (four printed decimals) | Power | alpha = 0.05; cases_per_set = 1; controls_per_set = 2; matched_sets = 14; odds_ratio = 2.5; r_squared_covariates = 0.2; sd_exposure = 1.3 | power = 0.9023 ± 0.00005 |
| PASS 2026 chapter 157, Tests for the Odds Ratio in a Matched Case-Control Design with a Quantitative X, Example 1 | OR 2.5, σ_X 1.3, R² 0.2, one case and 5 control(s) a set, two-sided 0.05, 90% power => 12 matched sets | Sample size | alpha = 0.05; cases_per_set = 1; controls_per_set = 5; odds_ratio = 2.5; power_target = 0.9; r_squared_covariates = 0.2; sd_exposure = 1.3 | matched_sets = 12 ± 0 |
| PASS 2026 chapter 157, Tests for the Odds Ratio in a Matched Case-Control Design with a Quantitative X, Example 1 | The same design at 12 sets => power 0.9206 (four printed decimals) | Power | alpha = 0.05; cases_per_set = 1; controls_per_set = 5; matched_sets = 12; odds_ratio = 2.5; r_squared_covariates = 0.2; sd_exposure = 1.3 | power = 0.9206 ± 0.00005 |
| PASS 2026 chapter 157, Tests for the Odds Ratio in a Matched Case-Control Design with a Quantitative X, Example 1 | OR 3, σ_X 1.3, R² 0.2, one case and 1 control(s) a set, two-sided 0.05, 90% power => 13 matched sets | Sample size | alpha = 0.05; cases_per_set = 1; controls_per_set = 1; odds_ratio = 3; power_target = 0.9; r_squared_covariates = 0.2; sd_exposure = 1.3 | matched_sets = 13 ± 0 |
| PASS 2026 chapter 157, Tests for the Odds Ratio in a Matched Case-Control Design with a Quantitative X, Example 1 | The same design at 13 sets => power 0.9027 (four printed decimals) | Power | alpha = 0.05; cases_per_set = 1; controls_per_set = 1; matched_sets = 13; odds_ratio = 3; r_squared_covariates = 0.2; sd_exposure = 1.3 | power = 0.9027 ± 0.00005 |
| PASS 2026 chapter 157, Tests for the Odds Ratio in a Matched Case-Control Design with a Quantitative X, Example 1 | OR 3, σ_X 1.3, R² 0.2, one case and 2 control(s) a set, two-sided 0.05, 90% power => 10 matched sets | Sample size | alpha = 0.05; cases_per_set = 1; controls_per_set = 2; odds_ratio = 3; power_target = 0.9; r_squared_covariates = 0.2; sd_exposure = 1.3 | matched_sets = 10 ± 0 |
| PASS 2026 chapter 157, Tests for the Odds Ratio in a Matched Case-Control Design with a Quantitative X, Example 1 | The same design at 10 sets => power 0.9096 (four printed decimals) | Power | alpha = 0.05; cases_per_set = 1; controls_per_set = 2; matched_sets = 10; odds_ratio = 3; r_squared_covariates = 0.2; sd_exposure = 1.3 | power = 0.9096 ± 0.00005 |
| PASS 2026 chapter 157, Tests for the Odds Ratio in a Matched Case-Control Design with a Quantitative X, Example 1 | OR 3, σ_X 1.3, R² 0.2, one case and 5 control(s) a set, two-sided 0.05, 90% power => 8 matched sets | Sample size | alpha = 0.05; cases_per_set = 1; controls_per_set = 5; odds_ratio = 3; power_target = 0.9; r_squared_covariates = 0.2; sd_exposure = 1.3 | matched_sets = 8 ± 0 |
| PASS 2026 chapter 157, Tests for the Odds Ratio in a Matched Case-Control Design with a Quantitative X, Example 1 | The same design at 8 sets => power 0.9096 (four printed decimals) | Power | alpha = 0.05; cases_per_set = 1; controls_per_set = 5; matched_sets = 8; odds_ratio = 3; r_squared_covariates = 0.2; sd_exposure = 1.3 | power = 0.9096 ± 0.00005 |
| PASS 2026 chapter 157, Tests for the Odds Ratio in a Matched Case-Control Design with a Quantitative X, Example 2, validating Lachin (2011) p. 351 | OR 1.4, σ_X 1, R² 0, two controls a case, two-sided 0.05, 85% power => 119 matched sets, as Lachin prints | Sample size | alpha = 0.05; cases_per_set = 1; controls_per_set = 2; odds_ratio = 1.4; power_target = 0.85; r_squared_covariates = 0; sd_exposure = 1 | matched_sets = 119 ± 0 |
| PASS 2026 chapter 157, Tests for the Odds Ratio in a Matched Case-Control Design with a Quantitative X, Example 2 | The same design at 119 sets => power 0.8501 | Power | alpha = 0.05; cases_per_set = 1; controls_per_set = 2; matched_sets = 119; odds_ratio = 1.4; r_squared_covariates = 0; sd_exposure = 1 | power = 0.8501 ± 0.00005 |
| Lachin 2008, Statist. Med. 27:2509–2523, §4.1 (printed p. 2520) | EDIC: 125 cases, two time-matched controls each, odds ratio 1.39 per SD, two-sided 0.05 => power 0.85 (“85 per cent”) | Power | alpha = 0.05; cases_per_set = 1; controls_per_set = 2; matched_sets = 125; odds_ratio = 1.39; r_squared_covariates = 0; sd_exposure = 1 | power = 0.85 ± 0.005 |
| Lachin 2008, Statist. Med. 27:2509–2523, §4.1 (printed p. 2520) | EDIC: 125 cases, two time-matched controls each, odds ratio 1.46 per SD, two-sided 0.05 => power 0.93 (“93 per cent”) | Power | alpha = 0.05; cases_per_set = 1; controls_per_set = 2; matched_sets = 125; odds_ratio = 1.46; r_squared_covariates = 0; sd_exposure = 1 | power = 0.93 ± 0.005 |
| Lachin 2008, Statist. Med. 27:2509–2523, §4.1 (printed p. 2520) | EDIC: the odds ratio per SD that 125 cases with two controls each detect with 85 per cent power, two-sided 0.05 => 1.39 (his equation 27 solved for β) | Detectable effect | alpha = 0.05; cases_per_set = 1; controls_per_set = 2; matched_sets = 125; odds_ratio = 1; power_target = 0.85; r_squared_covariates = 0; sd_exposure = 1 | odds_ratio = 1.39 ± 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 →