Description Usage Arguments Value References Examples
View source: R/mdd_test_bootstrap.R
Conditional mean independence test using wild bootstrap
1 | mdd_test_boot(X, Y, B = 999)
|
X |
distances or data of first sample |
Y |
distances or data of second sample |
B |
number of replicates |
mdd_test_boot returns a list containing
test_statistic: observed value of the test statistic
MDD_sq_U: unbiased estimate of squared martingale difference divergence
replicates: replicates of the test statistic
p_value: approximate p-value of the test
Chung Eun Lee, Xianyang Zhang, and Xiaofeng Shao. Testing the conditional mean independence for functional data. Biometrika, forthcoming, 2019.
1 2 3 4 | A <- iris[1:50, 1:2]
B <- iris[1:50, 3:4]
set.seed(1)
mdd_test_boot(A, B)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.