By default, the fit function in matlab returns 95 % confidence interval bounds. I want it to return error as defined by 1 sigma confidence, which i think corresponds to 68.27% confidence bound. How do i get this?

 Réponse acceptée

Torsten
Torsten le 18 Mar 2026 à 12:26
Modifié(e) : Torsten le 18 Mar 2026 à 12:26

1 vote

Call "confint" (for the parameters) or "predint" (for the fit) from the command line with the wanted confidence level:
This page might also be helpful:

Plus de réponses (1)

Steven Lord
Steven Lord le 18 Mar 2026 à 12:26

0 votes

Use the confint function on the object returned by fit.

Catégories

En savoir plus sur Get Started with Curve Fitting Toolbox dans Centre d'aide et File Exchange

Produits

Version

R2024a

Question posée :

le 18 Mar 2026 à 11:12

Réponse apportée :

le 18 Mar 2026 à 12:26

Community Treasure Hunt

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

Start Hunting!

Translated by