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

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

From |
Tirthankar Chakravarty <tirthankar.chakravarty@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: Marginal effect at each category of dependent variable after ologit using margins command |

Date |
Fri, 26 Aug 2011 23:05:26 -0700 |

Note that by default -margins- computes the average marginal effects, and -mfx- computes marginal effect at the means of the covariates. Here are the equivalent commands: /*******************************/ webuse fullauto, clear ologit rep77 foreign length mpg mfx, predict(outcome(1)) ologit rep77 i.foreign length mpg margins, dydx(*) atmeans predict(outcome(1)) /*******************************/ T On Fri, Aug 26, 2011 at 9:30 PM, Urmi Bhattacharya <ub3@indiana.edu> wrote: > Dear Statalisters, > > I am using Stata, version 11.2 on Mac. I am estimating the following > ordered logit > > ologit test_math_score child_female age icompl_grade logmpc urban > father_edu mother_edu scstobs other_caste muslim num_mixedgrade_s > > After that, I am interested in the marginal effect of the explanatory > variables on the probability of each category of the dependent > variable test_math_score ( It has 4 categories). > > As instructed in Cameron and Trivedi ( Microeconometrics using Stata), > I do the following: > > mfx, predict (outcome(1)) > > This gives me the marginal effect of the explanatory variables on the > probability of test_math_score =1 > > But how do I do the same thing using the margins command? > > Any suggestions would be helpful. > > Best > > Urmi Bhattacharya > * > * 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/ > -- Tirthankar Chakravarty tchakravarty@ucsd.edu tirthankar.chakravarty@gmail.com * * 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/

**Follow-Ups**:**Re: st: Marginal effect at each category of dependent variable after ologit using margins command***From:*Urmi Bhattacharya <ub3@indiana.edu>

**References**:**st: Marginal effect at each category of dependent variable after ologit using margins command***From:*Urmi Bhattacharya <ub3@indiana.edu>

- Prev by Date:
**Re: st: Identify a Panel Structure with Incoherent ID and NAME Variable** - Next by Date:
**st: Testing the difference between coefficients with interaction variables** - Previous by thread:
**st: Marginal effect at each category of dependent variable after ologit using margins command** - Next by thread:
**Re: st: Marginal effect at each category of dependent variable after ologit using margins command** - Index(es):