print.summary.hmm: Summarizing Hidden Markov Models

Description Usage Arguments Details Value Examples

View source: R/misc_methods.R

Description

Summary method for class "hmm"

Usage

1
2
## S3 method for class 'summary.hmm'
print(x, ...)

Arguments

...

Additional arguments passed to fitted.hmm

Details

The function prints a summary of the parameters of the given model in a more human-readable format. If fitted, it also provides model fitness statistics in the form of log-likelihood, AIC and BIC.

Value

If no data is available, essentially returns just the object ordered in a more reasonable manner and without internal functions. Otherwise, also returns fitted values and residuals.

Examples

1
2
3
4
5
6
7
8
## Continuation of Earthquake example

summary(hmm.EQ)

## Continuation of simulated mixture data

hmm.mixture_X <- hmm(X.mixture, Gamma=Gamma, delta=delta, lls=lls, param_lls=param, lls_mle=lls_mle, rdist=rdist, estimate=FALSE)
summary(hmm.mixture_X)

AdvancedR-2021/hmm documentation built on Dec. 17, 2021, 7:41 a.m.