A scaled Viterbi algorithm for allocating clones to one of four 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 four underlying states as fitted using a heterogeneous HMM.
一个工作马的fit.model功能。它采用了Viterbi算法的规模,分配克隆四种基本状态,如安装使用异构的HMM。
用法----------Usage----------
Viterbi.four(y, BFGS.output, BFGS.trans.mat)
参数----------Arguments----------
参数:y
the data to be allocated to states
数据被分配到国家
参数:BFGS.output
The output obtained from the find.param.four function
获得从find.param.four功能输出
参数:BFGS.trans.mat
A list of the heterogeneous transition matrices
异构过渡矩阵列表
值----------Value----------
A vector of numbers indicating to which state clones are allocated to.
一个数字表明,被分配到国家克隆向量。