Description Usage Arguments Value
Given the observed and expected counts in different bins, this function returns the goodness-of-fit statistic
1 | GOF(O_c, E_c, param, bin.tol = 0)
|
O_c |
Observed counts in the bins; |
E_c |
Expected counts in the bins; |
bin.tol |
If the expected count in one bin is less than bin.tol, we merge this and the next bin together. We continue this process until the counts in every bin is larger than bin.tol. |
a list containing the Goodness-of-fit statistic (GOF) and degree of freedom (df).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.