gof_tests {fitur} | R Documentation |
Goodness of Fit Testing
Description
Apply all goodness of fit tests and return a data.frame with the results
Usage
gof_tests(fits, x)
Arguments
fits |
a list object produced from fit_univariate, fit_empirical, or fit_univariate_man |
x |
numeric vector of sample data |
Value
a data.frame of test statistic results for each distribution
Examples
set.seed(84)
x <- rgamma(100, 1, 1)
dists <- c('gamma', 'lnorm', 'weibull')
multipleFits <- lapply(dists, fit_univariate, x = x)
gof_tests(multipleFits, x)
[Package fitur version 0.6.2 Index]