Usage
diag_lin(t, ic, z, n.total, Nit, n.sim, n.plot, seed, minor_included)
Arguments
t
a vector of observed times.
ic
a vector of cause indicators.
z
a matrix of covariates for fitting the model.
n.total
total number of samples
Nit
number of iterations for model estimation. Default is 20.
n.sim
number of iterations in the analytical diagnostics. Default is 1000.
n.plot
number of plots of simulated processes used in the graphical diagnostics. Default is 10.
seed
a seed used in generating the simulated processes.
minor_included
include the minor term in FG model if TRUE. Default is TRUE.