powered by
Apply all goodness of fit tests and return a data.frame with the results
gof_tests(fits, x)
a list object produced from fit_univariate, fit_empirical, or fit_univariate_man
numeric vector of sample data
a data.frame of test statistic results for each distribution
# NOT RUN { set.seed(84) x <- rgamma(100, 1, 1) dists <- c('gamma', 'lnorm', 'weibull') multipleFits <- lapply(dists, fit_univariate, x = x) gof_tests(multipleFits, x) # }
Run the code above in your browser using DataLab