[R] model based clustering with flexmix

2009-11-09 Thread Giovanni Luca Ciampaglia
Hello all, I am trying to fit a truncated mixture model and I wrote a driver for flexmix following the example in the vignette, but it doesn't work for me: it assigns all data points to one component only, e.g.: source('bugged.R') Call: flexmix(formula = x ~ 1, k = 2, model =

Re: [R] fitting a confined mixture model

2009-11-04 Thread Giovanni Luca Ciampaglia
Any idea anybody? cheers Giovanni Giovanni Luca Ciampaglia ha scritto: Hello all, I would like to fit a mixture model whose components are normal distributions confined in a closed interval. Since there are already several packages for EM, I would like to extend one of these instead

[R] fitting a confined mixture model

2009-11-03 Thread Giovanni Luca Ciampaglia
Hello all, I would like to fit a mixture model whose components are normal distributions confined in a closed interval. Since there are already several packages for EM, I would like to extend one of these instead of writing a new script from scratch. What would be the best way to customize