coxseifit.ex {coxsei} | R Documentation |
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),...)
dat |
The data |
par.init |
initial value of the regression coefficients and coefficients in the excitation function |
m |
the lag parameter (the m-dependence parameter) |
mit |
maximum number of iterations allowed in the optimizer |
tr |
whether to trace the optimization or not |
method |
the method of optimization used by the |
lower |
vector of lower boundary values of the parameter space |
upper |
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
Feng Chen <feng.chen@unsw.edu.au>
data("dat") csfit <- coxseifit.ex(dat,c(1:3*0.2,0.7,10)) coef(csfit) plot(csfit$cintfn,do.points=FALSE)