Fstat.fd {fda} | R Documentation |
Fstat.fd calculates a pointwise F-statistic for functional linear regression.
Fstat.fd(y,yhat,argvals=NULL)
y |
the dependent variable object. It may be:
|
yhat |
The predicted values corresponding to y . It must be of the same class.
|
argvals |
If yfdPar is a functional data object, the points at which to evaluate
the pointwise F-statistic.
|
An F-statistic is calculated as the ratio of residual variance to predicted variance.
If argvals
is not specified and yfdPar
is a fd
object,
it defaults to 101 equally-spaced points on the range of yfdPar
.
A list with components
F |
the calculated pointwise F-statistics. |
argvals |
argument values for evaluating the F-statistic if yfdPar is
a functional data object.
|
Ramsay, James O., and Silverman, Bernard W. (2006), Functional Data Analysis, 2nd ed., Springer, New York.