hmm-ll {stochmod}R Documentation

Hidden Markov Models

Description

Computes log-likelihood of new observation sequences given a previously trained model

Usage

HMM.ll( x, hmm )

Arguments

x A matrix of a list of matrices containing one or more observation sequences
hmm A hidden markov model created by functions like HMM.learn or HMM.make

Value

If x is a single matrix, the function returns the log-likelihood of that observation sequence as a single value. If x is a list of observation sequences, the log-likelihood values are computed for each sequence and returned together in a list.

Author(s)

Artem Sokolov Artem.Sokolov@gmail.com


[Package stochmod version 1.2 Index]