pearson: Pearson's crab data

Description Usage Format References Examples

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

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

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

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

Example output

$`PMLE of mixing proportions`
[1] 0.441 0.559

$`PMLE of means`
[1] 0.634 0.657

$`PMLE of variances`
[1] 0.000339 0.000158

$`log-likelihood`
[1] 2567.577

$`Penalized log-likelihood`
[1] 2566.177

MixtureInf documentation built on May 30, 2017, 6:56 a.m.