Question

Given the data -1 | 1 | 2 Y | 1 | 3 | 3 find the best least squares fit by a linear function y=co+gx

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Data Чhe given The oodered pains cx; y;) = (-1,1)3) (213) -1+1+2 2 = 0.67 %3D Mean of the x valuel X - I+3+3 = 2:33 %3D Meanyi X;-Xy-Y -)(y-7) - )2 2:79 1-1.674.33 2.22 -1 O33 0.67 0 • 22 3 10.33 2.3.1.330.67 0.89 1:77 4,67 3:33 E Cx,-X) Cy-Y) = 0.Yhe y Intercapt cos Calculaded as = 2:33 – 0.071(0.67) Oo 048 0 2,33 2,28 Co Yhe equulion of the lime for beat fit Is given a

Add a comment
Know the answer?
Add Answer to:
Given the data -1 | 1 | 2 Y | 1 | 3 | 3 find...
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
  • 1. Problem 1. Given a data set (X, Y), use the least squares techniques to find the best ftting c...

    1. Problem 1. Given a data set (X, Y), use the least squares techniques to find the best ftting curve y-/() within the exponential family v ab) where a,b ER. The data set is given by, where, χ-io, 0.2, 0.4, 0.6, 08, 09, 1, 12, 14, 1.6] y 2, 2.5, 3.1, 3.9, 4.8, 5.4, 6, 7.5, 9.3, 11.6] In particular: a) Going from the original data (x,Y) set to the transformed data set (X, Z) with z(Y)-In (Y), verify that...

  • Problem 5 Six data points are given by (-4, 2),(-1,5), (0, 10), (2, 7), (6, 13),...

    Problem 5 Six data points are given by (-4, 2),(-1,5), (0, 10), (2, 7), (6, 13), and (8,9). a) [3 pts) Find the least-squares fit by a linear function. b) [3 pts) Find the least-squares fit by a quadratic function. b) [4 pts) Find the smallest degree polynomial which fits the points exactly.

  • LINEAR ALGEBRA 2. (6 marks) Find the best line y=c+dt to fit y=1, 1, 2, 2...

    LINEAR ALGEBRA 2. (6 marks) Find the best line y=c+dt to fit y=1, 1, 2, 2 at times t=-1, 0, 1, 2. (Use the least squares approximation.)

  • (a) Suppose you are given the following (x, y) data pairs

    (a) Suppose you are given the following (x, y) data pairs x136y217Find the least-squares equation for these data (rounded to three digits after the decimal) (b) Now suppose you are given these (x, y) data pairs. x217y136Find the least-squares equation for these data (rounded to three digits after the decimal). (c) In the data for parts (a) and (b), did we simply exchange the x and y values of each data pair?    Yes    No (d) Solve your answer from part (a) for x (rounded to...

  • Find the least-squares line y P0 + Pzx that best fits the given data 1 Given: The data points (-3...

    can you do it step by step to understand Find the least-squares line y P0 + Pzx that best fits the given data 1 Given: The data points (-3, 2), (-2, 5), (0, 5), (2, 2), (3,7) Suppose the errors in measuring the y-values of the last two data points are greater than for the other points. Weight these data points half as much as the rest of the data 1-3 1-2 | [β1 β2 A) y 0.9 1.54x B)...

  • Example 1: Least Squares Fit to a Data Set by a Linear Function. Compute the coefficients of the ...

    Example 1: Least Squares Fit to a Data Set by a Linear Function. Compute the coefficients of the best linear least-squares fit to the following data. x2.4 3.6 3.64 4.7 5.3 y| 33.8 34.7 35.5 36.0 37.5 38.1 Plot both the linear function and the data points on the same axis system Solution We can solve the problem with the following MATLAB commands x[2.4;3.6; 3.6;4.1;4.7;5.3]; y-L33.8;34.7;35.5;36.0;37.5;38.1 X [ones ( size (x)),x); % build the matrix X for linear model %...

  • 0 3 X Y 2 4 4 Given to the right are two linear equations and...

    0 3 X Y 2 4 4 Given to the right are two linear equations and a set of data points a. Graph the linear equations and data points. b. Complete tables for X. y. y. e, and e? c. Determine which line fits the set of data points better, according to the least squares criterion Line Ay=-1+3x Line : y=1+2x a. Graph the linear equations and data points. Note that Line Ais dashed red and Line B is solid...

  • Find the best line y = c+dt to fit y = 1, 1, 2, 2 at...

    Find the best line y = c+dt to fit y = 1, 1, 2, 2 at times t=-1, 0, 1, 2. (Use the least squares approximation.) 9

  • only (c) please Find the least squares fit to the data x0 12 (a) By a linear function. Plot your linear function along with the data on a coordinate system. (b) By a quadratic polynomial. Sketch the...

    only (c) please Find the least squares fit to the data x0 12 (a) By a linear function. Plot your linear function along with the data on a coordinate system. (b) By a quadratic polynomial. Sketch the graph. c) By a function of the form ya2 b2*. 2-1 Find the least squares fit to the data x0 12 (a) By a linear function. Plot your linear function along with the data on a coordinate system. (b) By a quadratic polynomial....

  • q We would like to fit a line y = cx + d to the following...

    q We would like to fit a line y = cx + d to the following data х у -1 -3 0 -1 0 2 3 using the method of least squares. (a) Write down the (overdetermined) linear system this problem gives rise to in the form Ax = b, where x = (..) (b) Find the best-fit line by computing the least-squares solution of the system Ax = b.

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