Displaying 1 result from an estimated 1 matches for "cox0".
Did you mean:
cox
2018 Apr 04
1
parfm unable to fit models when hazard rate is small
...for weibull, I set rho = 1 so it reduces to an exponential hazard, with rate = lambda
# Also note sigma = 0, so random effect is not present
## Create data and fit model, lambda = 0.1
data0<-simulWeib(10000,lambda=0.1,rho=1,rateC=0.0000000001, beta1=0.25,beta2=0,beta3=0,beta4=0, sigma = 0)
fit.cox0<-parfm(Surv(time,status) ~ x1, data=data0, dist="exponential")
fit.cox0
## Create data and fit model, lambda = 0.01
data0<-simulWeib(10000,lambda=0.01,rho=1,rateC=0.0000000001, beta1=0.25,beta2=0,beta3=0,beta4=0, sigma = 0)
fit.cox0<-parfm(Surv(time,status) ~ x1, data=data0, dis...