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 <[email protected]>
To   [email protected]
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)"
<[email protected]> 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:[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/


__________________________________________________
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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index