Displaying 1 result from an estimated 1 matches for "definecompon".
2009 Nov 09
1
model based clustering with flexmix
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 = truncatedmodel(lower = -4,
> upper = 4))
>
> prior size