Suppose measurements of y versus x give three points in the x-y plane with coordinates (0,6), (1,0), (2,0). (a) Show that there is no straight line that intersects all three points. (b) Find the linear function y = c0 + c1x that best fits this data in the least squares sense, by finding the coefficients c0, c1 using the method of least squares. (c) Show that the solution is the best possible in the sense that it minimizes the length of the residual.
Correlation
Correlation defines a relationship between two independent variables. It tells the degree to which variables move in relation to each other. When two sets of data are related to each other, there is a correlation between them.
Linear Correlation
A correlation is used to determine the relationships between numerical and categorical variables. In other words, it is an indicator of how things are connected to one another. The correlation analysis is the study of how variables are related.
Regression Analysis
Regression analysis is a statistical method in which it estimates the relationship between a dependent variable and one or more independent variable. In simple terms dependent variable is called as outcome variable and independent variable is called as predictors. Regression analysis is one of the methods to find the trends in data. The independent variable used in Regression analysis is named Predictor variable. It offers data of an associated dependent variable regarding a particular outcome.
Suppose measurements of y versus x give three points in the x-y plane with
coordinates (0,6), (1,0), (2,0).
(a) Show that there is no straight line that intersects all three points.
(b) Find the linear
(c) Show that the solution is the best possible in the sense that it minimizes the length of the residual.
(a)
Plot the points on the graph. As the points (1,0) and (2,0) are co-linear therefore, it is not possible that one straight line intersects all the 3 points.
(b)
For the given points calculate the .
Points | ||||
( 0,6 ) | 0 | 6 | 0 | 0 |
( 1,0 ) | 1 | 0 | 1 | 0 |
( 2,0 ) | 2 | 0 | 4 | 0 |
Step by step
Solved in 4 steps with 2 images