jackknife | R Documentation |
Basic resampling. Supply the data and statistic to resample.
jackknife(data, statistic, args.stat = NULL, label = NULL, statisticNames = NULL, trace = FALSE)
data |
vector, matrix, or data frame. |
statistic |
a function, or expression (e.g. |
args.stat |
a list of additional arguments to pass to |
label |
used for labeling plots (in a future version). |
statisticNames |
a character vector the same length as the vector returned by
|
trace |
logical, if |
a list with class "jackknife"
that inherits from "resample"
,
with components:
observed |
the value of the statistic for the original data. |
replicates |
a matrix with |
n |
number of observations in the original data, or vector of length 2 in two-sample problems. |
p |
|
R |
number of replications. |
seed |
the value of the seed at the start of sampling. |
call |
the matched call. |
statistics |
a data frame with |
There are functions for printing and plotting these objects,
in particular print
, plot
, hist
, qqnorm
,
quantile
.
The current version only handles a single sample.
Tim Hesterberg timhesterberg@gmail.com,
https://www.timhesterberg.net/bootstrap-and-resampling
resample-package
.
# See full set of examples in resample-package data(Verizon) CLEC <- with(Verizon, Time[Group == "CLEC"]) jackknife(CLEC, mean)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.