BETS
The package went through considerable changes.
BETS - Brazilian Economic Times Series
Installation
# cran version
install.packages("BETS")
# dev version
devtools::install_github("nmecsys/BETS")
Usage
library(BETS)
❗ Important (update 0.4.2)
- BETS package underwent major changes in response to R Journal's reccomendations:
- New function names (see table below)
- Database onnection credentials are now encrypted
- Sample data was included in
/data
, to allow the user to run examples even when offline, or when our server is down.
Old name | New name |
---|---|
BETS.search | BETSsearch |
BETS.get | BETSget |
BETS.chart | chart |
BETS.save.sas | saveSas |
BETS.save.stata | saveStata |
BETS.save.spss | saveSpss |
BETS.corrgram | corrgram |
BETS.dashboard | dashboard |
BETS.deflate | deflate |
BETS.dummy | dummy |
BETS.grnn.test | grnn.test |
BETS.grnn.train | grnn.train |
BETS.normalize | normalize |
BETS.predict | predict |
BETS.report | report |
BETS.sidra.get | sidraGet |
BETS.sidra.search | sidraSearch |
BETS.std_resid | std_resid |
BETS.t_test | t_test |
BETS.ur_test | ur_test |
- Package
forecast
's newest version (8.3) contains a bug inndiffs
. An error arises when trying to run Augmented Dickey-Fuller (ADF) tests. Therefore, BETS'report
function does not work properly if the user opt for SARIMA analysis with ADF tests. A solution is to installforecast 8.2
:
remove.packages("forecast")
install.packages("devtools")
devtools::install_version("forecast", version = "8.2", type = "source")