Displaying 1 result from an estimated 1 matches for "frailparm".
2009 Jun 24
1
Coxph frailty model counting process error X matrix deemed singular
...is structured as follows: I have a Bernoulli random variable (parameter=0.5) (labeled "binary") and a second variable which was generated as seq(0.02, 1, 0.02), which is labeled as "uniform". There are 50 individual subjects. Recurrent events are then generated as rexp(1, 0.2*frailparm[j]*exp(mydata[j,1]*alpha[1]+mydata[j,2]*alpha[2])) where mydata is the cbind of the data just mentioned, alpha are the parameters for the recurrent events (here I am using c(1,1)) and frailparm is the frailty term for subject {j}. I generate recurrent events until the sum of the times is greater t...