Some puzzles about model selection and "Mclust could not estimate model 2 with 4 classes".

35 views
Skip to first unread message

Yifei Wu

unread,
Feb 11, 2020, 4:22:51 AM2/11/20
to tidyLPA
Dear all, 

I would like to group people into 3-6 classes based on three variables. I'am a little bit confused about model selection. According to the tutorial "package 'tidyLPA' ", we can select the best model through analytic hyrarhy process (AHP). For example, AHP suggests me to use model 4, as shown in the picture.

Sketch.png

However, the results showed that "Best model according to BIC is Model 6 with 3 classes."when I run following codes to compare solutions. So I am not sure which model I should select or maybe I understand wrong.

library(tidyLPA)

library(tidyverse)

HKG %>%

    select(BSBGSLS, BSBGSCS, BSBGSVS) %>%

    scale() %>%

    estimate_profiles(3:6, models= c(1,2,3,6)) %>% 

    compare_solutions(statistics = c("AIC", "BIC"))


results:


2.png

3.png











In addition, I've deleted all missing values in my dataset before I use tidyLPA. I haven't found the reason for so many warning messages.


Hope you can help me figure out and thanks a lot.


Kind regards

Yifei

Reply all
Reply to author
Forward
0 new messages