Seven Days of Iced Drinks

Correlation & RegressionMedium+20 XP+20

Seven Days of Iced Drinks

A café owner logs one week of data: each day's highest temperature and the number of iced drinks sold. Across the n=7n = 7n=7 days, Pearson's correlation is r=0.71r = 0.71r=0.71. That looks like a strong positive relationship, and the owner is ready to plan stock around it.

With so few days, though, chance alone can produce a large rrr. To check, test

  • H0H_0H0​: there is no linear relationship (the true correlation is 0), against
  • H1H_1H1​: there is one, in either direction (a two-sided test),

at significance level α=0.05\alpha = 0.05α=0.05. The test statistic is

t=rn−21−r2t = \frac{r\sqrt{n-2}}{\sqrt{1-r^2}}t=1−r2​rn−2​​

and when H0H_0H0​ is true it follows a ttt distribution with df=n−2df = n - 2df=n−2 degrees of freedom. H0H_0H0​ is rejected when ∣t∣|t|∣t∣ is at least the critical value t∗t^*t∗:

dfdfdf45678
t∗t^*t∗ (two-sided, α=0.05\alpha = 0.05α=0.05)2.7762.5712.4472.3652.306

With 7 days of data, what is the smallest value of ∣r∣|r|∣r∣ that this test would declare significant?

Round your answer to 3 decimal places.

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.