DATA test; INPUT it1 it2 it3 it4 count; DATALINES; 1 1 1 1 5 1 1 1 2 5 1 1 2 1 9 1 1 2 2 8 1 2 1 2 5 1 2 2 1 8 1 2 2 2 4 2 1 1 1 5 2 1 1 2 3 2 1 2 1 6 2 1 2 2 8 2 2 1 1 3 2 2 1 2 7 2 2 2 1 5 2 2 2 2 10 ; RUN; PROC LCA DATA=test; NCLASS 2; ITEMS it1 it2 it3 it4; CATEGORIES 2 2 2 2; FREQ count; SEED 100000; RHO PRIOR=1; RUN;