Conditional logistic regression: Difference between revisions

Source: Wikipedia, the free encyclopedia.
Content deleted Content added
Task 18 (cosmetic): eval 4 templates: del empty params (4×);
m Added external link
Tags: Reverted Visual edit
Line 39: Line 39:
{{reflist}}
{{reflist}}


== External Links ==


* Weisstein, Eric W. "Conditional Logit Regression." From ''MathWorld''--A Wolfram Web Resource. https://mathworld.wolfram.com/ConditionalLogitRegression.html


[[Category:Logistic regression]]
[[Category:Logistic regression]]

Revision as of 21:12, 17 February 2021

Conditional logistic regression is an extension of

Ross L. Prentice and C. Sabai.[1]
It is the most flexible and general procedure for matched data.

Motivation

Observational studies use stratification or matching as a way to control for confounding. Several tests existed before conditional logistic regression for matched data as shown in related tests. However, they did not allow for the analysis of continuous predictors with arbitrary stratum size. All of those procedures also lack the flexibility of conditional logistic regression and in particular the possibility to control for covariates.

Logistic regression can take into account stratification by having a different constant term for each stratum. Let us denote the label (e.g. case status) of the th observation of the th stratum and the values of the corresponding predictors. Then, the likelihood of one observation is

where is the constant term for the th stratum. While this works satisfactorily for a limited number of strata, pathological behavior occurs when the strata are small. When the strata are pairs, the number of parameters grows with the number of observations (it equals ). The asymptotic results on which maximum likelihood estimation is based on are therefore not valid and the estimation is biased. In fact, it can be shown that the unconditional analysis of matched pair data results in an estimate of the odds ratio which is the square of the correct, conditional one.[2]

Conditional likelihood

The conditional likelihood approach deals with the above pathological behavior by conditioning on the number of cases in each stratum and therefore eliminating the need to estimate the strata parameters. In the case where the strata are pairs, where the first observation is a case and the second is a control, this can be seen as follows

With similar computations, the conditional likelihood of a stratum of size , with the first observations being the cases, is

where is the set of all subsets of size of the set .

The full conditional log likelihood is then simply the sum of the log likelihoods for each stratum. The estimator is then defined as the that maximizes the conditional log likelihood.

Implementation

Conditional logistic regression is available in R as the function clogit in the survival package. It is in the survival package because the log likelihood of a conditional logistic model is the same as the log likelihood of a Cox model with a particular data structure.[3]

Related tests

  • Paired difference test allows to test the association between a binary outcome and a continuous predictor while taking into account pairing.
  • Cochran-Mantel-Haenszel test allows to test the association between a binary outcome and a binary predictor while taking into account stratification with arbitrary strata size. When its conditions of application are verified, it is identical to the conditional logistic regression score test.[4]

Notes

  1. .
  2. ^ Breslow, N.E.; Day, N.E. (1980). Statistical Methods in Cancer Research. Volume 1-The Analysis of Case-Control Studies. Lyon, France: IARC. pp. 249–251. Archived from the original on 2016-12-26. Retrieved 2016-11-04.
  3. ^ Lumley, Thomas. "R documentation Conditional logistic regression". Retrieved November 3, 2016.
  4. doi:10.2307/2530253.{{cite journal}}: CS1 maint: multiple names: authors list (link
    )

External Links