Learn R Programming

BayesDA (version 2012.04-1)

contingency: Contingency Table from a sample Survey

Description

Contingency table describing a survey of sources and quality of information about cancer for 1729 people.

Usage

data(contingency)

Arguments

Format

A data frame with 32 observations on the following 6 variables.
source.1
a factor with levels N Y
source.2
a factor with levels N Y
source.3
a factor with levels N Y
source.4
a factor with levels N Y
knowledge
a factor with levels Good Poor
count
number of respondents with this pattern

Details

The sources of information are: (1) news media, (2) light reading, (3) solid reading, (4) lectures. The book (page 437) is fitting Bayesian loglinear models.

Examples

Run this code
data(contingency)

Run the code above in your browser using DataLab