SHARE
TWEET

Untitled

a guest Jun 25th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. library(tidyLPA)
  2. library(dplyr)
  3. library(mclust)    
  4. data(pisaUSA15)
  5.  
  6. pisaUSA15[1:100, ] %>%
  7.   select(broad_interest, enjoyment, self_efficacy) %>%
  8.   single_imputation() %>%
  9.   estimate_profiles(3)
  10.      
  11. tidyLPA analysis using mclust:
  12.  
  13.  Model Classes AIC     BIC     Entropy prob_min prob_max n_min n_max BLRT_p
  14.  1     3       630.957 667.430 0.885   0.903    0.973    0.130 0.680 0.010
  15.      
  16. data[1:100, ] %>%
  17.   select(V1, V2, V3, V4) %>%
  18.   single_imputation() %>%
  19.   estimate_profiles(3)
  20.      
  21. Error in mdpwst[i]:mdpwfin[i] : NA/NaN argument
  22.      
  23. data = data[complete.cases(data),]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top