Learn R Programming

FRegSigCom (version 0.3.0)

pred.msof: Prediction for linear multivariate scalar-on-function regression

Description

Make predition for multivariate scalar response based on new observations of predictor curves from the CV object obtained by cv.msof.

Usage

pred.msof(fit.obj, X.test)

Arguments

fit.obj

the CV object obtained by cv.msof.

X.test

new observations of functional predictors. It is a list of length \(p\), the number of functional predcitors. Each element is the observed matrix from a functional predictor, with rows repsenting observation vectors and columns corresponding to the observation time points.

Value

A matrix which contains the predicted values of the multivariate response. Each row is the prediction for each new observation.

See Also

cv.msof

Examples

Run this code
# NOT RUN {
#See the examples in cv.msof().
# }

Run the code above in your browser using DataLab