grains: grains data

Description Usage Format References Examples

Description

The data set contains the square root of the total number of grains for each planty from Loisel et al., (1994). Loisel et al., (1994) suggested using a finite normal mixture model. The grains data frame has 150 rows and 1 column.

Usage

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

Format

This data frame contains one column:

x: square root of the total number of grains for each planty.

References

Loisel, P., Goffinet, B., Monod, H., and Montes De Oca, G. (1994). Detecting a major gene in an F2 population. Biometrics, 50, 512–516.

Examples

1
2
3
#fit a finite noraml mixture model of order 2 to this data set. 
data(grains)
pmle.norm(grains,2,1)

Example output

$`PMLE of mixing proportions`
[1] 0.169 0.831

$`PMLE of means`
[1]  2.472 10.622

$`PMLE of variances`
[1]  0.836 10.440

$`log-likelihood`
[1] -413.727

$`Penalized log-likelihood`
[1] -415.808

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