preds_m: Prediction Accuracy and Diagnostic Statistics for Logistic...

Description Usage Arguments Value

Description

Returns accuracy of predictions, a chi-square test of model vs. null model, sensitivity, specificity, and

Usage

1
preds_m(model, imp, plevel = 0.5)

Arguments

model

a logistic regression model performed using either 'glm.mids()' or 'with()', from package 'mice'

imp

the object to which your imputed data sets are assigned (i.e., the object that took the output of the mice() function)

plevel

the level at which you would like to classify cases vs. non-cases (default is p=0.5)

Value

accuracy of predictions, chi-square test of model vs. null, sensitivity, specificity,


noahlorinczcomi/glmice documentation built on May 26, 2019, 1:33 a.m.