Estimate a symmetric error correction model (ECM) for two time series.
ecmSymFit(y, x, lag = 1)
Return a list object of class "ecm" and "ecmSymFit" with the following components:
dependend variable
independent variable
number of lags
all the data combined for the ECM
data frame of the right-hand variables used in the ECM
name of the independent variable
name of the dependent variable
ECM regression for the dependent variable
ECM regression for the independent variable
dependent or left-side variable for the long-run regression.
independent or right-side variable for the long-run regression.
number of lags for variables on the right side.
Changyou Sun (edwinsun258@gmail.com)
The package apt
focuses on price transmission between two series. This function estimates a standard error correction model for two time series. While it can be extended for more than two series, it is beyond the objective of the package now.
Enders, W. 2004. Applied Econometric Time Series. John Wiley & Sons, Inc., New York. 480 P.
print.ecm
; summary.ecm
; ecmDiag
; and ecmAsyFit
.