The Wald test and confidence interval for the difference between marginal mean ranks / ridits

Described in Chapter 9 "The Paired cxc Table"

Wald_test_and_CI_marginal_mean_ranks_paired_cxc(n, alpha = 0.05)

Arguments

n

the observed table (a cxc matrix)

alpha

the nominal level, e.g. 0.05 for 95% CIs

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.

Examples

# A comparison between serial and retrospective measurements
# (Fischer et al., 1999)
Wald_test_and_CI_marginal_mean_ranks_paired_cxc(fischer_1999)
#> 
#> Inference for tau
#> -----------------
#> Wald:       estimate = 0.2391 (95% CI 0.1182 to 0.3600); P = 0.00011, Z =  3.877 
#> Wald logit: estimate = 0.2391 (95% CI 0.1151 to 0.3558); P = 0.00019, Z =  3.727 
#> 
#> Inference for alpha
#> -------------------
#> Wald:       estimate = 0.6196 (95% CI 0.5591 to 0.6800); P = 0.00011, Z =  3.877 
#> Wald logit: estimate = 0.6196 (95% CI 0.5576 to 0.6779); P = 0.00019, Z =  3.727