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
Find Fit a straight line {{1996,1997,1998,1999,2000},{40,50,62,58,60}}

Solution:
Your problem `->` Fit a straight line {{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
  
 

Share with your friends, if solutions are helpful to you.
 
Copyright © 2019. All rights reserved. Terms, Privacy