Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: MIXLPRED: marginal effects after-MIXLOGIT-
From
nagi kayo <[email protected]>
To
<[email protected]>
Subject
st: MIXLPRED: marginal effects after-MIXLOGIT-
Date
Wed, 29 Feb 2012 17:31:09 +0900
Dear Professor Arne Risa Hole and all
I read the thread Professor Hole kindly wrote on "Mon, 6 Feb. 2012 13:18:34" about calculating marginal effects after -mixlogit- and tried to calculate marginal effects using the following commands. in my estimation model, the number of alternatives is four, and "inc" is a demographic variable, and "price" is an alternative specific variable.
mixlogit d d1inc d2inc d3inc, group(id) rand(price)
mixlpred pred_base
replace d1inc=d1inc+1
replace d2inc=d2inc+1
replace d3inc=d3inc+1
replace d4inc=d4inc+1
mixlpred pred_inc
however, unexpectedly, "pred_inc" is quite similar to "pred_base," and thus the difference between the two is almost zero, which means that the marginal effect of income is almost zero.
although i also tried the other explanatory variables, the results are not changed (in all cases, marginal effects are almost zero).
is my calculation of predicted probabilities wrong?
i greatly appreciate it if you would give me your advice.
with best wishes,
Kayo
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/