Description Usage Arguments Value Author(s) References See Also
prepareShuffle computes the averaging matrices and normalizing constants for the shuffle estimator. It can be run once for all data vectors sharing the design.
1 | prepareShuffle(des, perm)
|
des |
A design vector or matrix |
perm |
The shuffling permutation |
m |
The number of treatments |
ns |
An m-length vector with the number of repeats for each treatment. For balanced designs with n repeats, ns=rep(n,m) |
B |
The averaging matrix according to the design |
G |
1/T for T the number of measurements |
norm |
The value by which to correct the difference of variances [1/(facA-facB)] |
facA |
The signal coefficient of the original design |
facB |
The signal variance coefficient of the permuted design |
Yuval Benjamini
Benjamini and Yu (2013)
getAverage getNormalizer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.