objective function for the finding of censor hazard function parameter.
objfunction(x,lambda,gamma,gammac,theta,ebx,groupfreq,censordist,timeinterval)
Censor hazard function parameter. For exponential or weibull censor hazard, x is lambda, for uniform hazard, x is the maximum time of the censoring window.
lamda for event hazard function
gamma for event hazard function
gamma for censor hazard function. THis is required if the censoring hazard function is weibull
Dropout rate
exp(beta*x), if there's no covariates, ebx=1.
frequence of each level of ebx value
censor hazard function distribution
time intervals for piecewise baseline hazard function