imputed_affairs: Imputed affairs Dataset

imputed_affairsR Documentation

Imputed affairs Dataset

Description

This dataset is a version of the Affairs dataset where random missing values were introduced, and multiple imputation was performed using the mice package.

Usage

imputed_affairs

Format

A data frame with 3005 rows and 12 variables

Details

Random missingness was introduced into 10% of the values in the original Affairs dataset. Multiple imputation was then performed using the mice package with the following parameters:

  • 5 multiple imputations (m = 5).

  • 50 iterations per imputation (maxit = 50).

  • Seed set to 123 for reproducibility.

The dataset included here is the first completed dataset resulting from the multiple imputation process.

Source

Original dataset from datasets::Affairs, with missing values introduced and imputed.

Examples


data(imputed_affairs)
head(imputed_affairs)


sabainter/SSVS documentation built on April 17, 2025, 12:48 p.m.