ULUstateSample: Hidden State Sampler

View source: R/ULUstateSample.r

ULUstateSampleR Documentation

Hidden State Sampler

Description

Sample hidden states from hidden Markov multilinear model. Uses vectorized operations for improved performance.

Usage

ULUstateSample(m, s, ZMUt, s2, P, SOS.random)

Arguments

m

The number of break

s

Latent state vector

ZMUt

Z - MU

s2

error variance

P

Transition matrix

SOS.random

single observation state random perturbation

Value

A list of a state vector, state probabilities, and SOS.random.


NetworkChange documentation built on Jan. 21, 2026, 9:08 a.m.