confint.krippendorffsalpha: Compute a confidence interval for Krippendorff's Alpha.

View source: R/krippendorff.R

confint.krippendorffsalphaR Documentation

Compute a confidence interval for Krippendorff's Alpha.

Description

Compute a confidence interval for Krippendorff's Alpha.

Usage

## S3 method for class 'krippendorffsalpha'
confint(object, parm = "alpha", level = 0.95, ...)

Arguments

object

an object of class "krippendorffsalpha", the result of a call to krippendorffs.alpha.

parm

always ignored since there is only one parameter.

level

the desired confidence level for the interval. The default is 0.95.

...

additional arguments. These are passed to quantile.

Details

This function computes a bootstrap confidence interval for alpha, assuming that krippendorffs.alpha was called with confint = TRUE.

Value

A vector with entries giving lower and upper confidence limits. These will be labelled as (1-level)/2 and 1 - (1-level)/2.

References

Nissi, M. J., Mortazavi, S., Hughes, J., Morgan, P., and Ellermann, J. (2015). T2* relaxation time of acetabular and femoral cartilage with and without intra-articular Gd-DTPA2 in patients with femoroacetabular impingement. American Journal of Roentgenology, 204(6), W695.

See Also

krippendorffs.alpha

Examples

# Fit a subset of the cartilage data. Compute bootstrap confidence intervals
# using a bootstrap sample size of 1,000.

data(cartilage)
cartilage = as.matrix(cartilage[1:100, ])
fit.cart = krippendorffs.alpha(cartilage, level = "interval", confint = TRUE,
                               control = list(bootit = 1000, parallel = FALSE))
fit.cart$alpha.hat
confint(fit.cart, level = 0.99)

drjphughesjr/krippendorffsalpha documentation built on April 3, 2022, 5:52 a.m.