imFitModel {idem} | R Documentation |
Imputation model fitting
Description
Fit linear imputation models to the observed data from complete survivors for each treatment arm at each time point
Usage
imFitModel(im.data)
Arguments
im.data |
A class |
Value
A class IDEMFIT
list of modeling fitting results with the following items
- im.data
Original class
IDEMDATA
object- rst.mdl
A list of modeling fitting results for each model with
- lm
results from function
lm
- formula
model formula
- coef
model coefficients
- res
residuals
- h
bandwidth of residuals for kernel density estimation
See Also
Examples
im.abc <- imData(abc, trt="TRT", surv="SURV", outcome=c("Y1","Y2"),
y0=NULL, endfml="Y2",
trt.label = c("UC+SBT", "SAT+SBT"),
cov=c("AGE"), duration=365, bounds=c(0,100));
im.fit <- imFitModel(im.abc);
[Package idem version 5.2 Index]