myboot2: Bootstrap Confidence Interval Generation

Description Usage Arguments Value Examples

View source: R/myboot2.R

Description

Bootstrap Confidence Interval Generation

Usage

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

Arguments

iter

Number of iterations used to construct bootstrap interval

x

A vector containing a random sample of quantitative elements

fun

Function used to evaluate the desired population parameter

alpha

Likelihood that true population parameter lies outside the confidence interval

cx

Scaling parameter for text of confidence interval on the histogram

...

Other information to add to the histogram title

Value

A histogram of the population parameter along with the desired confidence interval, as well as a list containing the confidence interval, the function used to calculate the population parameter, and the sample analyzed.

Examples

1
myboot2(iter=10000,x=c(1:10),fun="mean",alpha=0.05)

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