Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down at the end of May, and its replacement, **statalist.org** is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
Richard Williams <richardwilliams.ndu@gmail.com> |

To |
statalist@hsphsun2.harvard.edu, "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |

Subject |
Re: st: Obtaining predictions with margeff & gologit2 |

Date |
Sun, 21 Apr 2013 10:37:07 -0500 |

webuse nhanes2f,clear gologit2 health age black orace margins, at(black = 0 orace=0) predict(outcome(#1)) margins, at(black = 0 orace=0) predict(outcome(#2)) margins, at(black = 0 orace=0) predict(outcome(#3)) margins, at(black = 0 orace=0) predict(outcome(#4)) margins, at(black = 0 orace=0) predict(outcome(#5))

At 01:20 PM 4/19/2013, Tiainen Ossi wrote:

Hello,I'm using the gologit2 generalized logistic regression/ partialproportional odds model for ordinal dependent variables. Thedependent variable describes firm size and is a categorical variablewith three groups, small, medium and large. Independent variablesare three dummies that describe categorical firm types + somecontrol variables.I used margeff to get the average marginal effect coefficients (seeoutput below), but i'm having difficulties in understanding how Icould get the predicted probabilities for the three dummies in aconvenient way. For mlogit the 'margins' command gives theprobabilities directly, so is there some way to obtain them withgologit2 or must I use the predict command and calculate theprobabilities by hand for each dummy?If I use predict, how can I get the base probability level that thethree coefficients below are compared to? What about if I usemarginal effects at mean instead of average marginal effects?Thank you for your assistance in advance! Best regards, Ossi Tiainen . margeff, dummies(Iprsv* \ Ipscl* \ Icountry* \ Inace*) Average partial effects after gologit2 y =3D Pr(size04) --------------------------------------------------------------------------------variable | Coef. Std. Err. z P>|z| [95% Conf.Interval=]---------------+-----------------------------------------------------------------------+---=----- Small | Iprsvinn_1 | -.1368403 .0136474 -10.03 0.000 -.1635887 -.1100918 Iprsvinn_2 | -.0130166 .0185622 -0.70 0.483 -.0493979 .0233646 Iprsvinn_3 | -.0665578 .0193864 -3.43 0.001 -.1045544 -.0285611 * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/

------------------------------------------- Richard Williams, Notre Dame Dept of Sociology OFFICE: (574)631-6668, (574)631-6463 HOME: (574)289-5227 EMAIL: Richard.A.Williams.5@ND.Edu WWW: http://www.nd.edu/~rwilliam * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/

**References**:**st: Obtaining predictions with margeff & gologit2***From:*Tiainen Ossi <ossi.tiainen@aalto.fi>

- Prev by Date:
**Re: st: Re: "Meta-analysis" of Proportions** - Next by Date:
**st: -scdensity- update available from SSC** - Previous by thread:
**st: Obtaining predictions with margeff & gologit2** - Next by thread:
**st: Identify group id in the random coefficient model** - Index(es):