BookmarkSubscribeRSS Feed
YL_SAS_User
Calcite | Level 5

I am experiencing a sample size limitation when running PROC LCA in SAS and would appreciate any guidance.

My dataset contains approximately 1 million observations, but PROC LCA fails to run when the sample size exceeds about 245,000 observations. When I reduce the sample size below this level, the procedure runs successfully.

Does PROC LCA has a known sample size or memory limit?

Are there any recommended options or alternative approaches in SAS for performing latent class analysis on datasets of this size?

 

1 REPLY 1
russt_sas
SAS Employee

LCA is not a procedure that SAS supports, but it was created by others as a custom PROC. I think you can find the doc and supporting info here:  https://www.latentclassanalysis.com/software/proc-lca-proc-lta/

 

Here is a paper that may be helpful that performs Latent Class Analysis Using the CATMOD Procedure:

https://support.sas.com/resources/papers/proceedings/proceedings/sugi31/201-31.pdf

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore Now →
What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 448 views
  • 0 likes
  • 2 in conversation