powered by
Fit a CoxSEI model with exponential function to right censored counting process data
coxseifit.ex(dat, par.init, m = 2, mit = 1000, tr = TRUE, method = "L-BFGS-B",lower=c(rep(-Inf,ncol(dat)-3),-Inf,0), upper=rep(Inf,ncol(dat)-3 + 2),...)
The data
initial value of the regression coefficients and coefficients in the excitation function
the lag parameter (the m-dependence parameter)
maximum number of iterations allowed in the optimizer
whether to trace the optimization or not
the method of optimization used by the optim routine
optim
vector of lower boundary values of the parameter space
vector of upper boundary of the parameter space
other arguments to be passed to the optimization routine
A list of some components with kind of self-evident meanings by their name
coxseiest, coxseiInt
coxseiest
coxseiInt
# NOT RUN { data("dat") csfit <- coxseifit.ex(dat,c(1:3*0.2,0.7,10)) coef(csfit) plot(csfit$cintfn,do.points=FALSE) # }
Run the code above in your browser using DataLab