Description Usage Format References Examples
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.
1 2 |
This data frame contains the 2 columns,
count: number of boys in family.
freq: number of families with corresponding.
Lindsay, B. G. and Roeder, K. (1992). Residual diagnostics for mixture models. Journal of the American Statistical Association,87(419), 785–794.
1 2 3 | #fit a 2 component binomial mixture model to this data set.
data(residual2)
pmle.binom(residual2,12,2,1)
|
$`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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.