Re: [R] How do I specify a partially completed survival analysis model?

2009-11-20 Thread RWilliam
Sorry for being impatient but is there really no way of doing this at all? It's quite urgent so any help is very much appreciated. Thank you. RWilliam wrote: Hello, I just started using R to do epidemiologic simulation research using the Cox proportional hazard model. I have 2

Re: [R] How do I specify a partially completed survival analysis model?

2009-11-20 Thread RWilliam
100.0 0 20 0 0.52491597 97.71884 1 where we set the coefficient of X2 to be 8. RWilliam wrote: Sorry for being impatient but is there really no way of doing this at all? It's quite urgent so any help is very much appreciated. Thank you. RWilliam wrote: Hello, I just

[R] How do I specify a partially completed survival analysis model?

2009-11-19 Thread RWilliam
Hello, I just started using R to do epidemiologic simulation research using the Cox proportional hazard model. I have 2 covariates X1 and X2 which I want to model as h(t,X)=h0(t)*exp(b1*X1+b2*X2). I assume independence of X from t. After I simulate Time and Censor data vectors denoting the