Average and new observation confidence bounds for predicting Non linear models

5 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 28 Dic 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. 

Più risposte (0)

Prodotti


Release

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by