OCC: Odds of correct classification (OCC)

View source: R/model-evaluation.R

OCCR Documentation

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)

Arguments

object

The model, of type lcModel.

Details

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

Value

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

References

\insertRef

nagin2005grouplatrend \insertRefklijn2017introducinglatrend \insertRefvandernest2020overviewlatrend

See Also

confusionMatrix APPA


latrend documentation built on March 31, 2023, 5:45 p.m.