Auxiliary function that computes the unnormalized posterior density of HMM and Gaussian mixture.
ll_un_normalized_hmm_gm(paras, yobs, bool_hmm, priors)
The parameter for the HMM.
The observed data.
1 if it's HMM. 0 if it's Gaussian mixture.
Prior distribution.
It returns the unnormalized posterior density of HMM and Gaussian mixture.
See Manual.pdf in "inst/extdata" folder.
Yang Chen, Cheng-Der Fuh, Chu-Lan Kao, and Samuel Kou (2019+) "Determine the number of states in hidden markov models via marginal likelihood." Submitted.