wmat.mammen | R Documentation |
wmat.mammen
generates Mammen's two-point weight for the wild bootstrap.
wmat.mammen(n, B = 200, seed = NULL, cluster = NULL)
n |
sample size |
B |
number of wild bootstrap samples. |
seed |
seed for reproducibility. |
cluster |
vector of length n with cluster ids if cluster-robust wild-bootstrap is used |
an n by B matrix of two-point weights
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.