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

Publication date: 09/28/2021

Latent Class Analysis Script-Only Message

The following JSL message constructs a script to create probability formula columns and returns them to the log.

latent_class_object << (Fit[number] << Get Probability Formulas)

The following example sets a random seed in order for it 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).