It performs a blocked jacknife estimator of mean and standard error of the input vector. Given a matrix as input, it considers the first column as numerator and second column as denominator. It can also perform a weighted estimation by counting the number of non-NA values per block. This implementation is largely inspired on (Treemix)https://bitbucket.org/nygcresearch/treemix/wiki/Home implementation of the algorithm.
1 |
x |
A numeric vector or matrix to estimate mean and standard error. |
block |
A integer scalar indicating the size of blocks (greater than zero). |
weighted |
A boolean scalar indicating if should perform a weighted estimation. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.