Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

1
vote
1answer
33 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 ...
0
votes
0answers
12 views

estimation conditional logit

I'm creating a code to estimate a conditional logit model. Comparing with the code that I adjust with the package "mlogit" I get very different coefficients, could you help me determine where I'm ...
1
vote
0answers
67 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 ...
0
votes
0answers
34 views

Accounting for spatial dependence in conditional logistic or GLM paired regression

I am studying the factors that influenced the location of pre-Euro American settlement travel routes. To do this I am using a paired used/available approach. I have points where trails were observed ...
0
votes
0answers
33 views

Estimating price elasticity where prices are determined by online seller

I have a dataset that contains information about purchases of different items at different times with different prices. I want to calculate both price and cross-price elasticity for each item. So in ...
3
votes
0answers
91 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. ...
1
vote
0answers
149 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, ...
0
votes
1answer
210 views

Rstats: 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
194 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
135 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
280 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
243 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
206 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 ...
0
votes
1answer
688 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
2k 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
1answer
256 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). ...
1
vote
0answers
147 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 ...
0
votes
0answers
313 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
282 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
423 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
78 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
1k 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
103 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
439 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
216 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
1k 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
615 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
403 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
493 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 ...
0
votes
1answer
894 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
290 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 ...
0
votes
0answers
180 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
320 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 ...
1
vote
0answers
1k 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
607 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
122 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
426 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
14k 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 ...
1
vote
0answers
349 views

Has anyone written a package in R to calculate diagnostic plots after clogit (conditional logistic regression)? e.g. leverage

Has anyone written a package in R to calculate diagnostic plots after clogit, conditional logistic regression? e.g. leverage. Or ...
14
votes
2answers
2k 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
645 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 (...
4
votes
1answer
7k 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
265 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 ...
2
votes
1answer
340 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
3k 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
379 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
7k 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
464 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 ...