coxseifit.ex: CoxSEI model with exponential function

Description Usage Arguments Value Author(s) See Also Examples

View source: R/coxseifit.R

Description

Fit a CoxSEI model with exponential function to right censored counting process data

Usage

1
2
3
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 optim routine

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

coxseiest, coxseiInt

Examples

1
2
3
4
data("dat")
csfit <- coxseifit.ex(dat,c(1:3*0.2,0.7,10))
coef(csfit)
plot(csfit$cintfn,do.points=FALSE)

coxsei documentation built on Feb. 8, 2020, 9:07 a.m.