This function uses an internal random forest model to classify the
distribution from a model-family. Currently, following distributions are
trained (i.e. results of check_distribution()
may be one of the following):
"bernoulli"
, "beta"
, "beta-binomial"
, "binomial"
,
"chi"
, "exponential"
, "F"
, "gamma"
, "lognormal"
,
"normal"
, "negative binomial"
, "negative binomial (zero-inflated)"
,
"pareto"
, "poisson"
, "poisson (zero-inflated)"
,
"uniform"
and "weibull"
.
Note the similarity between certain distributions according to shape, skewness,
etc., for instance plot(dnorm(1:100, 30, 3))
and plot(dnorm(1:100, 30, 3))
.
Thus, the predicted distribution may not be perfectly representing the distributional
family of the underlying fitted model, or the response value.
There is a plot()
, which shows the probabilities of all predicted
distributions, however, only if the probability is greater than zero.