taillard.test {taist}R Documentation

Taillard Statistical Test to Compare Proportions

Description

Performs Taillard Test to Compare Proportions given a 2x2 contingency matrix

Usage

taillard.test(x, alternative = "two.sided")

Arguments

x a two-dimensional contingency table in matrix form
alternative indicates the alternative hypothesis and must be one of "two.sided" or "one.sided". You can specify just the initial letter.

Details

x is a two-dimensional contingency table in matrix form, and hence its entries should be nonnegative integers.

Value

A list with class "htest" containing the following components :

p.value the p-value of the test.
alternative a character string describing the alternative hypothesis.
method the character string "Taillard Test to Compare Proportions".
data.name a character string giving the names of the data.

References

E. D. Taillard, Ph. Waelti, J. Zuber (2006). Few statistical tests for proportions comparison. Technical Report, MiS-TIC, HEIG-Vd.

See Also

fisher.test mcnemar.test

Examples

VrpSolving <-
matrix(c(9, 2, 2, 4),
    nr = 2,
    dimnames =
    list(c("Sample 1", "Sample 2"),
         c("# success", "# failure")))

taillard.test(VrpSolving, alternative="two.sided")

## The p-value (significance level) associated with null hypothesis is
## 0.02496. Confidence level of alternate hypothesis (Sample 1 has a
## success rate different to Sample 2) : 0.97504

[Package taist version 0.20 Index]