Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: estat phtest and factor variables (Stata 11)


From   [email protected]
To   [email protected]
Subject   Re: st: estat phtest and factor variables (Stata 11)
Date   Fri, 31 Jul 2009 11:21:19 -0500

Tim <[email protected]> has uncovered a bug with -estat phtest- after -stcox- when
factor variables are included in the model. 

> . estat phtest
> too few variables specified

> the current estimation results for cox have 4 equations so you must specify 4
> new variables, or you can use the equation() option and specify one variable
> at a time
> r(102);

The fix will be available in a future ado update.  In the meantime, as Tim
points out you can use the -xi- prefix instead of the new factor variable
syntax.

Theresa Boswell
<[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/



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