NDK_X12_FORE_SERIES

int __stdcall NDK_X12_FORE_SERIES ( LPCSTR  szScenarioName,
size_t  nStep,
WORD  retType,
double *  pData 
)

Read the output forecaste series generated by x12a program.

Returns
status code of the operation
Return values
NDK_SUCCESS  Operation successful
NDK_FAILED  Operation unsuccessful. See Macros for full list.
Parameters
[in] szScenarioName   is the given X12-ARIMA scenario/model identifier
[in] nStep is the forecast horizon
[in] retType is the switch to designate desired output
  1. Mean
  2. Lower limit value of the conficent interval
  3. Upper limit value of the confidence interval
[out] pData is the forecast output value
Remarks
  1. The underlying model is described here.
  2. The X12-ARIMA model specification must specify a forecast horizon, or this function fails
Requirements
Header SFSDK.H
Library SFSDK.LIB
DLL SFSDK.DLL
Examples