Learn R Programming

latrend (version 1.6.1)

OCC: Odds of correct classification (OCC)

Description

Computes the odds of correct classification (OCC) for each cluster. In other words, it computes the proportion of trajectories that can be expected to be correctly classified by the model for each cluster.

Usage

OCC(object)

Value

The OCC per cluster, as a numeric vector of length nClusters(object). Empty clusters will output NA.

Arguments

object

The model, of type lcModel.

Details

An OCC of 1 indicates that the cluster assignment is no better than by random chance.

References

nagin2005grouplatrend klijn2017introducinglatrend vandernest2020overviewlatrend

See Also

confusionMatrix APPA