Dawid79 {CoCo}R Documentation

Dawid and Skene (1979)

Description

Data used in "Maximum likelihood estimation of observed errorrates using the EM algorithm".

Usage

data(Dawid79)

Format

The format is: int [1:45, 1:11] 1 1 1 1 1 1 1 1 1 1 ... - attr(*, "dimnames")=List of 2 ..$ : NULL ..$ : chr [1:11] "count" "v" "w" "a" ...

Source

Dawid, A. P. and Skene, A. M. (1979). Maximum likelihood estimation of observed errorrates using the EM algorithm. Appl. Statist. 28, 20-28.

Examples

library(CoCo);
data(Dawid79); Dawid79;
levels <- apply(Dawid79, 2, max)[-1]; missing <- c(rep(0, 9), 1);
CoCoObject <- makeCoCo();
enterNames(names(levels), levels - missing, missing = missing, 
                          object = CoCoObject);
enterList(c(t(Dawid79)), accumulated = TRUE, object = CoCoObject);
showOptions("specification", object = CoCoObject);
showTable("observed", "*", output.form = "sparse.table", object = CoCoObject);
endCoCo(object = CoCoObject);

[Package CoCo version 0.1.7.4 Index]