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

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

Subject   Re: st: estat phtest and factor variables (Stata 11)
Date   Fri, 31 Jul 2009 11:21:19 -0500

Tim <> 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

Theresa Boswell

*   For searches and help try:

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