Hello all!
I am trying to run a mixlogit with a specific restriction on the Standard Deviation of one of my variales, code looks like:
constraint define 1 [SD]Xc = 0
mixlogit Y X1 … Price, rand(Price) constraint(1) ln(1)
And from here I get the error message "When constrainsts are specified it is compilsory to supply starting values using the from option"
From this I understand that I have to basically provide starting values for the betas ... but I would need some help as to how to do that. Do I run a previous model, save the results and somehow command them into the from option? I have seen that you specify values from the matrix of covariates, but I am a bit at loss as to how to do that.
I appreciate the help,
Michael
Related Posts with from option - mixlogit command
Item Exploratory Factor Analysis - results changing when code is rerunI have a sample of N = 401 individuals who completed a self-report measure on mobile-use dependency.…
Creating ID groupHi, I have panel data comprising companies and employees. The companies have existing IDs, but I nee…
How can I create a graph for a subset of countries (with legend)?Hello, I have the data below. I would like to now how can I create a graph with the evolution of th…
Renaming similar observations in one datasetHello all, first post and very new to STATA! I would appreciate some help with renaming observation…
bar chart with multiple comparisons.hello, I am trying to create a bar graph that shows the distribution in terms of frequency of differ…
Subscribe to:
Post Comments (Atom)
0 Response to from option - mixlogit command
Post a Comment