chi2testtable {detpack} | R Documentation |
(Contingency) Tables for Chi-square Tests
Description
(Contingency) tables for Pearson's Chi-square goodness-of-fit and independence tests.
Usage
chi2testtable(x, alpha, cf = FALSE)
Arguments
x |
vector with normalized data between 0 and 1. |
alpha |
significance level. |
cf |
flag, if |
Value
Object with observed counts co
of data x
inside bins defined by edges be
.
References
Cochran, W.G., The Chi Square Test of Goodness of Fit. The Annals of Mathematical Statistics, 1952. 23(3): p. 315-345.
Mann, H.B. and A. Wald, On the Choice of the Number of Class Intervals in the Application of the Chi Square Test. The Annals of Mathematical Statistics, 1942. 13(3): p. 306-317.
Bagnato, L., A. Punzo, and O. Nicolis, The autodependogram: a graphical device to investigate serial dependences. Journal of Time Series Analysis, 2012. 33(2): p. 233-254.