Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Command "margin" after Cox Regression
From
Yuval Arbel <[email protected]>
To
[email protected]
Subject
st: Command "margin" after Cox Regression
Date
Wed, 26 Oct 2011 01:28:37 +0200
Dear Statalist Users,
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"?
--
Dr. Yuval Arbel
School of Business
Carmel Academic Center
4 Shaar Palmer Street, Haifa, Israel
e-mail: [email protected]
*
* 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/