residual2: residual diagnostics for mixture models

Description Usage Format References Examples

Description

This data set is from Lindsay and Roeder (1992). It includes the number of boys in families of size 12. The number of families is 6115. The data frame has 13 rows and 2 columns.

Usage

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

Format

This data frame contains the 2 columns,

count: number of boys in family.

freq: number of families with corresponding.

References

Lindsay, B. G. and Roeder, K. (1992). Residual diagnostics for mixture models. Journal of the American Statistical Association,87(419), 785–794.

Examples

1
2
3
#fit a 2 component binomial mixture model to this data set.
data(residual2)
pmle.binom(residual2,12,2,1)

Example output

$`PMLE of mixing proportions:`
[1] 0.694 0.306

$`PMLE of component parameters:`
[1] 0.479 0.611

$`log-likelihood:`
[1] -12492.43

$`Penalized log-likelihood:`
[1] -12493.98

MixtureInf documentation built on May 2, 2019, 3:32 p.m.