A scaled Viterbi algorithm for allocating clones to one of two underlying states.
一个克隆分配到两个基本状态之一的规模Viterbi算法。
译者:生物统计家园网 机器人LoveR
描述----------Description----------
A work horse of the fit.model function. It uses a scaled version of the Viterbi algorithm to allocate clones to one of three underlying states as fitted using a heterogeneous HMM.
一个工作马的fit.model功能。它采用了Viterbi算法的规模,分配克隆三个基本装使用异构HMM的状态。
用法----------Usage----------
Viterbi.three(y, BFGS.output, BFGS.trans)
参数----------Arguments----------
参数:y
the data to be allocated to states
数据被分配到国家
参数:BFGS.output
The output obtained from the find.param.three function
获得从find.param.three功能输出
参数:BFGS.trans
A list of the heterogeneous transition matrices
异构过渡矩阵列表
值----------Value----------
A vector of numbers indicating to which state clones are allocated to.
一个数字表明,被分配到国家克隆向量。