normLikSI: Normal support interval calculation.

Description Usage Arguments Value Author(s) Examples

View source: R/normLikSI.R

Description

This function calculates support intervals for the mean of normal data. Confidence levels are calculate from the formula if conf=T.

Usage

1
normLikSI(dat, level, tol = 0.001, conf = F, B=500)

Arguments

dat

a numeric vector

level

support interval relative likelihood

tol

tolerance passed to uniroot for finding likelihood endpoints

conf

Logical, whether or not confidence levels should be returned.

B

Number of bootstrap iterations to verify coverage level

Value

si

1/level support interval

conf.equiv

Calculated confidence level

Author(s)

Derek Smith

Examples

1
2
3
set.seed(10)
normLikSI(rnorm(10), 9)
normLikSI(rnorm(10), 9, conf=TRUE)

supportInt documentation built on May 2, 2019, 6:32 a.m.