[R] Coxph

Heinz Tuechler tuechler at gmx.at
Tue Jul 11 12:52:38 CEST 2006


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



More information about the R-help mailing list