Description Usage Arguments Value
Calculate confidence intervals using bootstrap of any statistical function of interest.
1 2 3 4 5 6 7 8 9 10 | estimate_ci(
observations,
.f,
n_boots,
parallelize = "no",
ncpus = getOption("boot.ncpus", 1L),
cl = NULL,
type = "perc",
conf = 0.95
)
|
observations |
is a vector of dates/time of observations given as numeric values |
.f |
function to use |
n_boots |
is the number of bootstraps you want to run to create the CIs |
parallelize |
The type of parallel operation to be used (if any). If missing, the default is that no parallelization will occur. Parallelization options are "multicore" and "snow" |
ncpus |
An integer that represents the number of processes to be used in parallel operation. |
cl |
An optional parallel or snow cluster for use if parallel = "snow". If not supplied, a cluster on the local machine is created for the duration of the boot call. |
type |
A vector of character strings representing the type of intervals required to calculate the CI. Defaults to "perc". See ??boot.ci for more information. |
conf |
The confidence level wanted. Defaults to 95% CI. |
A data frame with estimate, and the lower and upper points of its confidence interval
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.