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.5-any)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'))

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

On CRAN:

Conda:

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

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

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

TargetResultLatest binary
Doc / VignettesOKMar 15 2025
R-4.5-winOKMar 15 2025
R-4.5-macOKMar 15 2025
R-4.5-linuxOKMar 15 2025
R-4.4-winOKMar 15 2025
R-4.4-macOKMar 15 2025
R-4.4-linuxOKMar 15 2025
R-4.3-winOKMar 15 2025
R-4.3-macOKMar 15 2025

Exports:dominguez_lobato_testplot_dl_testplot_reset_testpresidualsreset_testrmammen_contrmammen_pointrrademacherstatistic_valueupdated_modelwald_test

Dependencies:bitbit64clicliprcolorspacecpp11crayoncurldplyrfansifarverforecastfracdiffgenericsggplot2gluegridExtragtablehmsisobandjsonlitelabelinglatticelifecyclelmtestmagrittrMASSMatrixmgcvmunsellnlmennetpillarpkgconfigprettyunitsprogresspurrrquadprogquantmodR6RColorBrewerRcppRcppArmadilloreadrrlangsandwichscalesstringistringrtibbletidyrtidyselecttimeDatetseriesTTRtzdburcautf8vctrsviridisviridisLitevroomwithrxtszoo