coxseifit.ex {coxsei} | R Documentation |
CoxSEI model with exponential function
Description
Fit a CoxSEI model with exponential function to right censored counting process data
Usage
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),...)
Arguments
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 |
Value
A list of some components with kind of self-evident meanings by their name
Author(s)
Feng Chen <feng.chen@unsw.edu.au>
See Also
Examples
data("dat")
csfit <- coxseifit.ex(dat,c(1:3*0.2,0.7,10))
coef(csfit)
plot(csfit$cintfn,do.points=FALSE)
[Package coxsei version 0.3 Index]