Learn R Programming

DPpackage (version 1.1-7.4)

rolling: Rolling Thumbtacks Data

Description

This data was generated by Beckett and Diaconis (1994). They generate binary strings from rools of common thumbtacks. A 1 was recorded if the tack landed point up and 0 was recorder if the tack landed point down. All tacks started point down. Each tack was flicked 9 times. The data consit of 320 9-tuples. The actual data arose from 16 "flickers" and 10 surfaces. Following Liu (1996), we treat the data as though they came from 320 different tacks.

Usage

data(rolling)

Arguments

Format

A data frame with 320 observations on the following 2 variables.

y1

a numeric vector giving the number of tacks landed point up.

y2

a numeric vector giving the number of trials.

References

Liu, J.S. (1996). Nonparametric Hierarchical Bayes via Sequential Imputations. The Annals of Statistics, 24: 911-930.

Examples

Run this code
# NOT RUN {
data(rolling)
# }

Run the code above in your browser using DataLab