Adding PROC LCA and PROC LTA to SAS on your computer

PROC LCA and PROC LTA are two popular 3rd party PROCs that are not installed by the SAS installer. These PROCs can be downloaded and installed using instructions in the the Latent Class Analysis Knowledge Base.

Download the 64-bit version for SAS 9.4 M5 and higher.

Follow the installation instructions at Installing PROC LCA & PROC LTA (latentclassanalysis.com)

Test the installation by starting SAS and then copy/paste the following code into a new program window and run it:

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;