bootpval: Bootstrap P-value

Description Usage Arguments Value Examples

View source: R/bootpval.R

Description

Bootstrap P-value

Usage

1
bootpval(x, conf.level = 0.95, iter = 3000, mu0 = 0, test = "two")

Arguments

x

A vector of data.

conf.level

The confidence level of the interval given.

iter

The number of bootstrap samples generated.

mu0

The value of the mean on the null hypothesis.

test

Designates whether the test is two-tailed or one-tailed.

Value

A graphical representation of the p-value, as well as a screed of summary statistics generated using the bootstrap method.

Examples

1
bootpval(1:10, conf.level=0.95, mu0=22)

Jacob-R-Davis/MATH4753.Davis documentation built on April 24, 2021, 7:46 a.m.