Ask your own question, for FREE!
Algebra 14 Online
OpenStudy (anonymous):

How do you change a linear function based on changes in the real world?

OpenStudy (anonymous):

can you be more specific?

OpenStudy (anonymous):

im not exactly sure how to be more specific. Sorry

OpenStudy (anonymous):

you mean, you have real life data and want to ajust a linear function that best fits this data?

OpenStudy (anonymous):

i believe so

OpenStudy (anonymous):

there are some method to do this, there is Linear Regression, Least Square Fitting

OpenStudy (anonymous):

ok. may you explain what those are please

OpenStudy (anonymous):

you want to ajust a line in the form \(y = ax + b\) using the set of data \( (x_i, y_i) \) where \( i = 0, 1,2,...,N \). \(N\) is the amount of real life data you have

OpenStudy (anonymous):

So what we need to do is find \(a\) and \(b\)

OpenStudy (anonymous):

My favorite method is linear regression

OpenStudy (anonymous):

From calculus, you can find that: \[\large a = \frac{\sum_{i=0}^{N} x_iy_i \space -\frac{1}{N}\sum_{i=0}^{N} x_i \sum_{i=0}^{N} y_i}{\sum_{i=0}^{N} x_i^2 \space -(\sum_{i=0}^{N} x_i)^2} \]

OpenStudy (anonymous):

From calculus, you can find that: \[\large b = \frac{1}{N}\sum_{i=0}^{N}y_i \space -a\frac{1}{N}\sum_{i=0}^{N}x_i\]

OpenStudy (anonymous):

if you want to know more about the process involved, go to http://mathworld.wolfram.com/LeastSquaresFitting.html

OpenStudy (anonymous):

and here http://en.wikipedia.org/wiki/Simple_linear_regression

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!