Usage
prop.odds(formula,data=sys.parent(),beta=NULL,
Nit=20,detail=0,start.time=0,max.time=NULL,id=NULL,n.sim=500,weighted.test=0,
profile=1,sym=0,baselinevar=1,clusters=NULL,max.clust=1000,weights=NULL)
Arguments
formula
a formula object, with the response on the left of a '~' operator, and
the terms on the right. The response must be a Event object as
returned by the `Event' function.
data
a data.frame with the variables.
start.time
start of observation period where estimates are computed.
max.time
end of observation period where estimates are computed.
Estimates thus computed from [start.time, max.time].
This is very useful to obtain stable estimates, especially for the
baseline. Default is max of data.
id
For timevarying covariates the variable must
associate each record with the id of a subject.
n.sim
number of simulations in resampling.
weighted.test
to compute a variance weighted version of the
test-processes used for testing time-varying effects.
beta
starting value for relative risk estimates
Nit
number of iterations for Newton-Raphson algorithm.
detail
if 0 no details is printed during iterations,
if 1 details are given.
profile
if profile is 1 then modified partial likelihood is
used, profile=0 fits by simple estimating equation. The modified
partial likelihood is recommended.
sym
to use symmetrized second derivative in the case
of the estimating equation approach (profile=0).
This may improve the numerical performance.
baselinevar
set to 0 to omit calculations of baseline variance.
clusters
to compute cluster based standard errors.
max.clust
number of maximum clusters to be used, to save time in iid decomposition.
weights
weights for score equations.