Last data update: 2014.03.03

R: Housing Dataset due to Wilson
wilsonR Documentation

Housing Dataset due to Wilson

Description

Dataset due to Wilson

Usage

data(wilson)

Format

Two objects, met_area and non_met, which have three columns and either 17 or 18 rows. Each row corresponds to a neighborhood of five households, each of which votes for one of three choices: US, S, or VS. Each column corresponds to one of these choices. The rowsums are constant because there are exactly five households in each neighborhood.

Source

  • J. R. Wilson 1989. “Chi-square tests for Overdispersion with Multiparameter Estimates”, Journal of the Royal Statistical Society. Series C (Applied Statistics), 38(3):441–453

  • S. S. Brier 1980. “Analysis of Contingency Tables Under Cluster Sampling”, Biometrika 67(3):591–596

Examples

data(wilson)
Lindsey(non_met)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(MM)
Loading required package: magic
Loading required package: abind
Loading required package: partitions
Loading required package: emulator
Loading required package: mvtnorm
Loading required package: Oarray
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/MM/wilson.Rd_%03d_medium.png", width=480, height=480)
> ### Name: wilson
> ### Title: Housing Dataset due to Wilson
> ### Aliases: wilson met_area non_met
> ### Keywords: datasets
> 
> ### ** Examples
> 
> data(wilson)
> Lindsey(non_met)
$p
       US         S        VS 
0.4944688 0.4112537 0.0942775 

$theta
   US         S        VS
US NA 0.7442441 0.5964694
S  NA        NA 0.8844850
VS NA        NA        NA

> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>