Learn R Programming

mipred (version 0.0.1)

.glm.mipred.cmb1.cv: Cross-validation of generalized linear model prediction using multiple imputation - prediction-averaging method

Description

Cross-validation of generalized linear model prediction using multiple imputation - prediction-averaging method

Usage

.glm.mipred.cmb1.cv(formula, family, dataset, 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

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.