Graphical Analysis removing y-intercept

  • Thread starter Thread starter member 392791
  • Start date Start date
  • Tags Tags
    Analysis
AI Thread Summary
To remove the y-intercept from a linear fit in software, one effective method is to conduct a simple linear regression analysis of y against x to estimate the intercept. After obtaining this intercept value, subtract it from all y-values. This adjustment allows for a new regression analysis that effectively forces the line through the origin, aligning with the equation y=mx. This process can help reduce the percentage error by ensuring the slope reflects the true relationship without the influence of the intercept.
member 392791
Hello, I am trying to remove the y-intercept from my linear fit with this software since my equation is y=mx and NOT y=mx+b, so I need to figure out how to remove the y-intercept so my data will have a smaller % error, because the intercept makes the slope larger than it should be. Any ideas how to do this? (yes I checked online, tutorial, help menu, etc)!
 
Physics news on Phys.org
Do an analysis that gives a parameter estimate for the intercept for a simple linear regression of y against x, and then subtract that value from all the y-values and re-do the regression with these new ones.
 
Back
Top