Which p-value are you referring to? The one for the overall fit? The test
that one of the indiividual coefficients is zero? After estimation, you can
get the overall p-value by referring to e(chi2) and e(df_m), then
calculating the p-value using the chiprob( ) function. For example, you
could do
scalar prob= chiprob(e(df_m), e(chi2))
For the individual p-values on coeficients, you can get the values and
standard errors using e(b) and e(V), then calculate the p-values yourself,
assuming a normal distribution.
Al Feiveson
-----Original Message-----
From: spok [mailto:[email protected]]
Sent: Friday, February 14, 2003 2:09 AM
To: [email protected]
Subject: st: Using cox regression output in a program
Hello,
I want to use the p-value produced by stcox as a
variable in a program. How to I refer to this
variable? Thank you.
__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.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/
*
* 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/