i downloaded and installed the externel program PROC LCA from the PennState University. I tried to run the test code provided by the developers:
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;
Now i get the following error that I don't know how to fix:
************************************************************************************************************
21 PROC LCA DATA=test;
----
22
202
NOTE: An external program, not a SAS procedure, is being executed.
ERROR 22-322: Syntax error, expecting one of the following: ;, AUDIT, CC, CLEANUP.
ERROR 202-322: The option or parameter is not recognized and will be ignored.
22 NCLASS 2;
23 ITEMS it1 it2 it3 it4;
24 CATEGORIES 2 2 2 2;
25 FREQ count;
26 SEED 100000;
27 RHO PRIOR=1;
28 RUN;
NOTE: Return code from LCA is -1073741510.
NOTE: PROZEDUR LCA used (Total process time):
******************************************************************************************************
I downloaded the 64-bit version for my 64-bit SAS and followed exactly the instructions of the developers.
Previously I used PROC LCA with SAS 9.3 and it ran smoothly. For SAS 9.4 I had to reinstall it and now it does not work anymore.
How can I fix this problem?
Thanks
Yes, I did. That's why I checked again if I installed the right version, but that does not seem to be the problem.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.