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
Panel VARX questionHello, I have a question about panel VARX model estimation. I am estimating a simple panel VAR mode…
writing a program within a foreach loop in STATA : avoiding error r(1)Hi all, I am trying to run a program to generate bootstrapped indirect effects from an SEM model in…
Changing date formatDear Statalist, I'm trying to change the format of my date variables which is currently a string va…
Different ATT results with outcomes coded as 0,1 and 1,2.Hi all, While running PSM with teffects psmatch in stata, I am getting different ATT when the exposu…
marginal effect not consistent with odd ratioHi. I am trying to examine the likelihood of migrants live in different regions. my reference catego…
Subscribe to:
Post Comments (Atom)
0 Response to from option - mixlogit command
Post a Comment