Learn R Programming

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

Renvlp (version 2.8)

Computing Envelope Estimators

Description

Provides a general routine, envMU, which allows estimation of the M envelope of span(U) given root n consistent estimators of M and U. The routine envMU does not presume a model. This package implements response envelopes, partial response envelopes, envelopes in the predictor space, heteroscedastic envelopes, simultaneous envelopes, scaled response envelopes, scaled envelopes in the predictor space, groupwise envelopes, weighted envelopes, envelopes in logistic regression and envelopes in Poisson regression. For each of these model-based routines the package provides inference tools including bootstrap, cross validation, estimation and prediction, hypothesis testing on coefficients are included except for weighted envelopes. Tools for selection of dimension include AIC, BIC and likelihood ratio testing. Background is available at Cook, R. D., Forzani, L. and Su, Z. (2016) . Optimization is based on a clockwise coordinate descent algorithm.

Copy Link

Version

Install

install.packages('Renvlp')

Monthly Downloads

268

Version

2.8

License

GPL-2

Maintainer

Minji Lee

Last Published

March 16th, 2020

Functions in Renvlp (2.8)

cv.env

Cross validation for env
contr

Contraction matrix
cv.xenv

Cross validation for xenv
logit.env

Fit the envelope model in logistic regression
horseshoecrab

Horseshoe Crab Data
cv.sxenv

Cross validation for sxenv
boot.xenv

Bootstrap for xenv
boot.sxenv

Bootstrap for sxenv
boot.stenv

Bootstrap for stenv
d.stenv

Select the rank of beta
pred.senv

Estimation or prediction for senv
cv.genv

Cross validation for genv
fiberpaper

Pulp and Paper Data
cv.penv

Cross validation for penv
env

Fit the envelope model
henv

Fit the heteroscedastic envelope model
genv

Fit the groupwise envelope model
pred.penv

Estimation or prediction for penv
henvMU

Estimate the heteroscedastic envelope subspace
cv.pois.env

Cross validation for pois.env
envMU

Estimate the envelope subspace
pred.pois.env

Estimation or prediction for pois.env
expan

Expansion matrix
ginv

Generalized Inverse of a Matrix
genvMU

Estimate the groupwise envelope subspace
logit.envMU

Estimate the envelope subspace in logistic regression
penv

Fit the partial envelope model
boot.henv

Bootstrap for henv
testcoef.senv

Hypothesis test of the coefficients of the scaled envelope model
testcoef.env

Hypothesis test of the coefficients of the envelope model
testcoef.genv

Hypothesis test of the coefficients of the groupwise envelope model
testcoef.stenv

Hypothesis test of the coefficients of the simultaneous envelope model
pred.stenv

Estimation or prediction for stenv
sxenv

Fit the scaled envelope model in the predictor space
u.henv

Select the dimension of henv
sxenvMU

Estimate the scaled envelope subspace in the predictor space
cv.senv

Cross validation for senv
u.logit.env

Select the dimension of logit.env
cv.logit.env

Cross validation for logit.env
pois.env

Fit the envelope model in poisson regression
cv.stenv

Cross validation for stenv
cv.henv

Cross validation for henv
pred.env

Estimation or prediction for env
pred.henv

Estimation or prediction for henv
pred.logit.env

Estimation or prediction for logit.env
pred2.env

Estimation or prediction for env
stenvMU

Estimate the simultaneous envelope subspace
pred.genv

Estimation or prediction for genv
stenv

Fit the simultaneous envelope model
u.env

Select the dimension of env
u.genv

Select the dimension of genv
pois.envMU

Estimate the envelope subspace in poisson regression
testcoef.sxenv

Hypothesis test of the coefficients of the scaled envelope model in the predictor space
pred.sxenv

Estimation or prediction for sxenv
sales

Sales staff Data
pred.xenv

Estimation or prediction for xenv
u.senv

Select the dimension of senv
u.pred2.env

Select the dimension of the constructed partial envelope for prediction based on envelope model
testcoef.xenv

Hypothesis test of the coefficients of the envelope model
senv

Fit the scaled envelope model
u.xenv

Select the dimension of xenv
weighted.pred.env

Estimation or prediction using weighted partial envelope
waterstrider

Water strider data
testcoef.penv

Hypothesis test of the coefficients of the partial envelope model
weighted.env

Weighted envelope estimator
weighted.penv

Weighted partial envelope estimator
testcoef.pois.env

Hypothesis test of the coefficients of the envelope model
u.sxenv

Select the dimension of sxenv
u.stenv

Select the dimension of stenv
senvMU

Estimate the scaled envelope subspace
testcoef.logit.env

Hypothesis test of the coefficients of the envelope model
testcoef.henv

Hypothesis test of the coefficients of the heteroscedastic envelope model
weighted.xenv

Weighted predictor envelope estimator
u.penv

Select the dimension of penv
wheatprotein

Wheat Protein Data
u.pois.env

Select the dimension of pois.env
xenv

Fit the envelope model in the predictor space
boot.genv

Bootstrap for genv
boot.senv

Bootstrap for senv
boot.penv

Bootstrap for penv
boot.logit.env

Bootstrap for logit.env
boot.env

Bootstrap for env
Renvlp-package

Computing Envelope Estimators
Berkeley

Berkeley Guidance Study Data
boot.pois.env

Bootstrap for pois.env
GE

Gaussian elimination