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 |
Lloyd Dumont <lloyddumont@yahoo.com> |

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

Subject |
st: multiple sets of margins on one marginsplot? |

Date |
Mon, 3 Oct 2011 09:07:04 -0700 (PDT) |

Hello, everyone. I have been working with -margins- and -marginsplot- , both of which I am quite impressed with. One thing that I do not see mentioned in the documentation (or in the Statalist archives) is this� Let's say I am running separate logits on 5 binary variables. However, the same set of predictors is used across all 5 estimates. Then, I would like to examine predicted probabilities as a function of some independent variable. In my case, that variable is a measure of time. In this case, it would seem to me that it would be sensible to plot all five sets of predictions on one set of axes. However, it is not obvious to me how to use -marginsplot- when one needs to rely on predicted margins from multiple estimates. So, is there a way to do this using -marginsplot- , or must it be done more "manually?" If it’s the latter, how would one recover the margins and set them aside somewhere, so that all of the other estimates can be run before trying to generate something akin to a -marginsplot- using standard graphing commands? Thank you for your suggestions. Lloyd Dumont * * 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/

- Prev by Date:
**RE: st: Calculate weighted average across variables with externally given weights - controlling for missing values** - Next by Date:
**st: RE: RE: long differencing estimator** - Previous by thread:
**st: question about insturmental variables and probit/logits** - Next by thread:
**Re: st: date("01jan1960", "DMY") does not seem to work with -if- qualifier of the command -tablist-** - Index(es):