Learn R Programming

fda.usc (version 1.2.3)

rp.flm.statistic: Statistic for testing the FLM using random projections

Description

Random projections statistic (PCvM) for the Functional Linear Model with scalar response (FLM): $Y=+\epsilon$.

Usage

rp.flm.statistic(proj.X,residuals,proj.X.ord=NULL,verbose=FALSE,F.code=TRUE)

Arguments

proj.X
Functional projections covariate for the FLM. The object must be either in the class fdata or in the class fd. It is used to compute the matrix of inner products.
residuals
Residuals of the estimated FLM.
proj.X.ord
Order projections.
verbose
Either to show or not information about computing progress.
F.code
logical, Check if the fortran dll is loaded

Value

Return a list containing the following components:
rp.flm.statistic
The value of the statistic.
proj.X.ord
Order projections.

See Also

rp.flm.test