woolf.test {vcd}R Documentation

Woolf test

Description

Test for homogeneity on 2 x 2 x k - tables over strata (i.e., if the log odds ratios are the same in all strata).

Usage

woolf.test(x)

Arguments

x A 2x2xk-table.

Value

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

statistic the value the chi-squared test statistic.
parameter the degrees of freedom of the approximate chi-squared distribution of the test statistic.
p.value the p-value for the test.
method a character string indicating the type of test performed.
data.name a character string giving the name(s) of the data.
observed the observed counts.
expected the expected counts under the null hypothesis.

See Also

mantelhaen.test

Examples

data(CoalMiners)
woolf.test(CoalMiners)

[Package vcd version 0.1-3.5 Index]