search for: cmprisk

Displaying 2 results from an estimated 2 matches for "cmprisk".

Did you mean: cmpri
2012 Feb 28
1
Packages/functions for competing risk analysis
...1,2,3 events are events of exiting the study, but it's only 2-LTFU that we are concerned with (I know I am repeating myself, sorry). I can't seem to find a package or function that can handle 2 competing risks for the main event. I realize I may be using the well-known ones, timereg and cmprisk, wrong. And if I am, then I'd appreciate a correction. Here's the model I tried (and it crashes) comp.risk(Surv(futime, retention==2) ~ sex, data=dta, dta$retention, causeS=c(1,3), resample.iid=1, n.sim=100) I apologize, but I am cannot create the example dataset using code. I am not a...
2010 Oct 06
4
problem with abline
Hi All, I am running a scatter plot and trying to add a best fit line. I use an abline function, but get no line drawn over the points. I also get no error. I arm using V 2.10.0 on Windows 7. Here is my code, including the SAS transport file import: require (foreign) require (chron) require (Hmisc) require (lattice) clin <- sasxport.get("y:\\temp\\subset.xpt") attach(clin)