The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

moonboot

This is an R package for m-out-of-n bootstrap that provides functions for

Usage

A typical usage is

# application of estimator to the subset indices
boot.stat <- function(indices, dat) {
  my.stat(dat[indices])
}

# apply m-out-of-n bootstrap
boot.out <- mboot(x, boot.stat, m=2*sqrt(length(x)))

# compute 95% confidence interval
ci <- mboot.ci(boot.out, type="basic")
print(ci)

Beware that the last command estimates the scaling factor, which can be quite unreliable. It is thus better to provide the scaling factor if it is known, e.g., for a root-n consistent estimator:

ci <- mboot.ci(boot.out, tau=function(n) { n^0.5 }, type="basic")

Installation

If you have cloned the repository to the directory moonboot, you can install it with

R CMD INSTALL moonboot

If you have downloaded a file release moonboot-X.Y.Z.tar.gz, you can install it with

R CMD INSTALL moonboot-X.Y.Z.tar.gz

For licensing information, see the file LICENSE for details.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.