Download Programming Reference - Time Series Modelling (TSM)

Transcript
incompatible commands, etc. etc. These are the same lines of text that appear in
the results window when the program runs in GUI mode.
To locate elements of the vectors PARAMETERS and STANDARD_ERRORS, and also
of the array PARAMETER_NAMES, use the globally defined vector g_cP and defined
constants, as follows:
g_cP[UF]
User function parameters
g_cP[IN]
intercept
g_cP[RG1]
regressors of Type 1
g_cP[RG2]
regressors of Type 2
g_cP[RG3]
regressors of Type 3
g_cP[D]
ARFIMA d
g_cP[AR]
AR coefficients
g_cP[MA]
MA coefficients
g_cP[BAR]
Bilinear AR coefficients
g_cP[BMA]
Bilinear MA coefficients
g_cP[GI]
GARCH intercept, or Error Variance
g_cP[GAR]
GARCH AR coefficients
g_cP[GMA]
GARCH MA coefficients
g_cP[FGD]
FIGARCH d or HYGARCH memory and amplitude
parameters
g_cP[TG]
ASYMM coefficient
g_cP[GR1]
GARCH regressors of Type 1
g_cP[GR2]
GARCH regressors of Type 2
g_cP[GR3]
GARCH regressors of Type 3
g_cP[NT]
Student's t-degrees of freedom parameter
g_cP[MKS]
Markov switching parameters
g_cP[ES1]
Explaining regime 1
g_cP[ES2]
Explaining regime 2
g_cP[ES3]
Explaining regime 3
g_cP[EQL]
Equilibrium relations
g_cP[COV]
Error correlations (equation systems only)
Example 1: if an AR(3) is fitted, the AR coefficients are found at locations
PARAMETERS[g_cP[AR]], PARAMETERS[g_cP[AR]+1] and
PARAMETERS[g_cP[AR]+2].
Example 2: If there are two regressors of Type 1 included, the coefficients are at
locations
PARAMETERS[g_cP[RG1]] and PARAMETERS[g_cP[RG1]+1]
The names of these parameters can be found in the corresponding elements of the array
PARAMETER_NAMES.
If a Markov-switching model is fitted, use the function LocTP.
LocTP(const iReg, const iPar)
iReg:
the regime
46
James Davidson 2015