Skip to main content

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).

Filter by
Sorted by
Tagged with
1 vote
1 answer
37 views

Clogit and no variation in strata

Suppose that I want to identify a causal effect with panel data. The dependent variable is dichotomous so I use a conditional logit with survival::clogit in R, with ...
Jasper's user avatar
  • 17
3 votes
2 answers
105 views

Retrospective cohort study with case:control matching 1:5. Is clogit really appropriate?

I study school grades in children with brain tumors (=cases), using databases. Every case in the database has five healthy controls, matched on sex, birth year and residency. The hypothesis is that ...
Gus Hell's user avatar
1 vote
0 answers
40 views

How to identify influential observations in a conditional logistic regression (clogit) model in R?

I have fitted a conditional logistic regression model using the clogit() function from the survival package in R, and I would like to identify the influential observations in my dataset. I have tried ...
user2055229's user avatar
0 votes
1 answer
128 views

Can I specify a random intercept in a conditional logit model?

In conditional logit models, global intercepts cannot be estimated as they do not influence the conditional probability of a positive outcome within groups. I understand the intercept term gets ...
Olifa's user avatar
  • 1
1 vote
0 answers
118 views

Can I use a conditional logit for fixed effects (Chamberlain, 1980) if my assumptions are that the errors are normally distributed?

Consider that we have a dichotomous variable $D_{i,t}$ that takes the value of 1 if $Y_{i,t}\geq 0$ and 0 otherwise. And $Y_{i,t}$ is a latent variable defined by: $Y_{i,t} = \eta_{i} + \sum\limits_{k\...
Alejandro Hirmas's user avatar
0 votes
2 answers
266 views

Is there a statistical software package for the generalized conditional/multinomial logit model?

I have a discrete choice model of moving from one state to the other, so alternatives=states. I have case-specific variables such as income, race, and gender. In addition, I have moving distance ...
2 votes
0 answers
42 views

Mixed effects versus conditional models for paired analyses

In this CV post I address briefly models for binary dependent data and how they might be used in a paired analysis. Stratification McNemar Test in R It occurred to me: I hadn't previously considered ...
AdamO's user avatar
  • 63.2k
1 vote
0 answers
48 views

Does the coefficient from regressing a binary variable on a binary outcome only show the effect of when that binary variable is true?

I have a conditional fixed effects logistic regression of parental health shocks (0 if no shock, 1 if health shock) and clinically problematic child development (0 if no development problems in the ...
John's user avatar
  • 95
1 vote
0 answers
237 views

Finding best conditional logistic regression model with unbalanced strata

I am interested in fitting the best possible model for the case of conditional logistic regression where the strata are unbalanced. Although I have not seen it specified, but I understand that there ...
Mik meadow's user avatar
1 vote
1 answer
125 views

Unusual distribution of predictors in conditional logistic regression

I'm using conditional logistic regression to model the case-control status of a disease with measurements of certain blood compounds as the main predictors of interest. The objective is to find those ...
Joe's user avatar
  • 204
1 vote
1 answer
499 views

Conditional logit or multinomial logit?

I have the following problem I need to use a discrete choice model to determine the time values (VOT) of 3 transport alternatives (car, bus and train). Looking at the literature of the discrete choice ...
lampard811's user avatar
1 vote
0 answers
2k views

NA coefficients produced by clogit model

I am trying to run a conditional logistic regression using clogit() from the survival package. The binary response variable is ...
Joe's user avatar
  • 204
5 votes
0 answers
463 views

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. ...
Brian Blackwell's user avatar
4 votes
1 answer
2k views

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, ...
Heisenberg's user avatar
  • 4,600
1 vote
1 answer
976 views

From Discrete choice to Conjoint utilities

I'm having trouble figuring out how to correctly calculate conjoint part-worth-utility from a discrete choice experiment. I have recently run a pilot study to analyse in R where I used the packages “...
Braitaq's user avatar
  • 13
1 vote
0 answers
540 views

Bootstrap analysis from a conditional logistic regression

How can I perform a bootstrap analysis from a conditional logistic regression? The model has been built using the clogit function (...
Nell's user avatar
  • 133
1 vote
0 answers
382 views

Error with clogit function in R

I am using the clogit function for the matched data with the disease-outcome and categorical predictor. However R returns message "X matrix deemed to be singular;" I saw posts where similar ...
Oleg's user avatar
  • 661
1 vote
0 answers
763 views

Using categorical variable in Conditional Logistic Regression

I have a set of data with lots of events and I want to try and predict the outcome of the event. I have built a basic conditional logistic regression model but I want to add categorical variables ...
MidnightDataGeek's user avatar
1 vote
0 answers
442 views

Conditional Logit in a Panel Data setting with varying alternatives over waves

I am working on a panel data setting and this data is on cigarette smoking behavior of individuals. I am specifically focusing on two variables - the brand name of the cigarette that the individual ...
Arkadeep Bandyopadhyay's user avatar
1 vote
1 answer
1k views

Is there any implication of a large log-likelihood value?

I have estimated a discrete choice model using the MLE procedure and got a very large log-likelihood value (log-likelihood: -236018.2). Is there any implication to the result? [edit] I have 4300 ...
Sudas's user avatar
  • 43
3 votes
2 answers
3k views

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 ...
KIM's user avatar
  • 31
0 votes
1 answer
6k views

LOGIT Regression with multiple fixed effects - STATA

For my thesis I am using as dependent variable the fraction of cash as part of the total price offered by the bidder. So, it's a fractional response that lies between [0,1]. I am not sure which ...
Helen Owen's user avatar
6 votes
2 answers
2k views

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). ...
Olga Dem's user avatar
2 votes
0 answers
341 views

Clogit wtp interpretation

I have performed a clogit with the package survival in R. The aim the work was to estimate the willingness to pay from a discrete choice model. The choice set was composed of 4 attributes, 3 of them ...
thilla's user avatar
  • 21
1 vote
0 answers
663 views

matched cohort with 1:n pairs - correct stratified logistic model

In this hypothetical example we have access to a database. In it cases are people with children and controls are those without kids. We want to measure the association between having children and Lung ...
lukeg's user avatar
  • 421
1 vote
0 answers
519 views

How to determine variable type for a multinomial conditional logit model?

To give some background I am working to replicate a study using R where a multinomial conditional logit model was used to estimate the likelihood a college football recruit would attend a specific ...
AndrewC's user avatar
  • 111
1 vote
0 answers
681 views

What is the difference between conditional logit fixed effect model and logit model?

I have a binary dependent variable and about 10 covariates. My dependent variable is whether a child under 5 years of age has ARI or not. I am using a DHS survey for data. Most other papers use simple ...
Shayan Khan's user avatar
1 vote
0 answers
110 views

Utility partworths from dicrete choice experiments

Is it possible to estimate utility partworths from a discrete choice experiment (DCE)? For example, if you construct a DCE using the R package support.CEs and ...
k-zar's user avatar
  • 315
2 votes
1 answer
4k views

How do I model a conditional logistic model with varying choice set in R

I have a dataset, where individuals ( no repetition of individuals in the data) face different choice sets. I wanted to model the individuals choice using the mlogit function in R. All the examples on ...
tjt's user avatar
  • 827
0 votes
1 answer
1k views

What is the best way to select variables for clogit model?

I am doing clogit model (clogit of survival package) with around 150 independent variables which are highly correlated. I have to select the combinations of the variables so that the model will be the ...
Vish's user avatar
  • 13
1 vote
1 answer
638 views

Which is the best criterion for comparing two conditional logit regressions with different variables?

Suppose we have two conditional logit models as below: Model-1: clogit(win~x1+x2+x3+x4+x5+strata(stratum)) Model-2: clogit(win~x6+x7+x8+strata(stratum)) I am ...
Vish's user avatar
  • 13
1 vote
2 answers
3k views

interaction term in conditional logistic regression

I would like to do a gene x environment interaction analysis in a matched (1-1) case control samples. I referred all related previous publications and in most of the papers authors used either STATA ...
Veera's user avatar
  • 549
1 vote
0 answers
1k views

Conditional logistic regression or GEE in PS matched study

My situation: In a cohort study, I'm trying to find the correlation between outcome & Tx (Arm A vs Arm B). However, baseline covariates are unbalance between different treatment groups. Hence, ...
Hsuan Su's user avatar
1 vote
1 answer
696 views

Results from logit model using BIOGEME unexpected

I am using BIOGEME to estimate the discrete choice model (choice is made among four alternative routes). I am having hard time with modeling using BIOGEME, and expecting help on this. I have dataset ...
Droko's user avatar
  • 43
0 votes
0 answers
997 views

How do we calculate the path size (PS) for Path Size Logit Model?

I am using Multinomial Logit model for the discrete choice analysis, in which user chooses a route among other available paths. This is intended to determine the utility of those routes. As these ...
Droko's user avatar
  • 43
2 votes
1 answer
2k views

clogit in R: original variable or demeaned?

Conditional logistic regression is a fixed effects model. If you're modeling the dependent variable $y$, a glm fixed effect model doesn't actually model $y$. Instead, the glm fixed effect models ...
jeffalstott's user avatar
5 votes
1 answer
3k views

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 ...
GGX's user avatar
  • 106
-1 votes
1 answer
398 views

Do probabilities need to sum to 1 in a choice model? [closed]

We're create a discrete choice model, in which there are more than two alternative choices. There are some options for this, such as the multinomial logit and the conditional logit.. We started with ...
jeffalstott's user avatar
1 vote
0 answers
246 views

Feasible Multinomial Logit with large number of fixed effects

Is there a way to run something similar to a multinomial logit model with a large number of fixed effects that converges in a reasonable amount of time (I am using Stata)?
carrotcake's user avatar
1 vote
0 answers
511 views

Interpreting Odds Ratios for Natural Log transformed Variables

For those who are using Stata the following command clogit Y X,or would produce the odds ratio from the Conditional logistic regression which is the change in the ...
Marko's user avatar
  • 11
4 votes
0 answers
2k views

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) ...
Eleanor's user avatar
  • 41
4 votes
1 answer
905 views

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 ...
kuba's user avatar
  • 181
2 votes
0 answers
137 views

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 ...
user40908's user avatar
2 votes
0 answers
596 views

Conditional Logistic Regression, Rare Events and R

I have a panel data set organized around 35 provincial units, with 110 binary "positive" outcomes in the dependent variable. This is for about 2600 observations in that data set. I have a couple ...
chilland's user avatar
3 votes
2 answers
17k views

How to conduct a multilevel (hierarchical) binary logistic regression (in SPSS, R, or other software)?

I have a model with occurrence of a disease represented by a binary dependent variable (DV) and 8 independent variables (IVs) at different levels. I need to create a multi-level model, in which the ...
Vic's user avatar
  • 1,363
16 votes
2 answers
4k views

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 ...
AdamO's user avatar
  • 63.2k
0 votes
0 answers
767 views

Less significant findings using conditional logistic regression

I used regular logistic regression on my dataset and got a few significant hits. However, since the data is 1:1 case-control matched data I decided to try using conditional logistic regression (...
bdeonovic's user avatar
  • 10.1k
6 votes
1 answer
11k views

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 ...
bdeonovic's user avatar
  • 10.1k
2 votes
1 answer
447 views

What value is conditional logistic regression if two cohorts are already matched on everything of interest?

My situation is this: I am comparing two cohorts I have matched the two cohorts on all of the factors that I am interested in The two cohorts are already balanced on all of the factors that I would ...
tylcole's user avatar
  • 35
3 votes
1 answer
564 views

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's user avatar
  • 574