bootstrap: Bootstrap

Description Usage Arguments Value Author(s) Examples

View source: R/bootstrap.R

Description

Estimate the correlation, by using bootstrap.

Usage

1
bootstrap(n=1000,X,Y,plot=TRUE)

Arguments

n

number of tests

X

is the first vector

Y

is the second vector

plot,

boolean do we want to plot the histogram

Value

Returns the true correlation, bootstrap correlation, standard error, bias and confidence interval.

Author(s)

Steffan Leth Jensen
Department of mathematics and computer science (IMADA)
University of southern Denmark, SDU, Odense
steje14@student.sdu.dk

Examples

1
bootstrap(1000,cars$speed,cars$dist,TRUE)

mrleth94/ST522ExamSteje14 documentation built on May 23, 2019, 7:37 a.m.