Learn R Programming

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

refund (version 0.1-9)

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

4,424

Version

0.1-9

License

GPL (>= 2)

Maintainer

Lei Huang

Last Published

December 6th, 2013

Functions in refund (0.1-9)

amc

Additive model with constraints
fbps

Sandwich smoother for matrix data
DTI2

Diffusion Tensor Imaging: more fractional anisotropy profiles and outcomes
rlrt.pfr

Likelihood Ratio Test and Restricted Likelihood Ratio Test for inference of functional predictors
fosr.perm

Permutation testing for function-on-scalar regression
pffrGLS

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

Obtain fitted values for a pffr fit
model.matrix.pffr

Obtain model matrix for a pffr fit
af

Construct an FGAM regression term
fosr2s

Two-step function-on-scalar regression
coefboot.pffr

Simple bootstrap CIs for pffr
sff

Construct a smooth function-on-function regression term
wcr/wnet.perm

Permutation test for wavelet-domain scalar-on-function regression
plot.fosr

Default plotting of function-on-scalar regression objects
plot.wcr/wnet

Default plotting for wavelet-domain scalar-on-function regression
coef.pffr

Get estimated coefficients from a pffr fit
wcr

Principal component regression and partial least squares in the wavelet domain
fpca.ssvd

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

Prediction method for generalized elastic net in the wavelet domain
fpca.face

Functional principal component analysis with fast covariance estimation
smooth.construct.pcre.smooth.spec

mgcv-style constructor for PC-basis functional random effects
print.summary.pffr

Print method for summary of a pffr fit
pwcv

Pointwise cross-validation for function-on-scalar regression
refund-package

Regression with Functional Data
peer

Functional Models with Structured Penalties
ffpcplot

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

pffr-constructor for functional principal component-based functional random effects.
DTI

Diffusion Tensor Imaging: tract profiles and outcomes
lpfr

Longitudinal penalized functional regression
lf

Construct an FLM regression term
predict.fgam

Prediction from a fitted FGAM model
fpca2s

Functional principal component analysis by a two-stage method
ccb.fpc

Corrected confidence bands using functional principal components
plot.peer

Plotting of estimated regression functions obtained through peer()
plot.lpeer

Plotting of estimated regression functions obtained through lpeer()
pfr

Penalized functional regression and Longitudinal penalized functional regression
wnet

Generalized elastic net in the wavelet domain
plot.pffr

Plot a pffr fit
ffpc

Construct a PC-based function-on-function regression term
cd4

Observed CD4 cell counts
PEER.Sim, Q

Simulated longitudinal data with functional predictor and scalar response, and structural information associated with predictor function
predict.pffr

Prediction for penalized function-on-function regression
summary.pffr

Summary for a pffr fit
lofocv

Leave-one-function-out cross-validation
plot.fpcr

Default plotting for functional principal component regression output
expand.call

Return call with all possible arguments
fgam

Functional Generalized Additive Models
ff

Construct a function-on-function regression term
predict.pfr

Prediction for penalized functional regression
refund-internal

Internal functions for the refund package
residuals.pffr

Obtain residuals for a pffr fit
fosr

Function-on-scalar regression
fpca.sc

Functional principal components analysis by smoothed covariance
lpeer

Longitudinal Functional Models with Structured Penalties
vis.fgam

Visualization of FGAM objects
pffr

Penalized function-on-function regression
gasoline

Octane numbers and NIR spectra of gasoline
pffrSim

Simulate example data for pffr
smooth.construct.pss.smooth.spec

P-spline constructor with modified 'shrinkage' penalty
fpcr

Functional principal component regression