Learn R Programming

SIHR (version 2.1.0)

ci.Dist: Confidence Intervals for Bias-corrected Dist Estimators

Description

Computes confidence intervals for bias-corrected estimator

Usage

# S3 method for Dist
ci(
  object,
  probability = FALSE,
  alpha = 0.05,
  alternative = c("two.sided", "less", "greater"),
  ...
)

Value

A vector giving lower and upper confidence limits for bias-corrected estimator

Arguments

object

An object of class `Dist`, a result of a call to `Dist`

alpha

Level of significance to construct confidence interval (default=0.05)

alternative

Indicates the alternative hypothesis to construct confidence interval and must be one of "two.sided" (default), "less", or "greater".

...

arguments to pass down

Examples

Run this code
if (FALSE) {
## -- Continuing the Dist(.) example:
out <- ci(Est)
out
}

Run the code above in your browser using DataLab