Re: [R] Coxph

From: Heinz Tuechler <tuechler_at_gmx.at>
Date: Tue 11 Jul 2006 - 20:52:38 EST


>From the help page of Surv:
"Although unusual, the event indicator can be omitted, in which case all subjects are assumed to have an event."

That means, you can use coxph that way, _but_ it depends on your model. Do you really want to model the time on study regardless of the kind of event?

Greetings,
Heinz Tüchler

At 12:22 11.07.2006 +0200, Sharon.Mazurel@ing.com wrote:
>
>
>Dear all,
>
>
>
>My question is:
>
>In the Surv object you have two arguments, "time" and "event". I have
>two events, namely withdrawn and success.
>I use no event or status argument in "Surv" because all my objects "die"
>in my data set.
>
>Does coxph function calculate the coefficients correctly when you put no
>"event" argument into the Surv object?
>
>Thus:
>
>Coxph(Surv(duration)~covariates,data=data) duration=duration of the deal
>
>Duration: is the time till one subject fails or succeed in my research.
>
>Can somebody help me?
>
>
>Best regards,
>
>
>Sharon Mazurel
>
>
>-----------------------------------------------------------------
>ATTENTION:
>The information in this electronic mail message is private and
>confidential, and only intended for the addressee. Should you
>receive this message by mistake, you are hereby notified that
>any disclosure, reproduction, distribution or use of this
>message is strictly prohibited. Please inform the sender by
>reply transmission and delete the message without copying or
>opening it.
>
>Messages and attachments are scanned for all viruses known.
>If this message contains password-protected attachments, the
>files have NOT been scanned for viruses by the ING mail domain.
>Always scan attachments before opening them.
>-----------------------------------------------------------------
>
>
> [[alternative HTML version deleted]]
>
>______________________________________________
>R-help@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
>
>



R-help@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 Received on Tue Jul 11 20:56:26 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 11 Jul 2006 - 22:19:20 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.