powered by
Creates an object of class tnormalmix (finite mixture of truncated univariate normals).
tnormalmix(pi, mean, sd, a, b)
An object of class “tnormalmix”.
Cector of mixture proportions (length k say).
Vector of means (length k).
Vector of standard deviations (length k).
Vector of left truncation points of each component (length k).
Cector of right truncation points of each component (length k).
tnormalmix(c(0.5,0.5),c(0,0),c(1,2),c(-10,0),c(0,10))
Run the code above in your browser using DataLab