Learn R Programming

mipred (version 0.0.1)

.glm.mipred.cmb2: Generalized linear model prediction using multiple imputation - Rubin's rule coefficient-averaging method

Description

Generalized linear model prediction using multiple imputation - Rubin's rule coefficient-averaging method

Usage

.glm.mipred.cmb2(formula, family, dataset, newdata, nimp, folds, miop)

Arguments

formula

Formula used by fitting and prediction method

family

Error distribution also determining the link function used

dataset

A data frame containing calibration data

newdata

A dataframe containing observations to be predicted

nimp

Number of imputations for each observation

folds

Number of folds defined in newdata

miop

Mice options

Value

A list containing predictions.

pred

Matrix of predictions on the scale of the response variable of dimension m by nimp.

linpred

Matrix of predictions on the scale of the linear predictor of dimension m by nimp.