Learn R Programming

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

dr (version 2.0.4)

Methods for dimension reduction for regression

Description

Functions, methods, and datasets for fitting dimension reduction regression, including pHd and inverse regression methods SIR and SAVE. These methods are described, for example, in R. D. Cook (1998), Regression Graphics, Wiley, New York. Also included is code for computing permutation tests of dimension. Adding additional methods of estimating dimension is straightforward. One function depends on the lqs package. Minor revision to be compatible with R 2.0.0, and bug-fixes. For documentation, see http://www.jstatsoft.org/v07/i01/drdoc.pdf.

Copy Link

Version

Install

install.packages('dr')

Monthly Downloads

1,226

Version

2.0.4

License

GPL version 2 or newer

Maintainer

Sanford Weisberg

Last Published

February 15th, 2017

Functions in dr (2.0.4)

dr.persp

Produce a perspective plot of dimension reduction regression objects.
markby

Produce a vector of colors/symbols to mark points
dr.slices

Divide a vector into slices of approximately equal size
ais

Australian athletes data
wood.pvalue

Chi-square approximation to a sum of Chi-squares
cosangle

Compute the cosine of the angle between a vector and a subspace
dr.test

Dimension reduction regression tests
dr.y

~~function to do ... ~~
mussels

Mussels' muscles data
fullquad.fit

Internal function
dr.indep.test.phdres

Test of independence for pHd based on residuals
dr.coplot

Visualize dimension reduction regression using a coplot
dr

Dimension reduction regression
dr.x

Accessor functions for dr. objects
dr.M

~~function to do ... ~~
dr.directions

Directions selected by dimension reduction regressiosn
rotplot

draw many 2D projections of a 3D plot
dr.fit

Fit dimension reduction regression
dr.permutation.test

Dimension Reduction Regression Functions
givens.rotation

Create givens rotation matrix
dr.weights

Estimate weighting for elliptical symmetry