Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: Using cox regression output in a program


From   spok <spok_1@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: Using cox regression output in a program
Date   Fri, 14 Feb 2003 17:45:38 -0800 (PST)

Thank you.

How could I have gotten a list of internal variables?

--- "FEIVESON, ALAN H. (AL) (JSC-SD) (NASA)"
<alan.h.feiveson@nasa.gov> wrote:
> 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:spok_1@yahoo.com]
> Sent: Friday, February 14, 2003 2:09 AM
> To: statalist@hsphsun2.harvard.edu
> 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/


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



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