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 ),
);