bowker {ANSM5}R Documentation

Perform Bowker's extension of McNemar's test

Description

bowker() performs the Bowker's extension of McNemar's test and is used in chapter 12 of "Applied Nonparametric Statistical Methods" (5th edition)

Usage

bowker(x, y = NULL, do.asymp = TRUE)

Arguments

x

Factor of same length as y, or two-dimensional square table

y

Factor of same length as x (or NULL if x is table) (defaults to NULL)

do.asymp

Boolean indicating whether or not to perform asymptotic calculations (defaults to TRUE)

Value

An ANSMtest object with the results from applying the function

Examples

# Example 12.12 from "Applied Nonparametric Statistical Methods" (5th edition)
bowker(ch12$side.effect.new, ch12$side.effect.old)

# Exercise 12.12 from "Applied Nonparametric Statistical Methods" (5th edition)
bowker(ch12$first.response, ch12$second.response)


[Package ANSM5 version 1.1.0 Index]