boot: Non-parametric Bootstrapping

Description Usage Arguments Value Examples

Description

Estimate the standard error and the bias of an estimator using R

Usage

1
boot(data, func = NULL, B)

Arguments

data

he data as a vector, matrix or data frame

func

function to be bootstrapped

B

the number of replicates

Value

a list of standard error and bias

Examples

1
2
3
4
5
## Not run: 
data <- 20 * rbeta(1000,2,3)
boot(data = data, func = mean, B = 2000)

## End(Not run)

lvli19/StatComp18096 documentation built on May 5, 2019, 11:07 p.m.