Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


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

refund (version 0.1-16)

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-16

License

GPL (>= 2)

Maintainer

Lei Huang

Last Published

August 3rd, 2016

Functions in refund (0.1-16)

cmdscale_lanczos

Faster multi-dimensional scaling
af_old

Construct an FGAM regression term
coef.pffr

Get estimated coefficients from a pffr fit
expand.call

Return call with all possible arguments
af

Construct an FGAM regression term
bayes_fosr

Bayesian Function-on-scalar regression
coefficients.pfr

Extract coefficient functions from a fitted pfr-object
coefboot.pffr

Simple bootstrap CIs for pffr
create.prep.func

Construct a function for preprocessing functional predictors
amc

Additive model with constraints
ffpcplot

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

Trace computation
f_sum2

Sum computation 2
fbps

Sandwich smoother for matrix data
f_sum

Sum computation 1
f_sum4

Sum computation 2
ff

Construct a function-on-function regression term
fosr.perm

Permutation testing for function-on-scalar regression
fosr.vs

Function-on Scalar Regression with variable selection
fosr

Function-on-scalar regression
gibbs_cs_fpca

Cross-sectional FoSR using a Gibbs sampler and FPCA
fpca2s

Functional principal component analysis by a two-stage method
fosr2s

Two-step function-on-scalar regression
fpca.sc

Functional principal components analysis by smoothed covariance
fpca.face

Functional principal component analysis with fast covariance estimation
fpcr

Functional principal component regression
getTF

Get recognized transformation function
fpca.lfda

Longitudinal Functional Data Analysis using FPCA
fpca.ssvd

Smoothed FPCA via iterative penalized rank one SVDs.
fpc

Construct a FPC regression term
lofocv

Leave-one-function-out cross-validation
lf.vd

Construct a VDFR regression term
lpeer

Longitudinal Functional Models with Structured Penalties
gibbs_mult_fpca

Multilevel FoSR using a Gibbs sampler and FPCA
mfpca.sc

Multilevel functional principal components analysis by smoothed covariance
gls_cs

Cross-sectional FoSR using GLS
gibbs_mult_wish

Multilevel FoSR using a Gibbs sampler and Wishart prior
lf

Construct an FLM regression term
lf_old

Construct an FLM regression term
gibbs_cs_wish

Cross-sectional FoSR using a Gibbs sampler and Wishart prior
pffr.check

Some diagnostics for a fitted pffr model
model.matrix.pffr

Obtain model matrix for a pffr fit
pffrGLS

Penalized function-on-function regression with non-i.i.d. residuals
pcre

pffr-constructor for functional principal component-based functional random intercepts.
PEER.Sim

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

Functional Models with Structured Penalties
ols_cs

Cross-sectional FoSR using GLS
pffr

Penalized flexible functional regression
peer

Construct a PEER regression term in a pfr formula
pco_predict_preprocess

Make predictions using pco basis terms
plot.fpcr

Default plotting for functional principal component regression output
plot.fosr

Default plotting of function-on-scalar regression objects
pfr

Penalized Functional Regression
plot.lpeer

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

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

Plot a pffr fit
plot.pfr

Plot a pfr object
predict.fbps

Prediction for fast bivarate P-spline (fbps)
pfr_plot.gam

Local version of plot.gam
plot.fosr.vs

Plot for Function-on Scalar Regression with variable selection
Predict.matrix.pcre.random.effect

mgcv-style constructor for prediction of PC-basis functional random effects
Predict.matrix.peer.smooth

mgcv-style constructor for prediction of PEER terms
smooth.construct.pss.smooth.spec

P-spline constructor with modified 'shrinkage' penalty
Predict.matrix.dt.smooth

Predict.matrix method for dt basis
Xt_siginv_X

Internal computation function
sofa

SOFA (Sequential Organ Failure Assessment) Data
Predict.matrix.fpc.smooth

mgcv-style constructor for prediction of FPC terms
smooth.construct.pco.smooth.spec

Principal coordinate ridge regression
refund-internal

Internal functions for the refund package
refund-package

Regression with Functional Data
smooth.construct.pcre.smooth.spec

mgcv-style constructor for PC-basis functional random effects
vis.fgam

Visualization of FGAM objects
quadWeights

Compute quadrature weights
predict.fosr.vs

Prediction for Function-on Scalar Regression with variable selection
predict.fgam

Prediction from a fitted FGAM model
vis.pfr

Visualization of PFR objects
vb_cs_fpca

Cross-sectional FoSR using Variational Bayes and FPCA
re

Random effects constructor for fgam
predict.pfr

Prediction from a fitted pfr model
vb_cs_wish

Cross-sectional FoSR using Variational Bayes and Wishart prior
print.summary.pffr

Print method for summary of a pffr fit
residuals.pffr

Obtain residuals and fitted values for a pffr models
predict.pffr

Prediction for penalized function-on-function regression
pwcv

Pointwise cross-validation for function-on-scalar regression
sff

Construct a smooth function-on-function regression term
Predict.matrix.pi.smooth

Predict.matrix method for pi basis
summary.pffr

Summary for a pffr fit
qq.pffr

QQ plots for pffr model residuals
smooth.construct.dt.smooth.spec

Domain Transformation basis constructor
summary.pfr

Summary for a pfr fit
smooth.construct.fpc.smooth.spec

Basis constructor for FPC terms
vb_mult_wish

Multilevel FoSR using Variational Bayes and Wishart prior
smooth.construct.peer.smooth.spec

Basis constructor for PEER terms
smooth.construct.pi.smooth.spec

Parametric Interaction basis constructor
vb_mult_fpca

Multilevel FoSR using Variational Bayes and FPCA
DTI

Diffusion Tensor Imaging: tract profiles and outcomes
DTI2

Diffusion Tensor Imaging: more fractional anisotropy profiles and outcomes
cd4

Observed CD4 cell counts
fgam

Functional Generalized Additive Models
ccb.fpc

Corrected confidence bands using functional principal components
ffpc

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

Octane numbers and NIR spectra of gasoline
lpfr

Longitudinal penalized functional regression
pffrSim

Simulate example data for pffr
pfr_old

Penalized Functional Regression (old version)
rlrt.pfr

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