Learn R Programming

MixtureInf (version 1.1)

pearson: Pearson's crab data

Description

This data set contains the ratio of "forehead" breadth to body length for 1000 crabs sampled at Naples by Professor W.F.R. Weldon. Pearson (1894) used a two component normal mixture model to fit this data set. The data frame has 29 rows and 2 columns.

Usage

#Load this data set for subsequent analysis: data(pearson)

Arguments

Format

This data frame contains the following columns: ratio: the boundaries of grouping intervals. freq: the frequencies of observation falling into each interval.

References

Pearson K (1894). Contributions to the mathematical theory of evolution. Philosophical Transactions of the Royal Society of London. A, 185, 71--110.

Examples

Run this code
#fit a 2 component normal mixture model to this data set.
data(pearson)
pmle.norm(pearson,2,1)

Run the code above in your browser using DataLab