Package: egcm 1.0.13

egcm: Engle-Granger Cointegration Models

An easy-to-use implementation of the Engle-Granger two-step procedure for identifying pairs of cointegrated series. It is geared towards the analysis of pairs of securities. Summary and plot functions are provided, and the package is able to fetch closing prices of securities from Yahoo. A variety of unit root tests are supported, and an improved unit root test is included.

Authors:Matthew Clegg [aut, cre, cph]

egcm_1.0.13.tar.gz
egcm_1.0.13.zip(r-4.5)egcm_1.0.13.zip(r-4.4)egcm_1.0.13.zip(r-4.3)
egcm_1.0.13.tgz(r-4.4-any)egcm_1.0.13.tgz(r-4.3-any)
egcm_1.0.13.tar.gz(r-4.5-noble)egcm_1.0.13.tar.gz(r-4.4-noble)
egcm_1.0.13.tgz(r-4.4-emscripten)egcm_1.0.13.tgz(r-4.3-emscripten)
egcm.pdf |egcm.html
egcm/json (API)

# Install 'egcm' in R:
install.packages('egcm', repos = c('https://matthewclegg.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/matthewclegg/egcm/issues

On CRAN:

4.63 score 16 stars 53 scripts 441 downloads 30 exports 38 dependencies

Last updated 2 years agofrom:0354b5a386. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 02 2024
R-4.5-winNOTENov 02 2024
R-4.5-linuxNOTENov 02 2024
R-4.4-winNOTENov 02 2024
R-4.4-macNOTENov 02 2024
R-4.3-winOKNov 02 2024
R-4.3-macOKNov 02 2024

Exports:acoradf_poweradf_power_tableallpairs.egcmbvr_powerbvr_power_tablebvr_rhobvr.testdetrendegcmegcm.default.i1testegcm.default.pvalueegcm.default.urtestegcm.i1testsegcm.set.default.i1testegcm.set.default.pvalueegcm.set.default.urtestegcm.urtestsis.ar1is.cointegratedpgff_powerpgff_power_tablepgff_rho_wspgff.testrar1rcointsim.egcmur_powerur_power_tableyegcm

Dependencies:clicolorspacecurlfansifarverggplot2gluegtableisobandjsonlitelabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigpracmaquadprogquantmodR6RColorBrewerrlangscalestibbletseriesTTRurcautf8vctrsviridisLitewithrxtszoo

Readme and manuals

Help Manual

Help pageTopics
Simplified Engle-Granger Cointegration Modelsegcm-package
autocorrelationacor
Perform cointegration tests for all pairs of securities in a listallpairs.egcm
Unit root test based upon Breitung's variance ratiobvr.test bvr_rho
Remove a linear trend from a vectordetrend
Simplified Engle-Granger Cointegration Modelegcm is.ar1 is.cointegrated plot.egcm summary.egcm
Set and get defaults for Engle-Granger cointegration modelsegcm.default.i1test egcm.default.pvalue egcm.default.urtest egcm.i1tests egcm.set.default.i1test egcm.set.default.pvalue egcm.set.default.urtest egcm.urtests
Unit root test of Pantula, Gonzales-Farias and Fullerpgff.test pgff_rho_ws
Random AR(1) vectorrar1
Random generation of cointegrated sequencesrcoint
Generate simulated data from an Engle-Granger cointegration modelsim.egcm
Power assessment for unit root testsadf_power adf_power_table bvr_power bvr_power_table pgff_power pgff_power_table ur_power ur_power_table
Engle-Granger cointegration model from Yahoo! price seriesyegcm