REGRESSION
The Regression Line is the one that best fits the point cloud. It passes through the point (x, y) called the center of gravity.
CORRELATION
Correlation tries to establish the relationship that exists between two variables in a two-dimensional distribution.
Scatter plots use a collection of points placed using Cartesian coordinates to display values of two variables. By displaying a variable on each axis, you can detect if there is a relationship or correlation between the two variables.
Multiple regression
Allows you to work with a variable at the interval or ratio level. In the same way, it is possible to analyze the relationship between two or more variables through equations.
Simple linear regression
We try to explain the relationship that exists between the response variable Y and a single explanatory variable x
Positive r values indicate a positive correlation, in which the values of both variables tend to increase together. Negative r values indicate a negative correlation, in which the values of one variable tend to increase while the values of the other variable decrease.
The coefficient of determination: (R squared) indicates the proportional amount of variation in the response variable y, explained by the independent variables X in the linear regression model.
Using regression techniques we invent a variable y as a function of another variable x or vice versa.
The regression is aimed at writing as this relationship between the variables x and y
Graphically, the scatter diagram or point cloud allows you to obtain information about the type of relationship between x and y.