[R] test of hazard ratios
Spencer Graves
spencer.graves at pdf.com
Tue Jun 28 23:24:43 CEST 2005
Can you fit a single model that includes the two classifiers from
which the model with one classifier could be obtained as a special case?
If yes (and if neither parameter was at a boundary crudely similar to
a zero variance component in "lme"), then you could use the theory that
2*ln(likelihood ratio) is approximately chi-square. For many
capabilities in R, this is implemented as a function anova(fit2, fit1)
where fit2 and fit1 are the results of fitting the general and the
specialized models.
If you don't see how to make this work, PLEASE do read the posting
guide! "http://www.R-project.org/posting-guide.html". It might help you
find a better answer. Failing that, if you submit another post after
following the process described therein, it should increase the chances
that you will get a useful reply.
spencer graves
Steve Adams wrote:
> Hi,
>
> Is there a R test available that tests whether 2
> hazard ratios obtained from Cox regressions on the
> same patient sample by 2 different classifiers are
> significantly different?
>
> Thanks
>
> Steve
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
--
Spencer Graves, PhD
Senior Development Engineer
PDF Solutions, Inc.
333 West San Carlos Street Suite 700
San Jose, CA 95110, USA
spencer.graves at pdf.com
www.pdf.com <http://www.pdf.com>
Tel: 408-938-4420
Fax: 408-280-7915
More information about the R-help
mailing list