check_distribution: Classify the distribution of a model-family using machine learning
Description
Choosing the right distributional family for regression models is essential to get more accurate estimates and standard errors. This function may help to check a models' distributional family and see if the model-family probably should be reconsidered. Since it is difficult to exactly predict the correct model family, consider this function as somewhat experimental.
Usage
check_distribution(model)
Arguments
model
A model (that should response to residuals()).
Details
This function uses an internal random forest model to classify the distribution from a model-family.