powered by
A function that applies autoregressive distributed lag models of order (p , q) with one predictor.
ardlDlm(x , y , p = 1 , q = 1 , show.summary = TRUE)
A vector including the observations of predictor time series. This is not restricted to ts objects.
ts
A vector including the observations of dependent time series. This is not restricted to ts objects.
An integer representing the order of autoregressive process.
An integer representing finite lag length.
If TRUE, prints standard model summary for the model of interest.
TRUE
An object of class lm. See the details of lm function.
lm
A vector composed of \(p\) and \(q\) orders.
The autoregressive DLM is a flexible and parsimonious infinite DLMs. We write the model ARDL\((p, q)\) as
$$ Y_{t} = \mu+ \beta_{0}X_{t}+\beta_{1}X_{t-1}+\cdots +\beta_{p}X_{t-p}+\gamma_{1}Y_{t-1}+\cdots+\gamma_{q}Y_{t-q}+e_{t}. $$
B.H. Baltagi. Econometrics, Fifth Ed. Springer, 2011.
R.C. Hill, W.E. Griffiths, G.G. Judge. Undergraduate Econometrics. Wiley, 2000.
# NOT RUN { data(warming) model.ardl = ardlDlm(x = warming$NoMotorVehicles, y = warming$Warming, p = 1 , q = 1 , show.summary = TRUE) # }
Run the code above in your browser using DataLab