Bootstrapped confidence interval for kappa statistic.
kappaBootCI.Rd
Function to compute cohen's kappa with binary data with a bootstrap confidence interval
Usage
kappaBootCI(
x,
y,
seed = 20,
num.boot = 1000,
conf.level = 0.95,
method = c("cohen", "weighted", "fleiss", "krippendorff"),
type = "nominal"
)
Arguments
- x
vector of binary scores from first rater
- y
vector of binary scores from second rater
- seed
random seed for bootstrapping
- num.boot
number of times to bootstrap. Defaults to 1000.
- conf.level
confidence level. Defaults to 95%.
- method
statistic to calculate bootstrap estimate
- type
method setting for
method = "krippendorff"