I tried Expectation-Maximization (EM) based fitting using the mixfit function from the mixR package in the R environment. It yielded a normal mixture model with 2 components: 1) pi 0.21, mu: 0.47, sd: 0.31 2) pi 0.78, mu 2.55, sd: 1.16
However the fit would probably be better if the first component was fitted with half-normal (or truncated normal) as mixture density type instead of normal (with mu close to 0, no values below 0). The function mixfit can only deal with normal, gamma or beta distributions.
My question: is there a function suitable for EM based fitting of a mixture of a half normal (truncated normal) and a normal distribution?