Average and new observation confidence bounds for predicting Non linear models

5 Ansichten (letzte 30 Tage)
I am using the "fitnlm" function to fit a non linear model. 
I am then using the predict the function to predict the model for given confidence bounds. However, I also need the predictions for the fitted mean values and the new observations. 
How do I get this?

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 28 Dez. 2016
You can use the "Prediction" name-value pair argument to change the type of prediction performed by the "predict" function. 
Type of prediction:
  • 'curve' — predict predicts confidence bounds for the fitted mean values.
  • 'observation' — predict predicts confidence bounds for the new observations. 

Weitere Antworten (0)

Produkte


Version

R2016b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by