Skip to contents

Predict clustering for univariate and multivariate bounded data based on Gaussian finite mixture models estimated by MclustBounded().

Usage

# S3 method for class 'MclustBounded'
predict(object, newdata, ...)

Arguments

object

An object of class 'MclustBounded' resulting from a call to MclustBounded().

newdata

A numeric vector, matrix, or data frame of observations. If missing the density is computed for the input data obtained from the call to MclustBounded().

...

Further arguments passed to or from other methods.

Value

Returns a list of with the following components:

  • classification A factor of predicted cluster labels for newdata.

  • z A matrix whose \([i,k]\)th entry is the probability that \(i\)th observation in newdata belongs to the \(k\)th cluster.

References

Scrucca L. (2019) A transformation-based approach to Gaussian mixture density estimation for bounded data. Biometrical Journal, 61:4, 873–888. doi:10.1002/bimj.201800174

Author

Luca Scrucca