CTA function

Contingency Table Analysis in different ways

Contingency Table Analysis in different ways

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)

Arguments

  • 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.

Returns

none provided: the function is run for its graphical and numerical output

References

van Hulst, R. 2018. Evaluating Scientific Evidence. ms.

Author(s)

Robert van Hulst

See Also

Bft2x2

Examples

data(Smoking) CTA(Smoking)
  • Maintainer: Robert van Hulst
  • License: GPL (>= 2)
  • Last published: 2018-05-15

Useful links