Description Usage Arguments Value
View source: R/hmi_imp_semicont_single_2018-04-17.R View source: R/hmi_imp_semicont_single_2018-02-27.R View source: R/hmi_imp_semicont_single_2017-04-11.R View source: R/hmi_imp_semicont_single_2016-12-10.R View source: R/hmi_imp_semicont_single.R
The function is called by the wrapper. We consider data to be "semicontinuous" when
more than 5% of the (non categorical) observations.
For example in surveys a certain portion of people, when asked for their income,
report "0", which clearly violates the assumption of income to be (log-) normally distributed.
1 | imp_semicont_single(y_imp_multi, X_imp_multi, heap = 0, M = 10)
|
y_imp_multi |
A Vector with the variable to impute. |
X_imp_multi |
A data.frame with the fixed effects variables. |
heap |
A scalar saying to which value the data might be heaped. |
M |
An integer defining the number of imputations that should be made. |
A n x M matrix. Each column is one of M imputed y-variables.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.