Porisma

Worked solution

Test cereal mass and invert a two-sided rejection

The mass, xx kg, of the contents of each packet in a random sample of 80 cereal packets is measured, with ∑x=79.53\sum x=79.53 and ∑x2=100.4621\sum x^2=100.4621.

(i) Test, at the 4% level of significance, whether the population mean mass of the contents is less than 1.10 kg.

(ii) In another test using the same data at 4%, H0H_0 states that the population mean is μ0\mu_0 kg and H1H_1 states that it is not μ0\mu_0 kg. Given that H0H_0 is rejected in favour of H1H_1, find the set of possible values of μ0\mu_0.

[2003/II/29]

CJC · Lecture · Example 5

(i) Estimate the moments and set up the lower-tail test

xˉ=79.53/80=0.994125\bar x=79.53/80=0.994125 kg and s2=[100.4621−79.532/80]/79=0.270877705696… kg2s^2=[100.4621-79.53^2/80]/79=0.270877705696\ldots\ \mathrm{kg}^2. Test H0:μ=1.10H_0:\mu=1.10 against H1:μ<1.10H_1:\mu<1.10, with μ\mu the population mean content mass. Under H0H_0, use Xˉ≈N(1.10,s2/80)\bar X\approx N(1.10,s^2/80) by the large-sample approximation. Individual normality is not given.

How did this part go?

(i) Calculate p and conclude

z=(0.994125−1.10)/s2/80=−1.819498851…z=(0.994125-1.10)/\sqrt{s^2/80}=-1.819498851\ldots gives p=0.03441767898…<0.04p=0.03441767898\ldots<0.04. Reject H0H_0: sufficient evidence at 4% that mean content mass is below 1.10 kg. The source prints variance 0.27088 and uses estimated SD 0.52046133381837 in Z-Test Stats with μ0=1.1\mu_0=1.1, xˉ=0.994125\bar x=0.994125, n=80n=80, lower alternative. Its screen shows z=−1.819491146z=-1.819491146 and p=0.0344182092p=0.0344182092, printed as 0.034418. This source result is distinct from the full-precision calculation but gives the same decision.

How did this part go?

(ii) Use both rejection tails

For H0:μ=μ0H_0:\mu=\mu_0 against H1:μ≠μ0H_1:\mu\ne\mu_0, the 4% test assigns 0.02 to each tail. With c=Φ−1(0.98)=2.053748911…c=\Phi^{-1}(0.98)=2.053748911\ldots, reject when ∣(xˉ−μ0)/s2/80∣≥c|(\bar x-\mu_0)/\sqrt{s^2/80}|\ge c. The original PDF visibly includes the absolute-value bars, although extraction loses them. Equivalently, μ0≤xˉ−cs2/80\mu_0\le\bar x-c\sqrt{s^2/80} or μ0≥xˉ+cs2/80\mu_0\ge\bar x+c\sqrt{s^2/80}.

How did this part go?

(ii) Preserve exact boundaries and qualify the printed set

The full-precision boundaries are μ0≤0.874619199928…\mu_0\le0.874619199928\ldots or μ0≥1.113630800072…\mu_0\ge1.113630800072\ldots. The source’s intermediate values are 0.87462 and 1.1136; its final real-valued set is 0<μ0≤0.8750<\mu_0\le0.875 or μ0≥1.11\mu_0\ge1.11. Those final rounded endpoints admit some means that do not reject: for example, 1.11 is inside the non-rejection interval. Preserve the exact expressions for classification. The additional positive restriction reflects the mass context; intersect with μ0>0\mu_0>0 if positive reference means are required. The teacher note also calls ztestz_{\mathrm{test}} by zcalcz_{\mathrm{calc}} and zcriticalz_{\mathrm{critical}} by zαz_\alpha; these are alternate labels for the same roles, not different statistics.

How did this part go?

Compare your sketch

Expand diagram

Use the scrollbars or arrow keys to inspect details.

A standard normal density has two shaded rejection tails, each of probability 0.02, beyond −2.053748911 and +2.053748911. Inverting the statistic gives reference means at or below 0.874619199928 or at or above 1.113630800072 kg.
A standard normal density has two shaded rejection tails, each of probability 0.02, beyond −2.053748911 and +2.053748911. Inverting the statistic gives reference means at or below 0.874619199928 or at or above 1.113630800072 kg.
A standard normal density has two shaded rejection tails, each of probability 0.02, beyond −2.053748911 and +2.053748911. Inverting the statistic gives reference means at or below 0.874619199928 or at or above 1.113630800072 kg.

Common mistakes

The unknown μ₀ appears inside an absolute value. Solve both inequalities and keep full-precision endpoints; rounding can change membership of the set.

Solution notes

Teacher-completed estimates, model, p-value decision and both inverse inequalities integrated. Distinct yellow teacher notation note appears in the relevant inverse-test step. Source two-tail rejection sketch reconstructed independently. No printed marks.

Read the hint