|
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: stcox output: p-value and CI don't agree
At 12:12 AM 8/8/2007, Michael McCulloch wrote:
Also show the results for
stcox drug, nohr
I believe the z value is based on the coefficient and its standard
error, whether nohr is specified or not.
------------------------------------------------------------------------------
_t | Coef. Std. Err. z P>|z| [95%
Conf. Interval]
-------------+----------------------------------------------------------------
tcm
| -.2553755 .3905156 -0.65 0.513 -1.020772 .5100211
------------------------------------------------------------------------------
No paradoxes in these results; this is along the lines of what I
expected. Again, I think Ryan has both diagnosed the problem and
come up with the solution.
One other problem with your earlier approach: the z test is a test of
the hypothesis that the coefficient = 0. Instead (since the
coefficient is a hazard ratio) it ought to be testing the hypothesis
that the coefficient = 1.
-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME: (574)289-5227
EMAIL: [email protected]
WWW: http://www.nd.edu/~rwilliam
*
* 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/