Learn R Programming

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

refund (version 0.1-11)

Regression with Functional Data

Description

Methods for regression for functional data, including function-on-scalar, scalar-on-function, and function-on-function regression. Some of the functions are applicable to image data.

Copy Link

Version

Install

install.packages('refund')

Monthly Downloads

2,224

Version

0.1-11

License

GPL (>= 2)

Maintainer

Lei Huang

Last Published

June 28th, 2014

Functions in refund (0.1-11)

ff

Construct a function-on-function regression term
ffpc

Construct a PC-based function-on-function regression term
residuals.pffr

Obtain residuals for a pffr fit
ffpcplot

Plot PC-based function-on-function regression terms
lf

Construct an FLM regression term
fosr

Function-on-scalar regression
PEER.Sim, Q

Simulated longitudinal data with functional predictor and scalar response, and structural information associated with predictor function
fosr2s

Two-step function-on-scalar regression
refund-internal

Internal functions for the refund package
fpca2s

Functional principal component analysis by a two-stage method
fpca.face

Functional principal component analysis with fast covariance estimation
lpfr

Longitudinal penalized functional regression
lofocv

Leave-one-function-out cross-validation
pcre

pffr-constructor for functional principal component-based functional random intercepts.
rlrt.pfr

Likelihood Ratio Test and Restricted Likelihood Ratio Test for inference of functional predictors
gasoline

Octane numbers and NIR spectra of gasoline
expand.call

Return call with all possible arguments
fpca.sc

Functional principal components analysis by smoothed covariance
summary.pffr

Summary for a pffr fit
fpca.ssvd

Smoothed FPCA via iterative penalized rank one SVDs.
predict.fgam

Prediction from a fitted FGAM model
cd4

Observed CD4 cell counts
fpcr

Functional principal component regression
pfr

Penalized functional regression and Longitudinal penalized functional regression
amc

Additive model with constraints
pffrGLS

Penalized function-on-function regression with non-i.i.d. residuals
plot.pffr

Plot a pffr fit
refund-package

Regression with Functional Data
coef.pffr

Get estimated coefficients from a pffr fit
ccb.fpc

Corrected confidence bands using functional principal components
smooth.construct.pcre.smooth.spec

mgcv-style constructor for PC-basis functional random effects
lpeer

Longitudinal Functional Models with Structured Penalties
fitted.pffr

Obtain fitted values for a pffr fit
coefboot.pffr

Simple bootstrap CIs for pffr
pffr

Penalized function-on-function regression
wnet

Generalized elastic net in the wavelet domain
wcr/wnet.perm

Permutation test for wavelet-domain scalar-on-function regression
pwcv

Pointwise cross-validation for function-on-scalar regression
plot.lpeer

Plotting of estimated regression functions obtained through lpeer()
DTI

Diffusion Tensor Imaging: tract profiles and outcomes
model.matrix.pffr

Obtain model matrix for a pffr fit
peer

Functional Models with Structured Penalties
plot.fpcr

Default plotting for functional principal component regression output
sff

Construct a smooth function-on-function regression term
print.summary.pffr

Print method for summary of a pffr fit
plot.peer

Plotting of estimated regression functions obtained through peer()
fbps

Sandwich smoother for matrix data
plot.wcr/wnet

Default plotting for wavelet-domain scalar-on-function regression
DTI2

Diffusion Tensor Imaging: more fractional anisotropy profiles and outcomes
af

Construct an FGAM regression term
wcr

Principal component regression and partial least squares in the wavelet domain
fosr.perm

Permutation testing for function-on-scalar regression
fgam

Functional Generalized Additive Models
pffrSim

Simulate example data for pffr
vis.fgam

Visualization of FGAM objects
plot.fosr

Default plotting of function-on-scalar regression objects
smooth.construct.pss.smooth.spec

P-spline constructor with modified 'shrinkage' penalty
predict.pfr

Prediction for penalized functional regression
predict.wnet

Prediction method for generalized elastic net in the wavelet domain
predict.pffr

Prediction for penalized function-on-function regression