Skip to content
Prev 10712 / 398502 Next

Q:Truncated Regression Model

On Wed, 11 Apr 2001, Ralph Leonhardt wrote:

            
Yes, truncation is also allowed.

The form for the response is Surv(c,y,1), but it doesn't recycle arguments
so you actually need Surv(rep(c,length(y)),y,rep(1,length(y)))

	-thomas

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._