Learn R Programming

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

Renvlp (version 3.4)

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, envelopes in Poisson regression envelopes in function-on-function linear regression, envelope-based Partial Partial Least Squares, envelopes with non-constant error covariance, envelopes with t-distributed errors, reduced rank envelopes and reduced rank envelopes with non-constant error covariance. 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

3.4

License

GPL-2

Maintainer

Minji Lee

Last Published

April 19th, 2023

Functions in Renvlp (3.4)

boot.logit.env

Bootstrap for logit.env
boot.rrenv

Bootstrap for rrenv
boot.pois.env

Bootstrap for pois.env
boot.rrenv.apweights

Bootstrap for rrenv.apweights
concrete

Concrete Slump Test Dataset
boot.stenv

Bootstrap for stenv
boot.senv

Bootstrap for senv
boot.xenv

Bootstrap for xenv
boot.penv

Bootstrap for penv
boot.sxenv

Bootstrap for sxenv
cv.logit.env

Cross validation for logit.env
cv.env

Cross validation for env
cv.env.apweights

Cross validation for env.apweights
cv.genv

Cross validation for genv
cv.henv

Cross validation for henv
cv.penv

Cross validation for penv
cv.rrenv

Cross validation for rrenv
cv.rrenv.apweights

Cross validation for rrenv.apweights
cv.pois.env

Cross validation for pois.env
cv.xenv

Cross validation for xenv
env

Fit the response envelope model
cv.env.tcond

Cross validation for env.tcond
cv.stenv

Cross validation for stenv
cv.sxenv

Cross validation for sxenv
cv.eppls

Cross validation for peplos
env.tcond

Fit the envelope model with t-distributed errors
eppls

Fit the Envelope-based Partial Partial Least Squares model
genv

Fit the groupwise envelope model
fiberpaper

Pulp and Paper Data
penv

Fit the partial envelope model
d.select

Select the rank of beta
logit.env

Fit the envelope model in logistic regression
pois.env

Fit the envelope model in poisson regression
cv.senv

Cross validation for senv
pred.env

Estimation or prediction for env
pred.env.tcond

Estimation or prediction for env.tcond
pred.env.apweights

Estimation or prediction for env.apweights
pred.henv

Estimation or prediction for henv
pred.logit.env

Estimation or prediction for logit.env
horseshoecrab

Horseshoe Crab Data
henv

Fit the heteroscedastic envelope model
pred.senv

Estimation or prediction for senv
pred.stenv

Estimation or prediction for stenv
pred2.env

Estimation or prediction for env
rrenv

Fit the reduced-rank envelope model
felmdir

Fit the functional envelope linear model
env.apweights

Fit the envelope model with nonconstant variance
felmKL

Fit the functional envelope linear model
pred.sxenv

Estimation or prediction for sxenv
pred.genv

Estimation or prediction for genv
pred.felmdir

Estimation or prediction for felmdir
sxenv

Fit the scaled predictor envelope model
pred.xenv

Estimation or prediction for xenv
testcoef.env

Hypothesis test of the coefficients of the response envelope model
testcoef.logit.env

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

Hypothesis test of the coefficients of the partial envelope model
pred.rrenv

Estimation or prediction for rrenv
pred.rrenv.apweights

Estimation or prediction for rrenv.apweights
testcoef.genv

Hypothesis test of the coefficients of the groupwise envelope model
pred.eppls

Estimation or prediction for eppls
pred.felmKL

Estimation or prediction for felmKL
senv

Fit the scaled response envelope model
testcoef.senv

Hypothesis test of the coefficients of the scaled response envelope model
testcoef.rrenv.apweights

Hypothesis test of the coefficients of the reduced rank envelope model with nonconstant error variance
testcoef.henv

Hypothesis test of the coefficients of the heteroscedastic envelope model
testcoef.rrenv

Hypothesis test of the coefficients of the reduced rank envelope model
testcoef.pois.env

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

Hypothesis test of the coefficients of the predictor envelope model
testcoef.sxenv

Hypothesis test of the coefficients of the scaled predictor envelope model
testcoef.stenv

Hypothesis test of the coefficients of the simultaneous envelope model
stenv

Fit the simultaneous envelope model
u.env

Select the dimension of env
u.felmdir

Find the envelope dimensions in the functional envelope linear model
u.genv

Select the dimension of genv
u.penv

Select the dimension of penv
vehicles

Automobile Dataset
u.xenv

Select the dimension of xenv
weighted.env

Weighted response envelope estimator
u.pois.env

Select the dimension of pois.env
pred.penv

Estimation or prediction for penv
rrenv.apweights

Fit the reduced-rank envelope model with nonconstant variance
u.logit.env

Select the dimension of logit.env
u.henv

Select the dimension of henv
testcoef.env.apweights

Hypothesis test of the coefficients of the response envelope model with nonconstant variance
u.stenv

Select the dimension of stenv
testcoef.env.tcond

Hypothesis test of the coefficients of the response envelope model with t-distributed errors
waterstrider

Water strider data
pred.pois.env

Estimation or prediction for pois.env
u.rrenv

Select the dimension of rrenv
u.pred2.env

Select the dimension of the constructed partial envelope for prediction based on envelope model
sales

Sales staff Data
u.sxenv

Select the dimension of sxenv
xenv

Fit the predictor envelope model
u.eppls

Select the dimension of eppls
u.env.tcond

Select the dimension of env.tcond
weighted.pred.env

Estimation or prediction using weighted partial envelope
weighted.penv

Weighted partial envelope estimator
u.env.apweights

Select the dimension of env.apweights
u.felmKL

Find the envelope dimensions in the functional envelope linear model
u.senv

Select the dimension of senv
u.rrenv.apweights

Select the dimension of rrenv.apweights
wheatprotein

Wheat Protein Data
weighted.xenv

Weighted predictor envelope estimator
amitriptyline

Amitriptyline Data
Renvlp-package

Computing Envelope Estimators
Berkeley

Berkeley Guidance Study Data
boot.genv

Bootstrap for genv
NJdata

New Jersey Open Covid-19 Dataset
boot.env

Bootstrap for env
boot.env.apweights

Bootstrap for env.apweights
boot.henv

Bootstrap for henv
boot.env.tcond

Bootstrap for env.tcond
boot.eppls

Bootstrap for eppls