Answer:
We cant say, with α =0.01, that the average age changed. The p-value is 0.014
Step-by-step explanation:
As a consecuence of the Central Limit Theorem, the mean sample has a distribution approximately normal, with unknown mean and standard deviation
(the standard deviation of one single sample divided by the sqaure root of the sample lenght).
The null hypothesis H₀ is that the average age is still 23.3 (the mean is 23.3). The alternative hypothesis is that the mean is different. We want to see if we can refute H₀ with significance level α =0.01.
Lets call X the mean of a random sample of 20 online shoppers. As we discuse above, X is approximately normal with unknown mean and standard deviation equal to 1.1851 . If we take the hypothesis H₀ as True, then the mean will be 23.3, and if we standarize X, we have that the distribution
![W = \frac{X - 23.3}{1.1851}](https://tex.z-dn.net/?f=%20W%20%3D%20%5Cfrac%7BX%20-%2023.3%7D%7B1.1851%7D%20)
Will have a distribution approximately normal, with mean 0 and standard deviation 1.
The values of the cummulative ditribution of the normal function can be found in the attached file. Since we want a significance level of 0.01, then we need a value Z such that
P(-Z < W < Z) = 0.99
For the symmetry of the standard Normal distribution, we have that Φ(Z) = 1-Φ(-Z), where Φ is the cummulative distribution function of the standard Normal random variable. Therefore, we want Z such that
Φ(Z) = 0.995
If we look at the table, we will found that Z = 2.57, thus,
![0.99 = P(-2.57 < W < 2.57) = P(-2.57 < \frac{X-23.3}{1.1851} < 2.57)\\ = P(-2.57*1.1851 + 23.3 < X < 2.57*1.1851 + 23.3) = P(20.254 < X < 26.345)](https://tex.z-dn.net/?f=0.99%20%3D%20P%28-2.57%20%3C%20W%20%3C%202.57%29%20%3D%20P%28-2.57%20%3C%20%5Cfrac%7BX-23.3%7D%7B1.1851%7D%20%3C%202.57%29%5C%5C%20%3D%20P%28-2.57%2A1.1851%20%2B%2023.3%20%3C%20X%20%3C%202.57%2A1.1851%20%2B%2023.3%29%20%3D%20P%2820.254%20%3C%20X%20%3C%2026.345%29%20)
Thus, we will refute the hypothesis if the observed value of X lies outside the interval [20.254, 26.345].
Since the observed value is 26.2, then we dont refute H₀, So we dont accept that the number average age of online consumers has changed.
For us to refute the hypothesis we need Z such that, for the observed value, |W| > Z. Replacing X by 26.2, we have that [tex] W = \frac{26.2-23.3}{1.1851} = 2.4470. We can observe that Φ(2.447) = 0.993, substracting that amount from 1 and multiplying by 2 (because it can take low values too), we obtain that the p-value is 0.014.