Questions tagged [clogit]

"clogit" is conditional (fixed-effects) logistic regression. It is also the command in R and Stata. The model is used for matched data, longitudinal data, panel data or repeated measures, with an individual intercept for each cluster (or subject).

54 questions
16
votes
2 answers

Relationship between McNemar's test and conditional logistic regression

I am interested in the modeling of binary response data in paired observations. We aim to make inference about the effectiveness of a pre-post intervention in a group, potentially adjusting for several covariates and determining whether there is…
AdamO
  • 52,330
  • 5
  • 104
  • 209
15
votes
3 answers

R package for fixed-effect logistic regression

I'm looking for an R package for estimating the coefficients of logit models with individual fixed-effect (individual intercept) using Chamberlain's 1980 estimator. It is often known as Chamberlain's fixed-effect logit estimator. It's a classic…
Kamixave
  • 159
  • 1
  • 1
  • 4
6
votes
1 answer

Conditional logistic regression vs GLMM in R

I have paired data (GWAS case/control study) and I have heard using conditional logistic regression or generalized linear mixed models (GLMM) is appropriate. Which should I use in this case? Why would you use one over the other. More importantly can…
bdeonovic
  • 8,507
  • 1
  • 24
  • 49
5
votes
1 answer

Is conditional logit a specific form of GLM? And what are its specificities?

Background: For a project, I am fitting a conditional logit model where I have 5 control cases for every realized case. To do that I use the clogit() function in the package survival. I wanted to graph interactions with the effects package by John…
Antoine Vernet
  • 1,334
  • 16
  • 24
5
votes
2 answers

How does clogit() (in R) handle incomplete strata?

I am running conditional logistic regression in R using clogit(). I have 314 different strata with 1 case and 1 control in each stratum (628 observations in total). Several predictor variables have missing values, therefore 6 observations are…
Olga Dem
  • 51
  • 1
5
votes
1 answer

Can you have a conditional logit without fixed effects or a simple logit with conditional probabilities?

We have a set of agents that must choose one and only one alternative out of a large number of them (max # of alternatives = 120). Agents take the decision several times, without replacement of the alternatives chosen in the earlier iterations (So…
GGX
  • 106
  • 6
4
votes
2 answers

Queries on conditional logistic regression

Could anyone kindly provide an explanation (mathematically or non-mathematically) about the non-existence of the intercept term in conditional logistic regression? Is the interpretation of the coefficients similar to that of (unconditional) logistic…
user2264
4
votes
0 answers

Using Random Forests for modeling discrete choice problems

I am trying to model a discrete choice scenario in which (i) the explanatory variables are both individual- and alternative-specific, and (ii) the number of alternatives varies between individuals. For example, in the subset below, there are three…
4
votes
1 answer

MLE for the conditional logit model seems to have awful precision?

I'm simulating the data underlying a conditional logit model then doing my own MLE estimation using optim. However, even with an unreasonably large amount of data, the estimator seems to have awful precision. Is this expected, or I am making…
Heisenberg
  • 4,239
  • 3
  • 23
  • 54
4
votes
0 answers

Interpretation of clogit coefficients (Survival package in R)

Still very very new to R! I've run a conjoint (choice) experiment that uses the function clogit. Output as follows: (this model has been obtained through stepwise methods) clogout3a <- clogit(RES ~ ASC + Tasmania + Import + Price + strata(STR),data…
Eleanor
  • 41
  • 2
3
votes
1 answer

How to decide between a logistic regression or conditional logistic regression?

I have a case-control study in which the cases are firms with health insurance and the controls are firms with no health insurance. I am studying the factors affecting enrolment in health insurance and was therefore using a logistic regression,…
Sarah
  • 451
  • 1
  • 6
  • 16
3
votes
1 answer

Conditional analysis vs conditional logistic regression

What is the difference between "conditional analysis" and "conditional logistic regression"? It is also really hard to find out an easy example of that "conditional" means in this case...
eXpander
  • 524
  • 1
  • 6
  • 15
3
votes
2 answers

predict functions after clogit in R using survival package

I have difficulties understanding the different types of prediction after running survival::clogit in R. I do not think this is due to author's fault, but mainly due to my limited understanding of statistics. So, I wish someone can enlighten me how…
KIM
  • 31
  • 4
3
votes
1 answer

Case-crossover method with conditional logistic regression for poisson model generated data

I would like to run a semi-symmetric bi-directional case-crossover method on some generated data using conditional logistic regression. I generated data from Poisson distribution Poiss(lambda) with $\textrm{log}(\lambda)=\lambda_0…
2
votes
0 answers

Conditional FE Binomial Logit Models (Stata)

I have individual panel-level data and am using conditional binomial fe logit regressions to estimate the effect of minimum wage on Employment. 1) When I try to include year dummies most of them are excluded due to multicollinearity. I have tried…
user40908
  • 53
  • 5
1
2 3 4