bootpval: Bootstrap function with graph display

Description Usage Arguments Value Examples

View source: R/mybootpval.R

Description

Function from lab 12 that displayus a histogram and accepted and rejected regions for a given sample of data

Usage

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

Arguments

x

sample

conf.level

confidence level

iter

total number of iterations

mu0

mean if the first sample if two are present

test

the kind of test being done, either one or two with a default of two

Value

histogram of accepted and rejected regions for a given mean and sample.

Examples

1
## Not run: set.seed(55);x1=rnorm(30,mean=25, sd=5),bootpval(x=x1,mu=25,test="two")

TylerPardun/MATH4753pard0003 documentation built on Dec. 31, 2020, 5:34 p.m.