Question
least squares to fit a straight line
Pre-lab A-3 Least Squares Fit to a Straight Line Read lab A-3: Least squares fit to a straight line. A set of data is given i
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Values of s0 s1 s2 s3 and s4 is already given as expression in the question.

We can calculate the above values easily by simple addition

s0= 4

s1=1+2+3+4 = 10

s2= 30

s3=6+7+8+9 = 30

s4=1X6 + 2X7 + 3X8 + 4X9 = 80

To find slope(m) and intercept(b) we just have to substitute the values given

m = (s4Xs0-s3Xs1)/(s2Xs0-s12) = (80X4 - 30X10)/ (30X4 - 102) = 20/20 =1

b= (s2Xs3-s4Xs1)/(s2Xs0-s12) = (30X30-80X10)/(30X4-102) = 100/20 = 5

Equation of line y=mx+ b => y=x+5

Slope (m)= 1

Intercept(b) = 5

Add a comment
Know the answer?
Add Answer to:
least squares to fit a straight line Pre-lab A-3 Least Squares Fit to a Straight Line...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT