Package robustreg. R topics documented: April 27, Version Date Title Robust Regression Functions

Similar documents
Package inca. February 13, 2018

Package smoothmest. February 20, 2015

Package TVsMiss. April 5, 2018

Package ramcmc. May 29, 2018

Package MTLR. March 9, 2019

Package ECctmc. May 1, 2018

Package hiernet. March 18, 2018

Package RaPKod. February 5, 2018

Package influence.sem

Package ADMM. May 29, 2018

Package ccapp. March 7, 2016

Package subplex. April 5, 2018

Package robets. March 6, Type Package

Package GLDreg. February 28, 2017

Package libstabler. June 1, 2017

Package bife. May 7, 2017

Package robustgam. February 20, 2015

Package rmi. R topics documented: August 2, Title Mutual Information Estimators Version Author Isaac Michaud [cre, aut]

Package gee. June 29, 2015

Package GADAG. April 11, 2017

Package GenSA. R topics documented: January 17, Type Package Title Generalized Simulated Annealing Version 1.1.

NCSS Statistical Software. Robust Regression

Package milr. June 8, 2017

Package robustgam. January 7, 2013

Package SSLASSO. August 28, 2018

Package ibm. August 29, 2016

NAG Fortran Library Routine Document G02HKF.1

Package elmnnrcpp. July 21, 2018

Package mcemglm. November 29, 2015

Package CompGLM. April 29, 2018

Package CircOutlier. January 12, 2016

Package strat. November 23, 2016

Package CVR. March 22, 2017

Package diagis. January 25, 2018

Package pnmtrem. February 20, Index 9

Package intcensroc. May 2, 2018

Package nlnet. April 8, 2018

Package SAENET. June 4, 2015

Package fasttextr. May 12, 2017

Overview. Background. Locating quantitative trait loci (QTL)

Package apastyle. March 29, 2017

Package sgd. August 29, 2016

Package glinternet. June 15, 2018

Package KRMM. R topics documented: June 3, Type Package Title Kernel Ridge Mixed Model Version 1.0 Author Laval Jacquin [aut, cre]

Package psda. September 5, 2017

Package PPtreeViz. R topics documented: February 14, 2018

Package quadprogxt. February 4, 2018

Package treethresh. R topics documented: June 30, Version Date

Package assortnet. January 18, 2016

Package mhde. October 23, 2015

SAS/STAT 13.1 User s Guide. The ROBUSTREG Procedure

Package RobustGaSP. R topics documented: September 11, Type Package

Package acebayes. R topics documented: November 21, Type Package

Package automl. September 13, 2018

Package OLScurve. August 29, 2016

Package bayeslongitudinal

Package GauPro. September 11, 2017

Package glmmml. R topics documented: March 25, Encoding UTF-8 Version Date Title Generalized Linear Models with Clustering

Package optimization

Package qboxplot. November 12, qboxplot... 1 qboxplot.stats Index 5. Quantile-Based Boxplots

Package sparsereg. R topics documented: March 10, Type Package

Package sfadv. June 19, 2017

Package rpst. June 6, 2017

Package TANDEM. R topics documented: June 15, Type Package

Package cwm. R topics documented: February 19, 2015

Package geogrid. August 19, 2018

Package SAM. March 12, 2019

Package ANOVAreplication

Package atmcmc. February 19, 2015

Package mmtsne. July 28, 2017

Package DTRreg. August 30, 2017

Package ssmn. R topics documented: August 9, Type Package. Title Skew Scale Mixtures of Normal Distributions. Version 1.1.

CDAA No. 4 - Part Two - Multiple Regression - Initial Data Screening

Package RAMP. May 25, 2017

Package merror. November 3, 2015

Package filling. December 11, 2017

Package dglm. August 24, 2016

Package NNLM. June 18, 2018

Package flam. April 6, 2018

Package palmtree. January 16, 2018

Package nsprcomp. August 29, 2016

Package bayesdp. July 10, 2018

Package DRaWR. February 5, 2016

Package Numero. November 24, 2018

Package validara. October 19, 2017

Package stapler. November 27, 2017

Package JGEE. November 18, 2015

Package PUlasso. April 7, 2018

Package CMPControl. February 19, 2015

Robust Regression. Robust Data Mining Techniques By Boonyakorn Jantaranuson

Package mixsqp. November 14, 2018

Package rmumps. September 19, 2017

Package vinereg. August 10, 2018

Package RcppProgress

Package BigVAR. R topics documented: April 3, Type Package

Package desirability

Package Rtsne. April 14, 2017

Package PedCNV. February 19, 2015

Package mtsdi. January 23, 2018

Package StVAR. February 11, 2017

Transcription:

Version 0.1-10 Date 2017-04-25 Title Robust Regression Functions Package robustreg April 27, 2017 Author Ian M. Johnson <ian@alpha-analysis.com> Maintainer Ian M. Johnson <ian@alpha-analysis.com> Depends R (>= 3.0.0) Linear regression functions using Huber and bisquare psi functions. Optimal weights are calculated using IRLS algorithm. License GPL (>= 2) Imports stats (>= 3.0.0), Matrix (>= 1.1.0), Rcpp (>= 0.11.3) LinkingTo Rcpp, RcppArmadillo NeedsCompilation yes Repository CRAN Date/Publication 2017-04-27 10:18:04 UTC R topics documented: fit_rcpp........................................... 2 mad_rcpp.......................................... 2 median_rcpp........................................ 3 psibs_rcpp......................................... 3 psihuber_rcpp........................................ 4 robustregbs........................................ 4 robustregh......................................... 5 Index 7 1

2 mad_rcpp fit_rcpp Predict y from X and b Predict y vector from X design matrix and b vector fit_rcpp(x,b) X b Design matrix Estimates of beta fit_rcpp(x,b) mad_rcpp Median Absolute Deviation (MAD) Rcpp fast implementation of median absolute deviation (MAD) mad_rcpp(r,scale_factor = 1.4826) r scale_factor A numeric vector Scale factor mad_rcpp(r,scale_factor = 1.4826)

median_rcpp 3 median_rcpp Median Rcpp fast implementation of median median_rcpp(x) x A numeric vector containing the values whose median is to be computed. median_rcpp(x) psibs_rcpp Tukey s Bisquare Psi Function Rcpp fast implementation of Tukey s Bisquare psi function psibs_rcpp(r,c) r c A numeric vector Tuning constant psibs_rcpp(r,c)

4 robustregbs psihuber_rcpp Huber Psi Function Rcpp fast implementation of Huber s Psi Function psihuber_rcpp(r,c) r c A numeric vector Tuning constant psihuber_rcpp(r,c) robustregbs Robust Fitting of Linear Models using Bisquare Psi Function Using iteratively reweighted least squares (IRLS), the function calculates the optimal weights to perform m-estimator or bounded influence regression. Returns robust beta estimates, mean squared error (MSE) and prints robust ANOVA table. robustregbs(formula,data,tune=4.685,m=true,max.it=1000,tol=1e-5,anova.table=false) formula data tune m max.it tol anova.table Model A data frame containing the variables in the model. Tuning Constant. Default value of 4.685 is 95% asymptotically efficient against outliers If TRUE, calculates m estimates of beta. If FALSE, calculates bounded influence estimates of beta Maximum number of iterations to achieve convergence in IRLS algorithm Tolerance level in determining convergence If TRUE, prints robust ANOVA table

robustregh 5 Details M-estimates of beta should be used when evaluating least squares estimates of beta and diagnostics show outliers. Least squares estimates of beta should be used as starting points to achieve convergence. Bounded influence estimates of beta should be used when evaluating least squares estimates of beta and diagnostics show large values of the "Hat Matrix" diagonals and outliers. Note Original package written in 2006 Author(s) Ian M. Johnson <ian@alpha-analysis.com> References Tukey, Birch, Robust F-Test, 1983 See Also robustregh() data(stackloss) robustregbs(stack.loss~air.flow+water.temp,data=stackloss) #If X matrix contained large values of H matrix (high influence points) robustregbs(stack.loss~air.flow+water.temp,data=stackloss,m=false) robustregh Robust Fitting of Linear Models using Huber Psi Function Using iteratively reweighted least squares (IRLS), the function calculates the optimal weights to perform m-estimator or bounded influence regression. Returns robust beta estimates, mean squared error (MSE) and prints robust ANOVA table robustregh(formula,data,tune=1.345,m=true,max.it=1000,tol=1e-5,anova.table=false)

6 robustregh formula data tune m max.it tol anova.table Model A data frame containing the variables in the model. Tuning Constant. Default value of 1.345 is 95% asymptotically efficient against outliers If TRUE, calculates m estimates of beta. If FALSE, calculates bounded influence estimates of beta Maximum number of iterations to achieve convergence in IRLS algorithm Tolerance level in determining convergence If TRUE, prints robust ANOVA table Details Note M-estimates of beta should be used when evaluating least squares estimates of beta and diagnostics show outliers. Least squares estimates of beta are used as starting points to achieve convergence. Bounded influence estimates of beta should be used when evaluating least squares estimates of beta and diagnostics show large values of the "Hat Matrix" diagonals and outliers. Original package written in 2006 Author(s) Ian M. Johnson <ian@alpha-analysis.com> References See Also P. J. Huber (1981) Robust Statistics. Wiley. Birch (1983) Robust F-Test robustregbs() data(stackloss) robustregh(stack.loss~air.flow+water.temp,data=stackloss) #If X matrix contained large values of H matrix (high influence points) robustregh(stack.loss~air.flow+water.temp,data=stackloss,m=false)

Index Topic regression robustregbs, 4 robustregh, 5 fit_rcpp, 2 mad_rcpp, 2 median_rcpp, 3 psibs_rcpp, 3 psihuber_rcpp, 4 robustregbs, 4 robustregh, 5 7