Learn R Programming

nspmix (version 1.5-0)

thai: Illness Spells and Frequencies of Thai Preschool Children

Description

Contains the results of a cohort study in north-east Thailand in which 602 preschool children participated. For each child, the number of illness spells \(x\), such as fever, cough or running nose, is recorded for all 2-week periods from June 1982 to September 1985. The frequency for each value of \(x\) is saved in the data set.

Arguments

Format

A data frame with 24 rows and 2 variables:

x: values of \(x\).

freq: frequencies for each value of \(x\).

References

Wang, Y. (2007). On fast computation of the non-parametric maximum likelihood estimate of a mixing distribution. Journal of the Royal Statistical Society, Ser. B, 69, 185-198.

See Also

nppois,cnm.

Examples

Run this code
# NOT RUN {

data(thai)
x = nppois(thai)
plot(cnm(x), x)


# }

Run the code above in your browser using DataLab