search for: yxfr

Displaying 1 result from an estimated 1 matches for "yxfr".

Did you mean: axfr
2004 Mar 19
0
How to do a truncated regression
...the input list to Surv is supposed to be set equal to c, to y, etc. There also may be other parameters I've not set correctly. The code that actually performs the regression is below: "trunc <- survreg(Surv(c,yx[,2],event=rep(1,length(yx[,2]))) ~ yx[,1], dist='gaussian', data=yxfr)" , where c is already defined as c<-rep(200,npoints), where npoints is the number of (x,y) data pairs. I should mention that I have R v1.8.1, and to perform these calculations I've invoked librarys MASS and SURVIVAL. I have tried to look this up in the manuals, but so far I've...