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 |
Nick Cox <n.j.cox@durham.ac.uk> |

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

Subject |
st: RE: Command "margin" after Cox Regression |

Date |
Wed, 26 Oct 2011 00:38:57 +0100 |

The problem with -margins- is likely to be that you are asking a question that it cannot answer. So, people who know about this kind of thing will want to see what you typed before as your -stcox- command. Nick n.j.cox@durham.ac.uk Yuval Arbel I'm trying to run the following command after the Cox Regression: . margins, at(max_red=20) atmeans predict(basesurv) I'm getting the following error note: prediction is a function of possibly stochastic quantities other than e(b) r(498); On the other hand, when I'm running: predict a1,basesurv (8405 missing values generated) The command works fine. My question is what is the problem with the command "margins"? * * 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: RE: Command "margin" after Cox Regression***From:*Yuval Arbel <yuval.arbel@gmail.com>

**References**:**st: Command "margin" after Cox Regression***From:*Yuval Arbel <yuval.arbel@gmail.com>

- Prev by Date:
**st: Command "margin" after Cox Regression** - Next by Date:
**Re: st: RE: Command "margin" after Cox Regression** - Previous by thread:
**st: Command "margin" after Cox Regression** - Next by thread:
**Re: st: RE: Command "margin" after Cox Regression** - Index(es):