kfoldPredict
Predict responses for observations in cross-validated regression model
Syntax
Description
specifies options using one or more name-value arguments. For example,
yFit
= kfoldPredict(CVMdl
,Name,Value
)'IncludeInteractions',true
specifies to include interaction terms in
computations. This syntax applies only to generalized additive models (GAM).
[
also returns the standard deviations and prediction intervals of the response variable,
evaluated at each observation in the predictor data yFit
,ySD
,yInt
] = kfoldPredict(___)CVMdl.X
, using
any of the input argument combinations in the previous syntaxes. This syntax applies only
to generalized additive models (GAM) for which the IsStandardDeviationFit
property of CVMdl
is
true
.