http://kr.mathworks.com/help/stats/compactlinearmodel.predict.html
predict
Class: CompactLinearModel
Syntax
ypred = predict(mdl,Xnew)
[ypred,yci] = predict(mdl,Xnew)
[ypred,yci] = predict(mdl,Xnew,Name,Value)
Description
returns the predicted response of the ypred
= predict(mdl
,Xnew
)mdl
linear regression model to the points in Xnew
.
[
returns confidence intervals for the true mean responses.ypred
,yci
] = predict(mdl
,Xnew
)
[
predicts responses with additional options specified by one or more ypred
,yci
] = predict(mdl
,Xnew
,Name,Value
)Name,Value
pair arguments.
Tips
-
For predictions with added noise, use
random
.
Input Arguments
Output Arguments