Description Usage Arguments Value Author(s) Examples
Computes a Bayes factor against independence for a two-way contingency table assuming a "close to independence" alternative model
1 | bfindep(y,K,m)
|
y |
matrix of counts |
K |
Dirichlet precision hyperparameter |
m |
number of simulations |
bf |
value of the Bayes factor against hypothesis of independence |
nse |
estimate of the simulation standard error of the computed Bayes factor |
Jim Albert
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.