Why is the equation of the line of best fit incorrect?

7 views (last 30 days)
Sakusan Puwanendran
Sakusan Puwanendran on 14 Oct 2017
Edited: Matt J on 14 Oct 2017
I've projected a line of best fit using the linear basic fitting option onto my graph.Why does the equation of the line have a y-intercept of -30 when it clearly crosses the Y-axis at -5.5? Attached is m graph.

Accepted Answer

Matt J
Matt J on 14 Oct 2017
Edited: Matt J on 14 Oct 2017
Your graph doesn't show the y-intercept. The x-axis range starts at 1900, rather than zero.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!