- Added new parameters to the
to_lm()
function. These arefix_names
which removes special functions such asd()
andL()
from the variable names, anddata_class
which converts the data class tots
.
- Added example of how to apply post-estimation tests, combining other packages.
-
Add new function
to_lm()
which convertsardl
,uecm
, andrecm
models, as well asdynlm
models inlm
models. Among other things, this helps using the model with other functions (e.g. withpredict()
to forecast) (issue #5, @melville1808). -
multipliers()
now has a new argument (se
) which allows the estimation of standard errors for the delay multipliers, using the delta method. (issue #17, @sammy-w) -
Add new function
plot_delay()
which creates plots (ggplot
) for the delay multipliers and their uncertainty intervals (standard errors or confidence intervals). -
Add new function
plot_lr()
which creates a plot (ggplot
) for the long-run relationship in comparison with the dependent variable, and the fitted values of the model.
-
The estimation of the interim multipliers was corrected. Delay multipliers are introduced along with the interim and they are now returned as a list with a data.frame for each variable containing the delay and interim multipliers for each period. Also, the maximum period for delay and interim multipliers was raised to 200.
-
ardl()
is now a generic function. The default method constructs an ardl model as it used to. The other method takes an uecm model and converts it into an ardl. -
recm()
can now estimate models which include 0 lags in the order of a variable.
- Updated the formulas for the uecm and recm equations making them more precise.
- Added a new dataset, the UK earnings equation data from Natsiopoulos and Tzeremes (2022). These are the data used to extend the study of Pesaran et al. (2001).
multipliers()
does not divide the short-run multipliers by the adjustment factor anymore (correction).
- Added corresponding variable names to ARDL orders.
- The
bounds_f_test
andbounds_t_test
functions now have a new returned valuePSS2001parameters
, ifalpha
is one of the 0.1, 0.05, 0.025 or 0.01,exact = FALSE
and k <= 10. These are the critical value bounds presented in Pesaran et al. (2001) but are less precise. Previously, only these were reported inparameters
.
e.g. In the following marginal case, according to the critical values of Pesaran et al. (2001), H0 is rejected but according to the p-value is not.
m1 <- uecm(w ~ Prod + UR + Wedge + Union | D7475 + D7579, order = c(5, 1, 5, 5, 5), data = PSS2001, start = c(1972, 01))
btt <- bounds_t_test(m1, case = 3, alpha = 0.05)}
btt$tab
btt$PSS2001parameters
-
Added
BugReports
in theDESCRIPTION
. -
Updated the references in
README
andCITATION
. -
Added codecov and badges.
multipliers()
was giving an error when trying to estimate short-run and interim multipliers using a model without a constant term.
- Added automated tests.
- Added the data used in Pesaran et al. (2001)
- Added dependency on R >= 3.5.0 because serialized objects in serialize/load version 3 cannot be read in older versions of R. File(s) containing such objects: ‘ARDL/data/PSS2001.rda’
-
Add DOI and references of the publication where the package is used and successfully replicates the results of the methodology it implements, in the
DESCRIPTION
andREADME.Rmd
files. -
Properly changed the citation info in the
CITATION
andardl-package.R
files.
- The
multipliers()
function now supports the calculation of short-run and interim multipliers.
-
Corrected the example about the
search_type
argument in the help file ofauto_ardl()
. -
Minor correction in the help file of
auto_ardl()
. -
Corrected the mathematical formula of the Long-Run multipliers in the help file of
multipliers()
. -
Corrected the mathematical formula of the bounds F-test in the help file of
bounds_f_test()
. -
Added the mathematical formulas of the short-run and interim multipliers in the help file of
multipliers()
. -
Properly changed the citation info in the
CITATION
,ardl-package.R
and
DESCRIPTION
files. -
Changed the designer's contact info in the logo.
-
Added a small example about short-run multipliers in the
README.md
file. -
Corrected the release date of version 0.1.0 in the
NEWS.md
file.