Description Usage Arguments Value References Examples
The Monte Carlo permutation test for Pearson's chi-square. See bnlearn package for details.
mccor(x, y, S, suffStat)
It is tested, whether x and y are conditionally independent given the subset S of the remaining nodes. x, y, S all are integers, corresponding to variable or node numbers.
The dataset in matrix format with rows are samples and columns are variables.
The p-value of the test.
Marco Scutari (2010). Learning Bayesian Networks with the bnlearn R Package. Journal of Statistical Software, 35(3), 1-22.
1 2 3 4 5 6 7 8
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.