ssd_gof | R Documentation |
Returns a tbl data frame with the following columns
The distribution name (chr)
Akaike's Information Criterion (dbl)
Bayesian Information Criterion (dbl)
and if the data are non-censored
Akaike's Information Criterion corrected for sample size (dbl)
and if there are 8 or more samples
Anderson-Darling statistic (dbl)
Kolmogorov-Smirnov statistic (dbl)
Cramer-von Mises statistic (dbl)
In the case of an object of class fitdists the function also returns
The Information Criterion differences (dbl)
The Information Criterion weights (dbl)
where delta
and weight
are based on aic
for censored data
and aicc
for non-censored data.
ssd_gof(x, ...)
## S3 method for class 'fitdists'
ssd_gof(x, pvalue = FALSE, ...)
x |
The object. |
... |
Unused. |
pvalue |
A flag specifying whether to return p-values or the statistics (default) for the various tests. |
A tbl data frame of the gof statistics.
ssd_gof(fitdists)
: Goodness of Fit
glance.fitdists()
fits <- ssd_fit_dists(ssddata::ccme_boron)
ssd_gof(fits)
ssd_gof(fits)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.