rOmega {hmcdm}R Documentation

Generate a random transition matrix for the first order hidden Markov model

Description

Generate a random transition matrix under nondecreasing learning trajectory assumption

Usage

rOmega(TP)

Arguments

TP

A 2^K-by-2^K dichotomous matrix of indicating possible transitions under the monotonicity assumption, created with the TPmat function

Value

A 2^K-by-2^K transition matrix, the (i,j)th element indicating the transition probability of transitioning from i-th class to j-th class.

Examples

K = ncol(Q_matrix)
TP = TPmat(K)
Omega_sim = rOmega(TP)

[Package hmcdm version 2.1.1 Index]