Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Problems with calculating marginal effects for categorical variables in ologit models


From   "Joao Ricardo F. Lima" <[email protected]>
To   [email protected]
Subject   Re: st: Problems with calculating marginal effects for categorical variables in ologit models
Date   Tue, 22 Apr 2008 08:27:52 -0300

Manuel,

us your margeff updated?

You write..."His suggestion is to use the following command:
> Margeff, dummies (B *)
> where D are all dummies for which you want to calculate the marginal
> effects."

are dummies B or D?

I'm using margeff after ologit and it works fine. Try to write the
name of your dummies.

ologit vardep vars
margeff, at (mean) dummies(name_dummy1)

Best

Joao Lima


2008/4/22, [email protected] <[email protected]>:
> Dear users,
>
> My question is following one: I do not know how to calculate average
> marginal effects (AME) for categorical variables with more than two
> categories?
> In my ordered logit model, I have a dependent variable with 4 categories and
> 5 categorical explanatory variables, 3 of them with more than two
> categories. I tried to implement the method of Tam�s Bartus which is
> decribed in his article "Estimation of marginal effects using margeff"
> (2005). His suggestion is to use the following command:
> Margeff, dummies (B *)
> where D are all dummies for which you want to calculate the marginal
> effects.
> The problem is that by trying to do this I got the following error: "[_cut1]
> not found" r(111)
>
> I would appreciate very much any suggestions.
>
> *
> *   For searches and help try:
> *   http://www.stata.com/support/faqs/res/findit.html
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>


-- 
-------------------------------
Joao Ricardo Lima
Professor
UFPB-CCA-DCFS
+553138923914
-------------------------------

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index