Test whether the correlation from question 1 is statistically significant (i.e., significantly different from 0). Report the df and p-value of the test. ID Alcohol (x) Tobacco (y) xy x^2 y^2 1 6.47 4.03 26.0741 41.8609 16.2409 2 6.13 3.76 23.0488 37.5769 14.1376 3 6.19 3.77 23.3363 38.3161 14.2129 4 4.89 3.34 16.3326 23.9121 11.1556 5 5.63 3.47 19.5361 31.6969 12.0409 6 4.52 2.92 13.1984 20.4304 8.5264 7 5.89 3.2 18.848 34.6921 10.24 8 4.79 2.71 12.9809 22.9441 7.3441 9 5.27 3.53 18.6031 27.7729 12.4609 10 6.08 4.51 27.4208 36.9664 20.3401 11 4.02 4.56 18.3312 16.1604 20.7936 Total 59.88 39.8 217.7103 332.3292 147.493
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.
- Test whether the
correlation from question 1 is statistically significant (i.e., significantly different from 0). Report the df and p-value of the test.
ID | Alcohol (x) | Tobacco (y) | xy | x^2 | y^2 |
1 | 6.47 | 4.03 | 26.0741 | 41.8609 | 16.2409 |
2 | 6.13 | 3.76 | 23.0488 | 37.5769 | 14.1376 |
3 | 6.19 | 3.77 | 23.3363 | 38.3161 | 14.2129 |
4 | 4.89 | 3.34 | 16.3326 | 23.9121 | 11.1556 |
5 | 5.63 | 3.47 | 19.5361 | 31.6969 | 12.0409 |
6 | 4.52 | 2.92 | 13.1984 | 20.4304 | 8.5264 |
7 | 5.89 | 3.2 | 18.848 | 34.6921 | 10.24 |
8 | 4.79 | 2.71 | 12.9809 | 22.9441 | 7.3441 |
9 | 5.27 | 3.53 | 18.6031 | 27.7729 | 12.4609 |
10 | 6.08 | 4.51 | 27.4208 | 36.9664 | 20.3401 |
11 | 4.02 | 4.56 | 18.3312 | 16.1604 | 20.7936 |
Total | 59.88 | 39.8 | 217.7103 | 332.3292 | 147.493 |
Step by step
Solved in 5 steps with 5 images