Prediction for a function-on-function regression model
Prediction for a function-on-function regression model
This function is used to make prediction for a new set of functional predictors based upon a fitted function-on-function regression model in the output of rob.ff.reg.
predict_ff_regression(object, Xnew)
Arguments
object: An output object obtained from rob.ff.reg.
Xnew: A list of matrices consisting of the new observations of functional predictors. The argument Xnew must have the same length and the same structure as the input X of rob.ff.reg.
Returns
An ntest×p-dimensional matrix of predicted functions of the response variable for the given set of new functional predictors Xnew. Here, ntest, the number of rows of the matrix of predicted values, equals to the number of rows of Xnew, and p equals to the number of columns of Y, the input in the rob.ff.reg.