Description Usage Arguments Details Value Author(s) References See Also Examples

MIMCA performs multiple imputations for categorical data using Multiple Correspondence Analysis.

1 |

`X` |
a data.frame with categorical variables containing missing values |

`nboot` |
the number of imputed datasets |

`ncp` |
integer corresponding to the number of components used to reconstruct data with the MCA reconstruction formulae |

`coeff.ridge` |
1 by default to perform the regularized imputeMCA algorithm. Other regularization terms can be implemented by setting the value to less than 1 in order to regularized less (to get closer to the results of an EM method) or more than 1 to regularized more (to get closer to the results of the proportion imputation) |

`threshold` |
the threshold for assessing convergence for the (regularized) iterative MCA algorithm |

`maxiter` |
integer, maximum number of iterations for the (regularized) iterative MCA algorithm |

`verbose` |
use verbose=TRUE for screen printing of iteration numbers |

MIMCA generates nboot imputed data sets from MCA. The observed values are the same from one dataset to the others whereas the imputed values change. First, nboot weightings are defined for the individuals. Then, the iterative regularized MCA algorithm (Josse, 2012) is applied according to each weighting, leading to nboot imputed tables. These imputed tables are scaled to verify the constraint that the sum is equal to one per variable and per individual. Lastly, missing categories are drawn from the probabilities given by the imputed tables. Thus, nboot imputed categorical data sets are obtained. The variation among the imputed values reflects the variability with which missing values can be predicted. The multiple imputation is proper in the sense of Little and Rubin (2002) since it takes into account the variability of the parameters using a non-parametric bootstrap approach.

`res.MI` |
A list of data frames corresponding to the nboot imputed categorical data sets |

`res.imputeMCA` |
A matrix corresponding to the single imputed disjunctive table obtained with the function imputeMCA |

`call` |
The matched call |

Vincent Audigier [email protected], Francois Husson [email protected] and Julie Josse [email protected]

Audigier, V., Husson, F., Josse, J. (2015). MIMCA: Multiple imputation for categorical variables with multiple correspondence analysis.

Josse, J., Chavent, M., Liquet, B. and Husson, F. (2010). Handling missing values with Regularized Iterative Multiple Correspondence Analysis, Journal of Classification, 29 (1), pp. 91-116.

Little R.J.A., Rubin D.B. (2002) Statistical Analysis with Missing Data. Wiley series in probability and statistics, New-York.

`imputeMCA`

,`MIPCA`

,`estim_ncpMCA`

,`with.mids`

,`pool`

,`summary.mira`

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | ```
## Not run:
data(TitanicNA)
## First the number of components has to be chosen
## (for the reconstruction step)
## nb <- estim_ncpMCA(TitanicNA) ## Time-consuming, nb = 5
## Multiple Imputation
res.mi <- MIMCA(TitanicNA, ncp=5, verbose=TRUE)
## First completed data matrix
res.mi$res.MI[[1]]
## Analysis and pooling with mice
require(mice)
imp<-prelim(res.mi,TitanicNA)
fit <- with(data=imp,exp=glm(SURV~CLASS+AGE+SEX,family = "binomial"))
res.pool<-pool(fit)
summary(res.pool)
## End(Not run)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.