gof_tests | R Documentation |
Apply all goodness of fit tests and return a data.frame with the results
gof_tests(fits, x)
fits |
a list object produced from fit_univariate, fit_empirical, or fit_univariate_man |
x |
numeric vector of sample data |
a data.frame of test statistic results for each distribution
set.seed(84) x <- rgamma(100, 1, 1) dists <- c('gamma', 'lnorm', 'weibull') multipleFits <- lapply(dists, fit_univariate, x = x) gof_tests(multipleFits, x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.