[R] Comparing COXPH models, one with age as a continuous variable

Terry Therneau therneau at mayo.edu
Mon May 11 14:51:53 CEST 2009

  The "anova" process is only statistically valid for nested models, i.e., where
one includes the other as a proper subset.  A model with continuous age and one
with discrete age are not nested; your p-value will be meaningless.

 Terry Therneau

More information about the R-help mailing list