Linear regression confidence interval

Computes and plots confidence intervals for where the linear fit may lie.
2.3K Downloads
Updated 6 Dec 2012

View License

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 (2024). Linear regression confidence interval (https://www.mathworks.com/matlabcentral/fileexchange/39339-linear-regression-confidence-interval), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Linear and Nonlinear Regression in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0