CTA {evidence} | R Documentation |
An n x n contingency table is analyzed in frequentist, information-theoretical, likelihood, and Bayesian ways. Note that for the Bayesian analysis package LearnBayes needs to be installed.
CTA(X, extBayes = FALSE)
X |
a matrix with non-negative integers representing the counts for the row-column levels |
extBayes |
should a Bayesian analysis with a near-independence prior (instead of only an independence prior) be done as well? Defaults to FALSE. |
none provided: the function is run for its graphical and numerical output
Robert van Hulst
van Hulst, R. 2018. Evaluating Scientific Evidence. ms.
data(Smoking)
CTA(Smoking)