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/