Using the following data, find a linear regression model to calculate Average Salary based on Stress Tolerance. Then find the correlation between the two variables. Finally perform a hypothesis test to see if we have enough evidence to claim that the two variables have a linear relationship. Job Average Salary Stress Tolerance Art director 81 69.0 Astronomer 96 62.0 Audiologist 70 67.5 Dental hygienist 70 71.3 Economist 92 63.3 Engineer 92 69.5 Law teacher 100 62.8 Optometrist 98 65.5 Political Scientist 102 60.1 Urban and regional planner 65 69.0
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.
Using the following data, find a linear regression model to calculate Average Salary based on Stress Tolerance. Then find the
Job |
Average Salary |
Stress Tolerance |
Art director |
81 |
69.0 |
Astronomer |
96 |
62.0 |
Audiologist |
70 |
67.5 |
Dental hygienist |
70 |
71.3 |
Economist |
92 |
63.3 |
Engineer |
92 |
69.5 |
Law teacher |
100 |
62.8 |
Optometrist |
98 |
65.5 |
Political Scientist |
102 |
60.1 |
Urban and regional planner |
65 |
69.0 |
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 4 images