Day of week Number of toys 1 4 5 6 14 24 35 47 53 67 Use linear regression to find the equation for the linear function that best fits this data for the day of the week and the number of toys made in the toy shop. Round to two decimal nlaces 3.
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.
From given data,
X | Y | X*Y | X*X |
1 | 14 | 14 | 1 |
2 | 24 | 48 | 4 |
3 | 35 | 105 | 9 |
4 | 47 | 188 | 16 |
5 | 53 | 265 | 25 |
6 | 67 | 402 | 36 |
Step by step
Solved in 2 steps with 2 images