HMM Procedure
Data Table Output
- OUT= Data Table Generated from the LABELSWITCH= Option in the PROC HMM Statement
- OUTSTAT= Data Table Generated from the PROC HMM Statement
- OUT= Data Table Generated from the DECODE Statement
- OUT= Data Table Generated from the ESTIMATE Statement
- OUTALL= Data Table Generated from the ESTIMATE Statement
- OUT= Data Table Generated from the EVALUATE Statement
- OUT= Data Table Generated from the FILTER Statement
- OUT= Data Table Generated from the FORECAST Statement
- OUTALL= Data Table Generated from the FORECAST Statement
- OUTMODEL= Data Table Generated from the SCORE Statement
- OUT= Data Table Generated from the SMOOTH Statement
The HMM procedure can create the data tables that are specified in the OUT= suboption of the LABELSWITCH= option in the PROC HMM statement; the OUTSTAT= option in the PROC HMM statement; the OUT= options in the DECODE, EVALUATE, FILTER, and SMOOTH statements; the OUT= and OUTALL= options in the ESTIMATE and FORECAST statements; and the OUTMODEL= option in the SCORE statement. The column information for each table is described in the following sections.
OUT= Data Table Generated from the LABELSWITCH= Option in the PROC HMM Statement
The output data table contains the following variables:
ModelIndexmodel index, if multiple models are estimated or scored
NStatenumber of states, if you specify a range of numbers of states in the NSTATE=
option
YLagorder of the autoregressive process, if you specify a range of orders of the autoregressive processes in the YLAG=
option
OldStateLabelold label of the state
OldComponentLabelold label of the component for a GM HMM
NewStateLabelnew label of the state
NewComponentLabelnew label of the component for a GM HMM
OUTSTAT= Data Table Generated from the PROC HMM Statement
The output data table contains the following variables:
ModelIndexmodel index, if multiple models are estimated or scored
NStatenumber of states, if you specify a range of numbers of states in the NSTATE=
option
YLagorder of the autoregressive process, if you specify a range of orders of the autoregressive processes in the YLAG=
option
LogLikelihoodlog likelihood
AICAkaike’s information criterion
AICCcorrected Akaike’s information criterion
BICBayesian information criterion (also referred to as the Schwarz Bayesian criterion, SBC)
HQCHannan-Quinn criterion
OUT= Data Table Generated from the DECODE Statement
The output data table contains the following variables:
ModelIndexmodel index, if multiple models are estimated or scored
NStatenumber of states, if you specify a range of numbers of states in the NSTATE=
option
YLagorder of the autoregressive process, if you specify a range of orders of the autoregressive processes in the YLAG=
option
Section ID Variablevalues of the variable that is specified in the SECTION= option in the ID statement
Time ID Variablevalues of the variable that is specified in the TIME= option in the ID statement
Statestate value in the most possible path
OUT= Data Table Generated from the ESTIMATE Statement
The output data table contains the following variables:
ModelIndexmodel index, if multiple models are estimated or scored
NStatenumber of states, if you specify a range of numbers of states in the NSTATE=
option
YLagorder of the autoregressive process, if you specify a range of orders of the autoregressive processes in the YLAG=
option
Indexindex of the parameter
Typetype of values in the
Statekvariables: EST for estimate and STD for standard errorParameterparameter name
Statekvalue for state k,
, where K is the number of states if you specify the NSTATE=K option; otherwise,
, the maximum of the range of numbers of states if you specify a range of numbers of states in the NSTATE=
option
OUTALL= Data Table Generated from the ESTIMATE Statement
The output data table contains the following variables:
ModelIndexmodel index, if multiple models are estimated or scored
NStatenumber of states, if you specify a range of numbers of states in the NSTATE=
option
YLagorder of the autoregressive process, if you specify a range of orders of the autoregressive processes in the YLAG=
option
Indexindex of the parameter
Parameterparameter name
Estimateparameter estimate
StdErrstandard error
COV_nvalue for column n,
, in the covariance matrix of parameter estimates, where N is the number of parameters if only one model is estimated or scored; otherwise, N is the maximum of numbers of parameters for all models
OUT= Data Table Generated from the EVALUATE Statement
The output data table contains the following variables:
ModelIndexmodel index, if multiple models are estimated or scored
NStatenumber of states, if you specify a range of numbers of states in the NSTATE=
option
YLagorder of the autoregressive process, if you specify a range of orders of the autoregressive processes in the YLAG=
option
Section ID Variablevalues of the variable that is specified in the SECTION= option in the ID statement
Time ID Variablevalues of the variable that is specified in the TIME= option in the ID statement
LogLikelihoodlog likelihood
OUT= Data Table Generated from the FILTER Statement
The output data table contains the following variables:
ModelIndexmodel index, if multiple models are estimated or scored
NStatenumber of states, if you specify a range of numbers of states in the NSTATE=
option
YLagorder of the autoregressive process, if you specify a range of orders of the autoregressive processes in the YLAG=
option
Section ID Variablevalues of the variable that is specified in the SECTION= option in the ID statement
Time ID Variablevalues of the variable that is specified in the TIME= option in the ID statement
Statekfiltered probability value for state k,
, where K is the number of states if you specify the NSTATE=K option; otherwise,
, the maximum of the range of numbers of states if you specify a range of numbers of states in the NSTATE=
option
OUT= Data Table Generated from the FORECAST Statement
The output data table contains the following variables:
ModelIndexmodel index, if multiple models are estimated or scored
NStatenumber of states, if you specify a range of numbers of states in the NSTATE=
option
YLagorder of the autoregressive process, if you specify a range of orders of the autoregressive processes in the YLAG=
option
Section ID Variablevalues of the variable that is specified in the SECTION= option in the ID statement
Time ID Variablevalues of the variable that is specified in the TIME= option in the ID statement
Stepvalue of h in the h-step-ahead forecast
Statekforecasted probability value for state k,
, where K is the number of states if you specify the NSTATE=K option; otherwise,
, the maximum of the range of numbers of states if you specify a range of numbers of states in the NSTATE=
option
{DVp}_Forecastmean forecast for dependent variable p,
, where
is the number of dependent variables; {DVp} stands for the name of dependent variable p
Q1first quantile value,
, where
is specified in the ALPHA=
option in the FORECAST statement
{DVp}_Q1first quantile forecast for dependent variable p,
, where
is the number of dependent variables; {DVp} stands for the name of dependent variable p
Q2second quantile value,
, where
is specified in the ALPHA=
option in the FORECAST statement
{DVp}_Q2second quantile forecast for dependent variable p,
, where
is the number of dependent variables; {DVp} stands for the name of dependent variable p
Q3{DVp}_Q3median forecast for dependent variable p,
, where
is the number of dependent variables; {DVp} stands for the name of dependent variable p
OUTALL= Data Table Generated from the FORECAST Statement
The output data table contains the following variables:
ModelIndexmodel index, if multiple models are estimated or scored
NStatenumber of states, if you specify a range of numbers of states in the NSTATE=
option
YLagorder of the autoregressive process, if you specify a range of orders of the autoregressive processes in the YLAG=
option
Section ID Variablevalues of the variable that is specified in the SECTION= option in the ID statement
Time ID Variablevalues of the variable that is specified in the TIME= option in the ID statement
Stepvalue of h in the h-step-ahead forecast
Indexindex of the dependent variable
Variabledependent variable name
Statekforecasted probability value for state k,
, where K is the number of states if you specify the NSTATE=K option; otherwise,
, the maximum of the range of numbers of states if you specify a range of numbers of states in the NSTATE=
option
Forecastmean forecast for the dependent variable
StdErrstandard error of forecast for the dependent variable
LowerCLlower confidence limit of forecast for the dependent variable
UpperCLupper confidence limit of forecast for the dependent variable
Medianmedian forecast for the dependent variable
COV_{DVp}value for column p,
, in the covariance matrix of forecasts of dependent variables, where
is the number of dependent variables; {DVp} stands for the name of the dependent variable p
OUTMODEL= Data Table Generated from the SCORE Statement
The output data table consists of binary large object columns to store the binary data, which should be consumed only by the INMODEL= option in the SCORE statement. The number of columns and the definition of columns might be changed without notice in future releases. Do not edit the content of this output data table. If you run the PRINT procedure on this data table, you get a row of zeros or meaningless characters because the data type of each column is binary.
OUT= Data Table Generated from the SMOOTH Statement
The output data table contains the following variables:
ModelIndexmodel index, if multiple models are estimated or scored
NStatenumber of states, if you specify a range of numbers of states in the NSTATE=
option
YLagorder of the autoregressive process, if you specify a range of orders of the autoregressive processes in the YLAG=
option
Section ID Variablevalues of the variable that is specified in the SECTION= option in the ID statement
Time ID Variablevalues of the variable that is specified in the TIME= option in the ID statement
Stateksmoothed probability value for state k,
, where K is the number of states if you specify the NSTATE=K option; otherwise,
, the maximum of the range of numbers of states if you specify a range of numbers of states in the NSTATE=
option