HMM Procedure

DECODE Statement

  • DECODE <option>;

The DECODE statement solves the decoding problem by finding the best possible state path for the observations. You can specify the following option:

OUT=libref.data-table

writes the decoding results to the specified output data table. libref.data-table is a two-level name, where libref refers to the library, and data-table specifies the name of the output data table. For more information about this two-level name, see the DATA= option and the section Using CAS Sessions and CAS Engine Librefs.

Last updated: July 09, 2026