Learn R Programming

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

dr (version 1.0.3)

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 1.7.

Copy Link

Version

Install

install.packages('dr')

Monthly Downloads

1,226

Version

1.0.3

License

GPL version 2 or newer

Maintainer

Sanford Weisberg

Last Published

February 15th, 2017

Functions in dr (1.0.3)

dr.test

Dimension reduction regression tests
dr.x

Inverse regression term matrix
ais

Australian athletes data
dr.permutation.test

Dimension Reduction Regression Functions
markby

Produce a vector of colors/symbols to mark points
dr-internal

Internal dr functions
wood.pvalue

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

Mussels' muscles data
dr.indep.test.phdres

Test of independence for pHd based on residuals
fullquad.fit

Fit a full second-order model
dr.directions

Directions selected by dimension reduction regressiosn
cosangle

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

Visualize dimension reduction regression using a coplot
rotplot

draw many 2D projections of a 3D plot
dr

Dimension reduction regression
dr.slices

Divide a vector into slices of approximately equal size
dr.persp

Produce a perspective plot of dimension reduction regression objects.
dr.fit

Fit dimension reduction regression
givens.rotation

Create givens rotation matrix
dr.estimate.weights

Compute estimated weighting toward normality