Package: diagL1 1.0.0

diagL1: Routines for Fit, Inference and Diagnostics in Linear L1 and LAD Models

Diagnostics for linear L1 regression (also known as LAD - Least Absolute Deviations), including: estimation, confidence intervals, tests of hypotheses, measures of leverage, methods of diagnostics for L1 regression, special diagnostics graphs and measures of leverage. The algorithms are based in Dielman (2005) <doi:10.1080/0094965042000223680>, Elian et al. (2000) <doi:10.1080/03610920008832518> and Dodge (1997) <doi:10.1006/jmva.1997.1666>. This package builds on the 'quantreg' package, which is a well-established package for tuning quantile regression models. There are also tests to verify if the errors have a Laplace distribution based on the work of Puig and Stephens (2000) <doi:10.2307/1270952>.

Authors:Kevin Allan Sales Rodrigues [aut, cre], Silvia Nagib Elian [ctb, ths]

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

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

Peer review:

Datasets:

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.00 score 176 downloads 22 exports 32 dependencies

Last updated 10 months agofrom:9371787c4d. Checks:OK: 5 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 26 2024
R-4.5-winNOTEOct 26 2024
R-4.5-linuxNOTEOct 26 2024
R-4.4-winOKOct 26 2024
R-4.4-macOKOct 26 2024
R-4.3-winOKOct 26 2024
R-4.3-macOKOct 26 2024

Exports:boot_het.regL1boot.regL1class_to_regL1class_to_rqCookDistancedlaplaceFDforwardSearch_regL1HV_testlambda_mlelambda_roslaplace.dist.testLF_testlikelihoodCDlikelihoodDPIFplaplaceqlaplaceregL1regL1_hetrlaplaceSAE

Dependencies:assertthatbootclicodetoolsconquercubaturedoParallelforeachgluegreekLettersiteratorsKendalllatticelawstatlifecyclemagrittrMASSMatrixMatrixModelsmatrixStatsmvtnormquantregrbibutilsRcppRcppArmadilloRdpackrlangSparseMstringistringrsurvivalvctrs

Readme and manuals

Help Manual

Help pageTopics
Bile Databile
Bootstrapping Linear L1 Modelsboot_het.regL1
Bootstrapping Linear L1 Modelsboot.regL1
Change object class from "rq" to "regL1"class_to_regL1
Change object class from "regL1" to "rq"class_to_rq
Calculate Cook DistanceCookDistance
Probability density function (PDF) of the Laplace distributiondlaplace
F DistanceFD
Fire DataFire
Forward Search in Linear L1 ModelsforwardSearch_regL1
Homogeneity of Variance Tests for Linear L1 ModelsHV_test
Function to estimate lambda via MLElambda_mle
Function to calculate robust lambda estimatorlambda_ros
Wrapper for the 'laplace.test' function from the 'lawstat' packagelaplace.dist.test
Lack of Fit Tests for Linear L1 ModelsLF_test
Calculate Conditional Likelihood DisplacementlikelihoodCD
Calculate Likelihood DisplacementlikelihoodD
Predictive Influence FunctionPIF
Cumulative distribution function (CDF) of the Laplace distributionplaplace
Forward Search in Linear L1 Modelsplot.forwardSearch_regL1
Print an forwardSearch_regL1 objectprint.forwardSearch_regL1
Print an regL1 objectprint.regL1
Print Forward Search in Linear L1 Model Summary Objectprint.summary.forwardSearch_regL1
Print Linear L1 Regression Summary Objectprint.summary.regL1
Quantile function (inverse of the CDF) of the Laplace distributionqlaplace
Fitting Linear L1 ModelsregL1
Fitting Heteroscedastic Linear L1 ModelsregL1_het
Function to generate random values from the Laplace distributionrlaplace
Function to calculate SAESAE
Summarizing Fit of Forward Search in Linear L1 Regressionsummary.forwardSearch_regL1
Summary methods for L1 Regressionsummary.regL1