myboot2: Bootstrap Confidence interval

Description Usage Arguments Value Examples

View source: R/myboot2.R

Description

Creates a bootstrap 1-alpha confidence interval with the point estimate for a parameter from the population

Usage

1
myboot2(iter = 10000, x, fun = "mean", alpha = 0.05, cx = 1.5, ...)

Arguments

iter

number of iterations the sample will be run

x

a vector of numbers which makes up the sample of the population

fun

the parameter of the sample estimated

alpha

the likelihood that the true population parameter lies outside the confidence interval

cx

controls the final character size for text on the graph

...

ellipse allow added parameters to be added to control the format of the histogram

Value

A histogram with the point estimate of the statistic and the confidence interval

Examples

1
myboot2(x=fire$DAMAGE)

sche97/MATH4753 documentation built on April 17, 2020, 9:39 a.m.