Return the data needed to fit a model for imputation.
The data is used to impute variable vname, and therefore only includes cases for which vname is observed.
Values of type PatsyFormula in init_kwds or fit_kwds are processed through Patsy and subset to align with the model’s endog and exog.
Parameters: | vname : string
|
---|---|
Returns: | endog : DataFrame
exog : DataFrame
init_kwds : dict-like
fit_kwds : dict-like
|