Generates fitted values or confidence intervals for new observations using plug-in estimates. Measurement error is not corrected for new data.
# S3 method for eiv_mlr
predict(
object,
newdata = NULL,
interval = c("none", "confidence"),
level = 0.95,
...
)A numeric vector of predictions, or a matrix with columns
fit, lwr, and upr if intervals are requested.
An object of class "eiv_mlr".
Optional data frame containing covariates. If omitted, predictions are returned for the training data.
Type of interval to compute: "none" or
"confidence".
Confidence level for intervals.
Not used.