Confidence interval in fit

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?

 Accepted Answer

Torsten
Torsten on 18 Mar 2026 at 12:26
Edited: Torsten on 18 Mar 2026 at 12:26
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:

More Answers (1)

Steven Lord
Steven Lord on 18 Mar 2026 at 12:26
Use the confint function on the object returned by fit.

Categories

Products

Release

R2024a

Asked:

on 18 Mar 2026 at 11:12

Answered:

on 18 Mar 2026 at 12:26

Community Treasure Hunt

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

Start Hunting!