statsmodels.imputation.mice.MICEData.get_split_data¶
- MICEData.get_split_data(vname)[source]¶
Return endog and exog for imputation of a given variable.
- Parameters:¶
- vname
str
The variable for which the split data is returned.
- vname
- Returns:¶
- endog_obs
DataFrame
Observed values of the variable to be imputed.
- exog_obs
DataFrame
Current values of the predictors where the variable to be imputed is observed.
- exog_miss
DataFrame
Current values of the predictors where the variable to be Imputed is missing.
- init_kwdsdict-like
The init keyword arguments for vname, processed through Patsy as required.
- fit_kwdsdict-like
The fit keyword arguments for vname, processed through Patsy as required.
- endog_obs
Last update:
Dec 23, 2024