Learn R Programming

fdaMocca (version 0.1-2)

summary.mocca: Summary for a mocca fit

Description

Takes a mocca object produced by mocca() and produces various useful summaries from it.

Usage

# S3 method for mocca
summary(object,...)

# S3 method for summary.mocca print(x,digits = max(3, getOption("digits") - 3),...)

Value

summary.mocca produces the following list of summary information for a mocca object.

N

number of observations

K

number of clusters

r

number of scalar covariates if model with covariates

sig2

residual variance estimate for the functional data and for the scalar covariates (if the model is with covariates)

p

total number of the estimated parameters in the model

tab_numOfCurves_cluster

number of objects/curves in each cluster as a table. Here 'hard' clustering is applied, where each object/curve belongs to a cluster with the highest posterior probability.

covariates_est

mean value estimates for scalar covariates given cluster belongings (if the model is with covariates)

t.probs

estimated probabilities of belonging to each cluster

crita

a table with the maximized log likelihood, AIC, BIC and Shannon entropy values of the fitted model

Arguments

object

a fitted mocca object as produced by mocca().

x

a summary.mocca object produced by summary.mocca().

digits

controls the number of digits printed in the output.

...

other arguments.

Author

Per Arnqvist, Sara Sjöstedt de Luna, Natalya Pya Arnqvist

See Also

mocca

Examples

Run this code
## see ?mocca help files

Run the code above in your browser using DataLab