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]
Re: st: Using gllapred to get marginal effects for explanatory variables
From
Wei Zhang <[email protected]>
To
[email protected]
Subject
Re: st: Using gllapred to get marginal effects for explanatory variables
Date
Fri, 11 May 2012 11:45:07 -0400
Dear Stata users,
Thanks to one Stata user's kind suggestion, I think I should rephrase
my question regarding using gllapred to get marginal effects of
explanatory variables.
I have used gllamm to estimate an ordered probit model for panel data.
My dependent variable is level of pest infestation level ranking from
1 to 5:
gllamm y x1 x2 x3 x4 x5 x6 ..... , link(oprobit) i(id)
I am now trying to get marginal effects for the explanatory variables
similar to those reported in mfx/margins. I have tried "gllapred me,
mu marg above(1)", but it didn't seem to work. Could you please
provide some thoughts?
Thank you very much.
Wei Zhang
IFPRI
On Wed, May 9, 2012 at 10:49 PM, Wei Zhang <[email protected]> wrote:
>
> Dear Stata users,
>
> I have used gllamm to estimate an ordered probit model for panel data and
> am now trying to get marginal effects for the explanatory variables. I have
> read some previous posts about this topic and tried gllapred as some folks
> have suggested:
>
> gllapred m1, mu marg above(1)
>
> However, STATA told me that mu was stored in m1, but I am not sure I got any
> marginal effects. I also didn't see an option via which we could specify
> the explanatory variables for which I need marginal effect.
>
> If I have to calculate marginal effects manually, which output from
> gllapred is useful?
>
> Thanks very much. I would really appreciate your help.
>
> Wei Zhang
> IFPRI
> *
> * 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/
*
* 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/