Hi, I'm trying to use the library mclust for gaussian mixture on a numeric vector. The function Mclust(data,G=3) is working fine but the fitting is not optimal and is using modelNames="E". When I'm trying Mclust(data,G=3,modelName="V") I have the following message: Error in if (Sumry$G > 1) ans[c(orderedNames, "z")] else ans[orderedNames] : argument is of length zero In addition: Warning message: In pickBIC(object[as.character(G), modelNames, drop = FALSE], k = 3) : none of the selected models could be fitted Using variable variance would fit my data better, any idea how to do it? Thanks a lot. -- View this message in context: http://r.789695.n4.nabble.com/mclust-modelNames-E-vs-modelNames-V-tp3787982p3787982.html Sent from the R devel mailing list archive at Nabble.com.
On Sat, 2011-09-03 at 08:17 -0700, Nico902 wrote:> I'm trying to use the library mclust for gaussian mixture on a numeric > vector. The function Mclust(data,G=3) is working fine but the fitting is not > optimal and is using modelNames="E". When I'm trying > Mclust(data,G=3,modelName="V") I have the following message: > > Error in if (Sumry$G > 1) ans[c(orderedNames, "z")] else ans[orderedNames] : > argument is of length zero > In addition: Warning message: > In pickBIC(object[as.character(G), modelNames, drop = FALSE], k = 3) : > none of the selected models could be fitted > > Using variable variance would fit my data better, any idea how to do it?This list is for issues related to the development of the R language itself. Wouldn't the r-help list be a more appropriate place to ask for assistance? Regards, - Brian -- Brian G. Peterson http://braverock.com/brian/ Ph: 773-459-4973 IM: bgpbraverock
sorry about that and thanks for your answer. -- View this message in context: http://r.789695.n4.nabble.com/mclust-modelNames-E-vs-modelNames-V-tp3787982p3789154.html Sent from the R devel mailing list archive at Nabble.com.
Seemingly Similar Threads
- mclust: modelName="E" vs modelName="V"
- Mclust problem with mclust1Dplot: Error in to - from : non-numeric argument to binary operator
- out of colors in Mclust with 12 clusters
- positive log likelihood and BIC values from mCLUST analysis
- Gaussian mixture models, modelNames: EEV, VEV mclust2002