Linear regression confidence interval

Computes and plots confidence intervals for where the linear fit may lie.

You are now following this Submission

To my dismay, I discovered that matlab did not have this function built in to its regstats, or at least I could not figure out how to get it out of regstats. Here's a quick piece of code to compute funnel plots for regression statistics.

Cite As

Boris Gutman (2026). Linear regression confidence interval (https://www.mathworks.com/matlabcentral/fileexchange/39339-linear-regression-confidence-interval), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0