Package: lineartestr 1.0.0

lineartestr: Linear Specification Testing

Tests whether the linear hypothesis of a model is correct specified using Dominguez-Lobato test. Also Ramsey's RESET (Regression Equation Specification Error Test) test is implemented and Wald tests can be carried out. Although RESET test is widely used to test the linear hypothesis of a model, Dominguez and Lobato (2019) proposed a novel approach that generalizes well known specification tests such as Ramsey's. This test relies on wild-bootstrap; this package implements this approach to be usable with any function that fits linear models and is compatible with the update() function such as 'stats'::lm(), 'lfe'::felm() and 'forecast'::Arima(), for ARMA (autoregressive–moving-average) models. Also the package can handle custom statistics such as Cramer von Mises and Kolmogorov Smirnov, described by the authors, and custom distributions such as Mammen (discrete and continuous) and Rademacher. Manuel A. Dominguez & Ignacio N. Lobato (2019) <doi:10.1080/07474938.2019.1687116>.

Authors:Federico Garza [aut, cre]

lineartestr_1.0.0.tar.gz
lineartestr_1.0.0.zip(r-4.5)lineartestr_1.0.0.zip(r-4.4)lineartestr_1.0.0.zip(r-4.3)
lineartestr_1.0.0.tgz(r-4.4-any)lineartestr_1.0.0.tgz(r-4.3-any)
lineartestr_1.0.0.tar.gz(r-4.5-noble)lineartestr_1.0.0.tar.gz(r-4.4-noble)
lineartestr_1.0.0.tgz(r-4.4-emscripten)lineartestr_1.0.0.tgz(r-4.3-emscripten)
lineartestr.pdf |lineartestr.html
lineartestr/json (API)

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

Peer review:

Bug tracker:https://github.com/federicogarza/lineartestr/issues

On CRAN:

dominguez-lobato-testlinear-regressionlinear-specificationlobatoreset-testwild-bootstrap

2.70 score 1 stars 2 scripts 153 downloads 11 exports 65 dependencies

Last updated 4 years agofrom:bfeda5e532. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 15 2024
R-4.5-winOKNov 15 2024
R-4.5-linuxOKNov 15 2024
R-4.4-winOKNov 15 2024
R-4.4-macOKNov 15 2024
R-4.3-winOKNov 15 2024
R-4.3-macOKNov 15 2024

Exports:dominguez_lobato_testplot_dl_testplot_reset_testpresidualsreset_testrmammen_contrmammen_pointrrademacherstatistic_valueupdated_modelwald_test

Dependencies:bitbit64clicliprcolorspacecpp11crayoncurldplyrfansifarverforecastfracdiffgenericsggplot2gluegridExtragtablehmsisobandjsonlitelabelinglatticelifecyclelmtestmagrittrMASSMatrixmgcvmunsellnlmennetpillarpkgconfigprettyunitsprogresspurrrquadprogquantmodR6RColorBrewerRcppRcppArmadilloreadrrlangsandwichscalesstringistringrtibbletidyrtidyselecttimeDatetseriesTTRtzdburcautf8vctrsviridisviridisLitevroomwithrxtszoo