Description Usage Arguments Details Value
View source: R/MissingTreatment.R
missing_treatments initially eliminates all the columns having more than 70
Zero Imputation
Min Imputation
Max Imputation
Mean Imputation
Median Imputation
Mode Imputation
Multiple Imputation - Random Forest
Multiple Imputation - Predictive Mean Matching
Of all these techniques, Best technique is chosed based on the performance of different datasets on a linear/logistic model.
1 | missing_treatments(data, dv)
|
data |
Any data frame that has to treated for missing data |
dv |
Dependent variable in the given dataset in order to eliminate that field while treating missing data |
Takes in a data frame and performs the best possible missing value treatment to each of the columns in the data frame
Returns a list of 3 objects:
Missing value treated Dataset
A list of model fit files for each of the techniques used
Performance metrics for eac of the intermediate datasets created
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.