Learn R Programming

apt (version 2.4)

ecmAsyFit: Fitting Asymmetric Error Correction Model

Description

Estimate an asymmetric error correction model (ECM) for two time series.

Usage

ecmAsyFit(y, x, lag = 1, split = TRUE, 
    model = c("linear", "tar", "mtar"), thresh = 0)

Arguments

y
dependent or left-side variable for the long-run regression.
x
independent or right-side variable for the long-run regression.
lag
number of lags for variables on the right side.
split
a logical value (default of TRUE) of whether the right-hand variables should be split into positive and negative parts.
model
a choice of three models: linear, tar , or mtar cointegration.
thresh
a threshold value; this is only required when the model is specified as 'tar' or 'mtar.'

Value

  • Return a list object of class "ecm" and "ecmAsyFit" with the following components:
  • ydependend variable
  • xindependent variable
  • lagnumber of lags
  • splitlogical value of whether the right-hand variables are split
  • modelmodel choice
  • IndVardata frame of the right-hand variables used in the ECM
  • name.xname of the independent variable
  • name.yname of the dependent variable
  • ecm.yECM regression for the dependent variable
  • ecm.xECM regression for the independent variable
  • dataall the data combined for the ECM
  • threshthresh value for TAR and MTAR model

Details

There are two specficiations of an asymmetric ECM. The first one is how to calculate the error correction terms. One way is through linear two-step Engle Granger approach, as specificied by model="linear". The other two ways are threshold cointegration by either 'tar' or 'mtar' with a threshold value. The second specification is related to the possible asymmetric price transmission in the lagged price variables, as specified in split = TRUE. Note that the linear cointegration specification is a special case of the threshold cointegration. A model with model="linear" is the same as a model with model="tar", thresh = 0.

References

Enders, W., and C.W.J. Granger. 1998. Unit-root tests and asymmetric adjustment with an example using the term structure of interest rates. Journal of Business & Economic Statistics 16(3):304-311.

See Also

print.ecm; summary.ecm; ecmDiag; and ecmAsyTest.

Examples

Run this code
# see example at daVich

Run the code above in your browser using DataLab