impute.model.comparison: Compute Bayes Factor for a Imputed Model

Description Usage Arguments Details Value Author(s)

View source: R/impute.me.R

Description

Compute Bayes Factor for a Imputed Model

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
impute.model.comparison(
  model1,
  model2,
  data,
  predictors = NULL,
  keep = T,
  imputations = 20,
  silent = F,
  invert = F
)

Arguments

model1

The full model

model2

The reduced model

data

The dataset used for analysis. This dataset should contain predictors used to impute the missing values

predictors

A list of predictors (as a character vector) that identify which variables to keep (or drop; see below argument).

keep

Logical. Should the list of predictors be kept or dropped? Defaults to keep.

imputations

The number of imputations to be performed. Defaults to 20.

Details

blah blah blah

Value

.mod Should the model be returned?

Author(s)

Dustin Fife


dustinfife/fifer documentation built on Oct. 31, 2020, 3:36 p.m.