Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
1 answer
135 views

My data are in the data df: data <- structure(list(personID = c(1L, 1L, 1L, 2L, 2L, 2L, 3L, 3L, 3L), problem = c(1L, 2L, 3L, 1L, 2L, 3L, 1L, 2L, 3L), choice = c("Right", ...
user_xyz's user avatar
0 votes
1 answer
101 views

I want to simulate a Discrete-Choice/Multinomial model. Consider the situation where I have 100 people each with four choices (1 = air, 2 = bus, 3 = car, 4 = train). There is a baseline preference ...
0 votes
0 answers
16 views

I'm using mlogit to run a multinomial logistic regression on a DV with 3 levels (alternatives, corresponding to direction of saccades in an eyetracking study: 1. different 2. dir. no saccade 3. same ...
1 vote
0 answers
70 views

I am currently trying to run a mixed logit model using the gmnl() function from the gmnl package in R. However, I keep encountering an error related to the random variables. The error message is: &...
0 votes
0 answers
66 views

I am using the mlogit function from the mlogit package on R to run a multinomial logit regression. When I added an interaction term for a pair of individual-specific variables, the mlogit result didn'...
Moe Izawa's user avatar
1 vote
0 answers
74 views

I am trying to estimate a simple multinomial logit model. The utility of a product is given by: U_{ij}=\beta⋅price_{ij}​+fixed_effect_j​+ε_{ij}. I have data which contains the choices made by ...
1 vote
0 answers
38 views

FYI: modelQ2_1 is a mixed logit model #Edited - Sorry for not providing the staging ground to reproduce the problem. library(mlogit) library(dfidx) data("Electricity", package = "mlogit&...
Alex Chua's user avatar
0 votes
0 answers
79 views

I have estimated a Multinomial Logit (MNL) Model using mlogit() from the R package mlogit: df_long<- mlogit::mlogit.data(data = df_wide, choice = "vote", shape = "wide") ...
0 votes
1 answer
96 views

I am trying to visualise coefficient estimates, produced by a glmnet multinomial model, using coefplot. I know, at least, the implementation of coefplot in Stata supports plotting multinomial model ...
1 vote
0 answers
21 views

I'm researcher in economic analysis of green infrastructure. I tried to use r package 'logitr' for estimating wtp of garden and green area. but I couldn't get a clear results of z-value. model fitting ...
MiAe Jeong's user avatar
1 vote
1 answer
273 views

I have 2 approaches to calculate my marginal effects. The first model is the following model1 <- feglm( FTAs ~ log(dist) + log(gdp_d) + ..., family = binomial(link =...
2 votes
0 answers
131 views

I'm currently working on a research project and facing some challenges with WTP (Willingness to Pay) calculation using R. I would greatly appreciate any guidance or insights you could provide. I ...
0 votes
1 answer
85 views

I have a dataset of observed choices (N = 26 alternatives) and a corresponding range of predictor variables. The data have been split into training and test subsets, Data_Train and Data_Test. I have ...
1 vote
0 answers
263 views

I am fitting a conditional logit model in R and want to compute the average marginal effect of a binary predictor (wait_long: 1 if wait time is >= 30). How should I do it? Any thoughts are welcome (...
0 votes
1 answer
169 views

I have travel data consisting of a person selecting a specific mode of transport (e.g., Car) over other options (e.g., Bus, Plane, and Train) and paying a certain price for the distance he travelled. ...

15 30 50 per page
1
2 3 4 5
...
19

AltStyle によって変換されたページ (->オリジナル) /