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
0answers
26 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 ...
0
votes
0answers
22 views

Structural Break Test for Multinomial or Conditional Logistic Regression - what are the readily avaliable options?

I've been reading alternatives such as this paper for identifying structural breaks, but I was looking for something more readily available for testing and practice -- such as an R package. If someone ...
1
vote
0answers
49 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 ...
0
votes
1answer
56 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 from measurements of certain blood compounds as the main predictors of interest. The ...
1
vote
1answer
167 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 ...
1
vote
0answers
654 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 ...
4
votes
0answers
236 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. ...
3
votes
1answer
683 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, ...
1
vote
1answer
536 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 “...
1
vote
0answers
347 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 (...
1
vote
0answers
259 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 ...
1
vote
0answers
526 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 ...
1
vote
0answers
384 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 ...
1
vote
1answer
530 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 ...
3
votes
1answer
2k 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 ...
0
votes
1answer
4k 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 ...
3
votes
2answers
595 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). ...
2
votes
0answers
225 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 ...
1
vote
0answers
494 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 ...
1
vote
0answers
403 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 ...
1
vote
0answers
506 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 ...
1
vote
0answers
95 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 ...
2
votes
1answer
2k 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 ...
0
votes
0answers
121 views

Why would parameters not be statistically significant in a discrete choice model?

Is there a method to identify why a parameter is not statistically significant at the 5% level in a discrete choice model (also called a conditional logit model)? For those unfamiliar with discrete ...
0
votes
1answer
682 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 ...
1
vote
1answer
372 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 ...
1
vote
2answers
2k 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 ...
1
vote
0answers
835 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, ...
1
vote
1answer
522 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 ...
0
votes
0answers
715 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 ...
1
vote
1answer
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 ...
5
votes
1answer
2k 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 ...
-1
votes
1answer
338 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 ...
1
vote
0answers
226 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)?
1
vote
0answers
425 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 ...
3
votes
0answers
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) ...
3
votes
1answer
721 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 ...
2
votes
0answers
129 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 ...
2
votes
0answers
477 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 ...
2
votes
2answers
16k 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 ...
14
votes
2answers
3k 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 ...
0
votes
0answers
693 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 (...
5
votes
1answer
9k 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 ...
2
votes
1answer
326 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 ...
3
votes
1answer
454 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...
4
votes
1answer
4k views

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 ...
1
vote
1answer
419 views

Simulate data for stratified Cox model

I need to generate simulated data for a conditional logistic regression using R. The code I wrote appears correct, but something is wrong. After generating my ...
3
votes
1answer
9k views

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 ...
2
votes
2answers
2k views

How to obtain AIC with conditional logistic regression using R? [closed]

I am fitting a conditional logistic regression model with 1:4 controls using R. I wish to obtain AIC from the model. How can I ...
3
votes
2answers
872 views

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