fish {bayesmix} | R Documentation |
Fish length data
Description
A numeric vector containing 256 observations of fish lengths.
Usage
data(fish)
Format
A numeric vector of length 256.
Details
This data set can be used for modeling unobserved heterogeneity, as it can be assumed that underlying categories present in the data are the age groups to which the fish belong.
Source
D. M. Titterington, A. F. M. Smith and U.E. Makov (1985) Statistical Analysis of Finite Mixture Distributions. Wiley.
Examples
data("fish", package = "bayesmix")
ss <- seq(-3, 13, by = 0.01)
hist(fish[[1]], 20, freq = FALSE, main = "Fish data")
lines(ss, dnorm(ss, mean(fish[[1]]), sd(fish[[1]])), col = "red")
[Package bayesmix version 0.7-6 Index]