Home > Statistical Methods calculators > Fitting a straight line - Curve fitting calculator

Solve any problem
(step by step solutions)
Input table (Matrix, Statistics)
Mode :
SolutionHelp
Solution will be displayed step by step (In 2 parts)
Solution
Problem: Linear fit {{1996,1997,1998,1999,2000},{40,50,62,58,60}} [ Calculator, Method and examples ]

Solution:
Your problem `->` Linear fit {{1996,1997,1998,1999,2000},{40,50,62,58,60}}


Straight line equation is `y = a + bx`.

The normal equations are
`sum y = an + b sum x`

`sum xy = a sum x + b sum x^2`


`X``y``x = X - 1998``x^2``x*y`
199640-24-80
199750-11-50
199862000
1999581158
20006024120
---------------
999027001048


Substituting these values in the normal equations
`270=5a+0b`

`48=0a+10b`


Solving these two equations using Elimination method,
`5a=270`

`a=54`

and `10b=48`






Solution provided by AtoZmath.com
Any wrong solution, solution improvement, feedback then Submit Here
Want to know about AtoZmath.com and me
  
 

 
Copyright © 2019. All rights reserved. Terms, Privacy





We use cookies to improve your experience on our site and to show you relevant advertising. By browsing this website, you agree to our use of cookies. Learn more