The R Package gets provides General-to-Specific (GETS) modelling of the mean and variance of a regression, and Indicator Saturation (ISAT) methods for detecting and testing for structural breaks in the mean. Facilities for user-specified GETS and ISAT methods are also provided.
The CRAN webpage of the package is: https://CRAN.R-project.org/package=gets. Here, on Github, we provide the development version of the package. For an overview of the files and folders, see below under ‘Overview of files and folders’.
Installation
The following R command installs the stable version from CRAN:
To install the current development version available here at Github, use the following command:
Resources
- An introduction (PDF): https://doi.org/10.18637/jss.v086.i03
- User-specified GETS and ISAT (PDF): https://journal.r-project.org/archive/2021/RJ-2021-024/
- Webpage: http://www.sucarrat.net/R/gets
- CRAN webpage: https://CRAN.R-project.org/package=gets
- https://felixpretis.climateeconometrics.org/software/
Overview of files and folders
The folder gets contains the ‘raw-material’ of the current development version of the package. The file gets_devel.tar.gz contains a tarball of the package that has passed the CRAN checks. See the instructions above for how to install this version.
Source code
The source code of the package is contained in the following files in the gets/R/ folder:
The first file contains the base functions of the package, and the functions related to the arx() function. The second file contains the functions related to the isat() function. The third file contains the functions related to the dlogitx() function. The fourth file contains the functions related to the lm() function. The associated help-files are contained in the folder named gets/man/.
Create and check the tarball
The files in 0-make-and-check-tarball-by-G is used by the maintainer to build and CRAN-check the tarball.