Learn R Programming

⚠️There's a newer version (0.27.0) of this package.Take me there.

Rfit: Rank-based estimation for linear models

Installation

  • Rfit may be installed from
    • CRAN e.g. install.packages('Rfit')
    • github e.g. install_github('kloke/Rfit')
  • Rfit no longer requires the package quantreg The inital fit is now based on least squares to avoid additional dependencies. One may still use quantreg to obtain the inital fit which will ensure the robustnesses of the result.

CRAN releases are about once a year while github updates are more frequent.

Background

Rank-based (R) estimation for statistical models is a robust nonparametric alternative to classical estimation procedures such as least squares. R methods have been developed for models ranging from linear models, to linear mixed models, to timeseries, to nonlinear models. Advantages of these R methods over traditional methods such as maximum-likelihood or least squares is that they require fewer assumptions, are robust to gross outliers, and are highly efficient at a wide range of distributions. Rfit uses standard linear model syntax and includes commonly used functions for inference and diagnostic procedures. Wilcoxon scores, the default, are robust and highly efficent relative to the least squares estimator when the errors are normally distributed.

Copy Link

Version

Install

install.packages('Rfit')

Monthly Downloads

1,515

Version

0.24.2

License

GPL (>= 2)

Maintainer

John Kloke

Last Published

January 3rd, 2020

Functions in Rfit (0.24.2)

print.rfit

Rfit Internal Print Functions
grad

Calculate the Gradiant of Jaeckel's Dispersion Function
gettau

Estimate of the scale parameter tau
scores-class

Class "scores"
rstudent.rfit

Studentized Residuals for Rank-Based Regression
taufuncs

Internal Functions for Estimating tau
taustar

Estimate of the Scale Parameter taustar
getScores-methods

~~ Methods for Function getScores ~~
wald.test.overall

Overall Wald test
getScoresDeriv-methods

~~ Methods for Function getScoresDeriv ~~
oneway.rfit

Rank-based Oneway Analysis of Variance
bbsalaries

Baseball Salaries
walsh

Walsh Averages
jaeckel

Function to Minimize Jaeckel's Dispersion Function
raov

R ANOVA
kwayr

Internal Functions for K-Way analysis of variance
rfit

Rank-based Estimates of Regression Coefficients
summary.rfit

Summarize Rank-Based Linear Model Fits
param-class

Class "param"
summary.oneway.rfit

Provides a summary for the oneway anova based on an R fit.
telephone

Telephone Data
quail

Quail Data
serumLH

Serum Level of luteinizing hormone (LH)
signedrank

Signed-Rank Estimate of Location (Intercept)
vcov.rfit

Variance-Covariance Matrix for Rank-Based Regression
confintadjust

Confidence interval adjustment methods
disp

Jaeckel's Dispersion Function
allscores

All Scores
Rfit-package

Rank-Based Estimates and Inference for Linear Models
ffa

Free Fatty Acid Data
drop.test

Drop (Reduction) in Dispersion Test
baseball

Baseball Card Data
BoxCox

Box and Cox (1964) data.
CardioRiskFactors

Cardiovascular risk factors