SAS Simulate Dataset Macro for PROC LCA



(Available free to members. Register.)


Simulate LCA Dataset Macro:




Users' Guide:



SimulateLCADataset Examples


SimulateLCADataset SAS Macro Users' Guide (v. 1.1.0)


How to run a SAS macro

4-minute video: How to run a SAS macro


The %SimulateLcaDataset macro can assist in studying the performance of latent class analysis (LCA) models. It works in conjunction with the SAS software package (version 9.1 or higher) and PROC LCA (version 1.2.5 or higher). %SimulateLcaDataset generates a random dataset from a population assumed to be described by the LCA model with a given set of parameters.


Read about latent class analysis or latent transition analysis.



Recommended Citations

SimulateLcaDataset SAS Macro (Version 1.1.0) [Software]. (2011). University Park: The Methodology Center, Penn State. Retrieved from

Dziak, J. J., Lanza, S. T., & Xu, S. (2011). SimulateLcaDataset SAS macro users’ guide (Version 1.1.0). Univeristy Park: The Methodology Center, Penn State. Retrieved from

Need Help?

For help with PROC LCA, consult our FAQ. If you have questions or comments about the macro, please email


If your organization does not permit download and installation of files, please contact us with a shipping address and we will provide a CD containing all downloadable files.

Follow Us