prepareShuffle: Prerprocess for the shuffle estimator

Description Usage Arguments Value Author(s) References See Also

Description

prepareShuffle computes the averaging matrices and normalizing constants for the shuffle estimator. It can be run once for all data vectors sharing the design.

Usage

1
prepareShuffle(des, perm)

Arguments

des

A design vector or matrix

perm

The shuffling permutation

Value

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

Author(s)

Yuval Benjamini

References

Benjamini and Yu (2013)

See Also

getAverage getNormalizer


shuffle documentation built on May 2, 2019, 1:45 p.m.