bootstrap: Bootstrap Methods

Description Usage Arguments Examples

View source: R/internal-bootstrap.r

Description

Bootstrap Methods

Usage

1
bootstrap(x, weights, boot = 100, alpha = 0.05, seed = 120511, bca = FALSE)

Arguments

x

numeric vector.

weights

numeric vector of weight

boot

how many bootstrap sample is generated?

alpha

significant value to construct confidential interval

seed

seed value

bca

logical. use bias corrected and accelerated (BCa) bootstrap to construct confidential intervals.

Examples

1
2
3
4
5
## Not run: 
x <- rnorm(100)
bootstrap(x, boot = 1000)

## End(Not run)

KatoPachi/discreteRD documentation built on Feb. 24, 2022, 12:32 a.m.