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
Statistical Significance using Burgstahler & Dichev (1997)Hi I want to apply the methodology of Burgstahler & Dichev (1997) to calculate the statistical s…
Non-linear hypotheses testing with a GSEMHello, I'm having trouble with the testnl command after a GSEM model. Specifically, my problem is th…
Merging two data sets using joinby but with capitol and lower case differencesDear Statalisters, I need some help because I am trying to merge two databases using Code: joinby…
Generate a new variable by deleting everything after certain character ("/") Code: * Example generated by -dataex-. To install: ssc install dataex clear input str28 country "U…
Strategy to choose the right controls? Conceptual questionsHello, I have a problem with chosing the right controls for my model and hope someone can help me a…
Subscribe to:
Post Comments (Atom)
0 Response to from option - mixlogit command
Post a Comment