A functional dependent variable is approximated by a single
functional covariate, and the
covariate can affect the dependent variable for all
values of its argument. The regression function is a bivariate function.
a functional data object for the dependent variable
wtvec
a vector of weights for each observation.
xLfdobj
either a nonnegative integer or a linear differential operator
object. This operator is applied to the regression function's
first argument.
yLfdobj
either a nonnegative integer or a linear differential operator
object. This operator is applied to the regression function's
second argument.
xlambda
a smoothing parameter for the first argument of the regression
function.
ylambda
a smoothing parameter for the second argument of the regression
function.
Value
a named list of length 3 with the following entries:
alphafdthe intercept functional data object.
regfda bivariate functional data object for the regression function.
yhatfda functional data object for the approximation to the dependent variable
defined by the linear model, if the dependent variable is functional.
Otherwise the matrix of approximate values.