When t > t0 , we term this prediction, and when t ≤ t0 , we term it fifiltering. The maximal likelihood solutions to these problems for 2nd Order processes are related to the Viterbi algorithm where the distribution is modeled by a Hidden Markov Model (HMM) and the Kalman fifilter when the distribution is modifified by a nondeterministic linear dynamical system.