Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- library(tidyLPA)
- library(dplyr)
- library(mclust)
- data(pisaUSA15)
- pisaUSA15[1:100, ] %>%
- select(broad_interest, enjoyment, self_efficacy) %>%
- single_imputation() %>%
- estimate_profiles(3)
- tidyLPA analysis using mclust:
- Model Classes AIC BIC Entropy prob_min prob_max n_min n_max BLRT_p
- 1 3 630.957 667.430 0.885 0.903 0.973 0.130 0.680 0.010
- data[1:100, ] %>%
- select(V1, V2, V3, V4) %>%
- single_imputation() %>%
- estimate_profiles(3)
- Error in mdpwst[i]:mdpwfin[i] : NA/NaN argument
- data = data[complete.cases(data),]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement