Description Usage Arguments Value Examples
RCIT and RCoT - tests whether x and y are conditionally independent given z. Calls RIT if z is empty.
1 2 |
x |
Random variable x. |
y |
Random variable y. |
z |
Random variable z. |
approx |
Method for approximating the null distribution. Options include: "lpd4," the Lindsay-Pilla-Basak method (default), "gamma" for the Satterthwaite-Welch method, "hbe" for the Hall-Buckley-Eagleson method, "chi2" for a normalized chi-squared statistic, "perm" for permutation testing (warning: this one is slow but recommended for small samples generally <500 ) |
corr |
TRUE corresponds to RCoT and FALSE to RCIT. Default is TRUE. |
num_f |
Number of features for conditioning set. Default is 25. |
seed |
The seed for controlling random number generation. Use if you want to replicate results exactly. Default is NULL. |
A list containing the p-value p
and statistic Sta
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.