/BETS

Package to obtain and analyze thousands of Brazilian economic time series

Primary LanguageRGNU General Public License v3.0GPL-3.0

BETS

Build Status Build Status CRAN_Status_Badge downloads Github Stars GitHub repo size in bytes CRAN

Screenshot

Please read this carefully before using the latest BETS version (0.4.4)

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)

  1. 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
  1. Package forecast's newest version (8.3) contains a bug in ndiffs. 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 install forecast 8.2:
remove.packages("forecast")
install.packages("devtools")
devtools::install_version("forecast", version = "8.2", type = "source")