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


Publication date: 06/21/2023

Statistical Details for the Maximum Number of Clusters

The maximum number of clusters that can be fit in an latent class analysis model depends on the model degrees of freedom. The degrees of freedom in an latent class analysis model are based on the size of the contingency table created by the columns. The size of the contingency table is the number of cells in the table that contain at least one observation and is denoted as K. If all cells contain at least one observation, K is the product of the number of levels of the response columns. The formula for degrees of freedom is defined as follows:

DF = K - {nCluster - 1 + nCluster(nTotalLevels - nCols)} - 1

where

nCluster = the number of clusters

nTotalLevels = the sum of the levels of the response columns

nCols = the number of response columns

In order for the LCA model to be adequately fit, the degrees of freedom must be positive. Therefore, to ensure DF > 0, the maximum number of clusters is defined as follows:

max(nCluster) < floor[K/(1 + nTotal Levels nCols)]

Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).