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

From |
May Boggess <mboggess@stata.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: marginal effects after TPM-Poisson model (or hurdle model) |

Date |
Thu, 13 Oct 2005 12:26:46 -0500 |

On Thursday morning, Sandra asked two questions about marginal effects:

How I can get the marginal effects of theThe answer to both questions lies in the -predict()- option on -mfx-. It is used to specify the function of which -mfx- will find the slope. It can find the slope of any function that -predict- can calculate after the precedding estimation command. So the key to getting -mfx- to do what you want is understanding what -predict- can calculate and then

second equation?

Is there a way to estimate marginal effects of the

logit equation predicting probabilities?

using the -predict()- option on -mfx- to specify the prediction you need.

Since Sandra is using -ml-, Sandra may find a post I made a week or so ago about using -mfx- after user-written commands helpful:

http://www.stata.com/statalist/archive/2005-10/msg00113.html

--May

mmb@stata.com

*

* 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/

**References**:**st: marginal effects after TPM-Poisson model (or hurdle model)***From:*sgsr100@york.ac.uk

- Prev by Date:
**st: Re: Any easy way to append commands in the review window to current do file?** - Next by Date:
**Re: st: RE: Getting list of current dataset's variables in order** - Previous by thread:
**st: marginal effects after TPM-Poisson model (or hurdle model)** - Next by thread:
**st: RE: Updating a license file under Linux** - Index(es):

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