taillard.test {taist} | R Documentation |
Performs Taillard Test to Compare Proportions given a 2x2 contingency matrix
taillard.test(x, alternative = "two.sided")
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. |
x
is a two-dimensional contingency table in matrix form,
and hence its entries should be nonnegative integers.
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. |
E. D. Taillard, Ph. Waelti, J. Zuber (2006). Few statistical tests for proportions comparison. Technical Report, MiS-TIC, HEIG-Vd.
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