For the latest version of JMP Help, visit JMP.com/help.


Publication date: 04/21/2023

Latent Class Analysis Script-Only Messages

The following message for a Latent Class Analysis model fit constructs a script to create probability formula columns and returns them to the log. This message is available only in JSL.

latent_class_analysis_object << ( Fit[number] << Get Probability Formulas );

The following example sets a random seed in order for the model to be reproducible.

dt = Open( "$SAMPLE_DATA/Car Poll.jmp" );
obj = dt << Latent Class Analysis(
	Y( :sex, :marital status, :country, :size, :type ),
	Set Random Seed( 12345 ),
	Number of Clusters( 3 ),
);
Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).