The Goodman Wald simultaneous intervals for the differences between the

multinomial probabilities (with Scheffe or Bonferroni adjustment)

Described in Chapter 3 "The 1xc Table and the Multinomial Distribution"

Goodman_Wald_CIs_for_diffs_1xc(n, alpha = 0.05, adjustment = "Bonferroni")

Arguments

n

the observed counts (a 1xc vector, where c is the number of categories)

alpha

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

adjustment

Scheffe or Bonferroni adjustment ("Scheffe" or "Bonferroni")

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

Goodman_Wald_CIs_for_diffs_1xc(n = snp6498169$complete$n)
#> The Goodman Wald simultaneous intervals for differences (Bonferroni)
#>   pi_1 - pi_2: estimate = -0.1344 (-0.2127 to -0.0560)
#>   pi_1 - pi_3: estimate = 0.2041 (0.1453 to 0.2630)
#>   pi_2 - pi_3: estimate = 0.3385 (0.2759 to 0.4011)
#>