Description Usage Arguments Details Value References
View source: R/HMMorderselectionfacility.R
Auxiliary function that simulates mixture normal/t-distribution. Used when approximating marginal likelihood.
1 | sample_mixture(N, list_paras, df_t)
|
N |
The number of sample to be drawn. |
list_paras |
Parameter as a dataset, including $p for probability weight, $Mu for the mean of each mixture component, and $Sigma for the standard deviation of each mixture component. |
df_t |
Degree of freedom of the t-distribution. If df_t==0, then it is treated as a normal distribution. |
See Manual.pdf in "inst/extdata" folder.
It returns the sample of the simulated mixture normal/student-t distribution.
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.