onesampb: Compute a bootstrap, .95 confidence interval for any measure...

Description Usage Arguments

View source: R/Rallfun-v24.R

Description

Compute a bootstrap, .95 confidence interval for the measure of location corresponding to the argument est. By default, a one-step M-estimator of location based on Huber's Psi is used. The default number of bootstrap samples is nboot=2000

Usage

1
onesampb(x, est = onestep, alpha = 0.05, nboot = 2000, SEED = TRUE, nv=0, ...)

Arguments

x

A vector

est

A function that directly returns a measure of location; default = one-step M-estimator of location based on Huber's Psi

alpha

Alpha value of the CI

nboot

Number of bootstrap samples

SEED

Set seed of random number generator so that results can be replicated

nv

null value when computing a p-value

...

Additional arguments for the estimator functio.


WRS documentation built on May 2, 2019, 5:49 p.m.