Curve Fitting Use least-squares regression to fit a straight line to the list of data in the accompanying table. \begin{tabular}{|c|c|c|c|c|c|c|c|c|c|} \hline x & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 \\ \hline y & 1 & 1.5 & 2 & 3 & 4 & 5 & 8 & 10 & 12 \\ \hline \end{tabular} Give the slope and the intercept Give an estimation of y for x = 10.
Added by George S.
Close
Step 1
We can create two arrays, one for the x-values and one for the y-values. x = [2, 3, 1.51, 4, 3, 5, 4, 6, 5, 7]; y = [8, 6, 10, 12]; Show more…
Show all steps
Your feedback will help us improve your experience
Morgan Cheatham and 59 other Physics 101 Mechanics educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Given the following paired observations on Y and X, graph Y versus X: (b) Calculate the correlation coefficient. (c) Determine the slope and intercept coefficients of the linear regression line. (d) Show the regression line on the graph of part (a). (2) Compute the predicted value of Y for each observed value of X. (f) Calculate R^2 and σ. (g) What is the predicted value of Y for X = 52 and X = 102?
Adi S.
How to write a code in matlab to be able to find the function represented in this graph
Frank D.
For the following given data a- Write the proper MATLAB code for the straight line that best fit the relation y=a ebx, use print command to print the above exponential function after finding the parameters a &b. then plot the function y. b- Find the standard deviation, standard error of estimate and the correlation coefficient. c- Use print command to print the value of the standard deviation, the value of the standard error of estimate and the value of the correlation coefficient.
Recommended Textbooks
University Physics with Modern Physics
Physics: Principles with Applications
Fundamentals of Physics
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD