Learn R Programming

contingencytables (version 3.1.0)

Kendalls_tau_b_rxc_bca: Kendall's tau-b with the bias-corrected and accelerated boostrap confidence interval

Description

Kendall's tau-b with the bias-corrected and accelerated boostrap confidence interval

Described in Chapter 7 "The rxc Table"

Usage

Kendalls_tau_b_rxc_bca(n, nboot = 10000, alpha = 0.05)

Value

An object of the contingencytables_result class, basically a subclass of base::list(). Use the utils::str() function to see the specific elements returned.

Arguments

n

the observed table (an rxc matrix)

nboot

number of bootstrap samples

alpha

the nominal significance level, used to compute a 100(1-alpha) confidence interval

Examples

Run this code
set.seed(9974)
Kendalls_tau_b_rxc_bca(table_7.7, nboot = 800)
Kendalls_tau_b_rxc_bca(table_7.8, nboot = 200)
if (FALSE) {
  Kendalls_tau_b_rxc_bca(table_7.9)
}

Run the code above in your browser using DataLab