mindep.boot | R Documentation |
mindep.boot
tests the mean independence of U conditional on V using the wild
bootstrap
mindep.boot(
U,
V,
B = 199,
Kern = "Gauss",
wmat = NULL,
cl = NULL,
cluster = NULL
)
U |
univariate variable |
V |
possibly multivariate variable |
B |
number of wild bootstrap samples. Defaults to 199 |
Kern |
type of kernel. See Details for available kernels |
wmat |
in case the n x B matrix of wild bootstrap weights are supplied by the user. |
cl |
an integer to indicate number of child-processes in pbapply::pbsapply(). |
cluster |
vector of length n with cluster ids if cluster-robust wild-bootstrap is used |
test statistic and p-value
set.seed(12); X = rnorm(200)
mindep.boot(X,abs(X)); mindep.boot(abs(X),X)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.