Estimate Hidden Markov Processes from Data 

Estimate a two-state hidden Markov process with three possible emission values from the given data.

In[1]:=
Click for copyable input
X
In[2]:=
Click for copyable input
X
Out[2]=

Compute the loglikelihood for the data under the estimated process.

In[3]:=
Click for copyable input
X
Out[3]=

Estimate a two-state process with continuous emissions.

In[4]:=
Click for copyable input
X

The overlaid histograms for each path suggest Gaussian emissions.

In[5]:=
Click for copyable input
X
Out[5]=

Compare the results from the default BaumWelch method and Viterbi training.

In[6]:=
Click for copyable input
X
Out[6]=
In[7]:=
Click for copyable input
X
Out[7]=

The data has higher loglikelihood with the BaumWelch estimated process.

In[8]:=
Click for copyable input
X
Out[8]=
de es ja pt-br zh