This video shows how to use the HMM procedure in SAS Viya. The HMM procedure supports hidden Markov models, which are widely applied in economics, finance, science, and engineering. In this video, PROC HMM is used to analyze S&P 500 index daily data.