View source: R/jackknife.cor.R
jackknife.cor | R Documentation |
This function creates jackknife samples from the data by sequentially removing d observations, calculates the correlation, and estimates bias, standard error, and confidence intervals.
jackknife.cor(data, d = 1, conf = 0.95, numCores = parallel::detectCores())
data |
A data frame with two numeric columns. |
d |
Number of observations to delete (default: 1). |
conf |
Confidence level (default: 0.95). |
numCores |
Number of processors (default: |
A list of class "jackknife" containing estimates, bias, standard error, and confidence intervals.
Quenouille (1956), Tukey (1958), Shi (1988).
cor()
, jackknife()
j.cor <- jackknife.cor(cars, d = 2, numCores = 2)
summary(j.cor)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.