bootstrap: Bootstrap

Description Usage Arguments Value Author(s)

View source: R/bootstrap.R

Description

This function uses the boostrap method to estimate the correlation, standard error, bias and confidence interval. The function takes a .txt, which contains the x and y variables, as an input argument.

Usage

1
bootstrap(n, x, y)

Arguments

n

number of bootstrap replicates

x

variable

y

variable

Value

Correlation between x and y
The bootstrap estimate of correlation
The bootstrap estimation of standard error
Bias
Confidence interval

Author(s)

Katrine Eriksen and Katrine Bach
Department of mathematics and computer science (IMADA)
University of Southern Denmark
kater13@student.sdu.dk and kabac13@student.sdu.dk


Katrinebch/ExamST516 documentation built on May 7, 2019, 12:29 p.m.