NDK_X12_OUT_SERIES

int __stdcall NDK_X12_OUT_SERIES ( LPCSTR  szScenarioName,
WORD  nComponent,
double *  pData,
size_t *  nLen 
)

Read the output time series (e.g. seasonal adjusted data) 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 scenario/model
[in] nComponent  is the desired output of the X12a output
Value Description
1 Final seasonal factors (d11)
2 final trend-cycle (d12)
3 final irregular component (d13)
4 final seasonal factors (d10)
5 combined holiday and trading day factors (d18)
6 combined seasonal and trading day factors (d16)
[out] pData is the output buffer to hold the data series
[in,out] nLen is the original size of the output buffer. Upon return, nLen will have the actual number of data copied.
Remarks
  1. The underlying model is described here.
Requirements
Header SFSDK.H
Library SFSDK.LIB
DLL SFSDK.DLL
Examples


   
References
* Hamilton, J .D.; Time Series Analysis , Princeton University Press (1994), ISBN 0-691-04289-6
* Tsay, Ruey S.; Analysis of Financial Time Series John Wiley & SONS. (2005), ISBN 0-471-690740
* D. S.G. Pollock; Handbook of Time Series Analysis, Signal Processing, and Dynamics; Academic Press; Har/Cdr edition(Nov 17, 1999), ISBN: 125609906
* Box, Jenkins and Reisel; Time Series Analysis: Forecasting and Control; John Wiley & SONS.; 4th edition(Jun 30, 2008), ISBN: 470272848