In: Statistics and Probability
Number of Cigarettes |
Health Costs (in thousands$) |
30 |
43 |
40 |
45 |
50 |
54 |
60 |
53 |
70 |
56 |
80 |
63 |
The correlation coefficient is 0.958.
The hypothesis being tested is:
H0: ρ = 0
Ha: ρ ≠ 0
The t-statistic is 6.664.
The p-value is 0.0026.
Since the p-value (0.0026) is less than the significance level (0.05), we can reject the null hypothesis.
Therefore, we can conclude that the correlation coefficient is different from zero.
The Ordinary Least Squares regression line is:
y = 31.5905 + 0.3771*x
There are four assumptions associated with a linear regression model:
Number of Cigarettes | Health Costs (in thousands$) | |||||
30 | 43 | |||||
40 | 45 | |||||
50 | 54 | |||||
60 | 53 | |||||
70 | 56 | |||||
80 | 63 | |||||
r² | 0.917 | |||||
r | 0.958 | |||||
Std. Error | 2.367 | |||||
n | 6 | |||||
k | 1 | |||||
Dep. Var. | Health Costs (in thousands$) | |||||
ANOVA table | ||||||
Source | SS | df | MS | F | p-value | |
Regression | 248.914 | 1 | 248.9143 | 44.41 | .0026 | |
Residual | 22.4190 | 4 | 5.6048 | |||
Total | 271.333 | 5 | ||||
Regression output | confidence interval | |||||
variables | coefficients | std. error | t (df=4) | p-value | 95% lower | 95% upper |
Intercept | 31.5905 | |||||
Number of Cigarettes | 0.3771 | 0.0566 | 6.664 | .0026 | 0.2200 | 0.5343 |
Please give me a thumbs-up if this helps you out. Thank you!