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
Bootstrap Error: Command "_check_dots" unrecoginzedHi All, I'm working on a project and I want to use bootstrapped standard errors. I'm using the oaxa…
T-tests and dummy variablesHi! I'm pretty new to Stata and statistical analyses in general, so sorry in advance if something I…
Heckman selection model with Blinder-Oaxaca DecompositionI am trying to decompose the log wage gap between the non-disabled (DISTYPE = 1) and work-limited di…
How to replace an observations if one date variable is after another date variableHi all, Can anyone please assist with the following problem? I am currently working on a hospital …
First non zero integerHi, I have a sample with 667 variables. I want to replace the observations of variable 3 till varia…
Subscribe to:
Post Comments (Atom)
0 Response to from option - mixlogit command
Post a Comment