varZCI: Estimate statistics of the variance of a sample

varZCIR Documentation

Estimate statistics of the variance of a sample

Description

Estimate statistics of the variance of a sample

Usage

varZCI(
  Z,
  method = c("bootstrap", "cho", "chisq", "auto"),
  CImethod = c("bca", "perc", "basic", "stud"),
  nBoot = 5000,
  level = 0.95,
  parallel = FALSE,
  cl = NULL
)

Arguments

Z

(vector) a data sample

method

(string) one of 'auto' (default), 'bootstrap', 'cho' and 'chisq' for the estimation of the statistics

CImethod

(string) one of 'bca' (default), 'perc' and 'basic' for the CI estimation algorithm from bootstrap sample

nBoot

(integer) number of bootstrap repeats

level

(numeric) a probability level for CI (default: 0.95)

parallel

(logical) use parallelized bootstrap (default: 'FALSE')

cl

(object) a cluster object for parallelized bootstrap (default: 'NULL')

Value

A list containing the mean, sd and ci for the variance of the Z sample


ppernot/ErrViewLib documentation built on June 1, 2024, 4:33 a.m.