Learn R Programming

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

dr (version 1.0.2)

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.6, and one bug-fix.

Copy Link

Version

Install

install.packages('dr')

Monthly Downloads

1,226

Version

1.0.2

License

GPL version 2 or newer

Maintainer

Sanford Weisberg

Last Published

February 15th, 2017

Functions in dr (1.0.2)

mussels

Mussels' muscles data
dr.slices

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

Produce a perspective plot of dimension reduction regression objects.
dr

Dimension reduction regression
dr.fit

Fit dimension reduction regression
dr.test

Dimension reduction regression tests
markby

Produce a vector of colors/symbols to mark points
givens.rotation

Create givens rotation matrix
rotplot

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

Directions selected by dimension reduction regressiosn
dr.estimate.weights

Compute estimated weighting toward normality
ais

Australian athletes data
wood.pvalue

Chi-square approximation to a sum of Chi-squares
fullquad.fit

Fit a full second-order model
dr.coplot

Visualize dimension reduction regression using a coplot
dr.permutation.test

Dimension Reduction Regression Functions
dr.indep.test.phdres

Test of independence for pHd based on residuals
dr-internal

Internal dr functions
cosangle

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

Inverse regression term matrix