Dear all,
I am encountering a convergence problem with the 'mixlogit' command (written by Arne Risa Hole), using STATA 16.0 for windows.
I performed a discrete choice experiment with 5 attributes (specified random, hereafter regrouped under $att) + price (fixed). I also included an ASC (specified random). My dataset contains 5,373 observations. I am using 1,000 Halton draws for estimation:
mixlogit chosen price, rand(ASC $att) group(HHID_card) id(HHID) nrep(1000)
eststo model1, title("MXL")
matrix b=e(b)
When I run this command, I obtain results after 12 iterations and quite rapidly (10 min).
Now, I would like to use the mixlogit command while allowing for full covariance, using the ‘corr’ option (and with starting values obtained from the mixed logit model without correlation, like described by Professor Hole here: http://www.timberlake.co.uk/media/pd.../uk13_hole.pdf):
matrix start = b[1,1..15],0,0,0,0,0,0,0,0,0,0,0,0,b[1,16],0,0,0,0,0,0,0,0,0,0,0,b[1,17],0,0,0,0,0,0,0,0,0,0,b[1,18],0,0,0,0,0,0,0,0,0,b[1,19],0,0,0,0,0,0,0,0,b[1,20],0,0,0,0,0,0,0,b[1,21],0,0,0,0,0,0,b[1,22],0,0,0,0,0,b[1,23],0,0,0,0,b[1,24],0,0,0,b[1,25],0,0,b[1,26],0,b[1,27]
mixlogit chosen price, rand(ASC $att) group(HHID_card) id(HHID) nrep(1000) corr from(start,copy)
eststo model2, title("MXL corr")
The estimation is not converging, even after over 48 hours and over 150 iterations.
Does anyone have an idea how I could solve this issue?
Many thanks in advance,
Laura
Related Posts with Mixlogit with 'corr' option: convergence issue
Probit: comparing effects between dummy variablesHi all, first of all: sorry if my description of the problem is not "on point" - my main problem is…
Adding new rows to the dataset to create conversation turnsHello! I am working on a text mining project that requires input text to be in a specific format. T…
How to adjust weights when combining multiple survey data?Dear all, I am currently trying to estimate a model using WLS using a survey data for multiple peri…
Goodness-of-fit and mediation analysis in GSEMHi, all I am hoping for some insights into an appropriate independent goodness-of-fit test for GSEM…
Faults and Hiccups in the programThe week code is incorrect, and the week starts on Wednesday instead of Monday, which has persisted …
Subscribe to:
Post Comments (Atom)
0 Response to Mixlogit with 'corr' option: convergence issue
Post a Comment