ldhmm.log_forward: Computing the log forward and backward probabilities

View source: R/ldhmm-log_forward.R

ldhmm.log_forwardR Documentation

Computing the log forward and backward probabilities

Description

This utility computes the logarithms of the forward and backward probabilities, aka alpha and beta. The logarithm keeps the computation away from floating point under/over-flow. (Zucchini, 5.4)

Usage

ldhmm.log_forward(object, x)

ldhmm.log_backward(object, x)

Arguments

object

an ldhmm object

x

numeric, the observations.

Value

numeric, the log probabilities

Author(s)

Stephen H. Lihn


ldhmm documentation built on May 29, 2024, 7:05 a.m.