imputed_affairs | R Documentation |
This dataset is a version of the Affairs
dataset where random missing values
were introduced, and multiple imputation was performed using the mice
package.
imputed_affairs
A data frame with 3005 rows and 12 variables
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.
Original dataset from datasets::Affairs
, with missing values introduced and imputed.
data(imputed_affairs)
head(imputed_affairs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.