Find minimum sample size for Type II error constraint

A question is this type if and only if it asks the student to find the minimum sample size n such that the probability of a Type II error is below a specified threshold for a given alternative mean value.

6 questions · Challenging +1.3

5.05c Hypothesis test: normal distribution for population mean
Sort by: Default | Easiest first | Hardest first
CAIE S2 2009 November Q5
8 marks Standard +0.8
5 The masses of packets of cornflakes are normally distributed with standard deviation 11 g . A random sample of 20 packets was weighed and found to have a mean mass of 746 g .
  1. Test at the \(4 \%\) significance level whether there is enough evidence to conclude that the population mean mass is less than 750 g .
  2. Given that the population mean mass actually is 750 g , find the smallest possible sample size, \(n\), for which it is at least \(97 \%\) certain that the mean mass of the sample exceeds 745 g .
OCR S2 2007 January Q8
14 marks Challenging +1.8
8 The quantity, \(X\) milligrams per litre, of silicon dioxide in a certain brand of mineral water is a random variable with distribution \(\mathrm { N } \left( \mu , 5.6 ^ { 2 } \right)\).
  1. A random sample of 80 observations of \(X\) has sample mean 100.7. Test, at the \(1 \%\) significance level, the null hypothesis \(\mathrm { H } _ { 0 } : \mu = 102\) against the alternative hypothesis \(\mathrm { H } _ { 1 } : \mu \neq 102\).
  2. The test is redesigned so as to meet the following conditions.
    • The hypotheses are \(\mathrm { H } _ { 0 } : \mu = 102\) and \(\mathrm { H } _ { 1 } : \mu < 102\).
    • The significance level is \(1 \%\).
    • The probability of making a Type II error when \(\mu = 100\) is to be (approximately) 0.05 .
    The sample size is \(n\), and the critical region is \(\bar { X } < c\), where \(\bar { X }\) denotes the sample mean.
    1. Show that \(n\) and \(c\) satisfy (approximately) the equation \(102 - c = \frac { 13.0256 } { \sqrt { n } }\).
    2. Find another equation satisfied by \(n\) and \(c\).
    3. Hence find the values of \(n\) and \(c\).
OCR MEI S4 2011 June Q3
24 marks Challenging +1.2
3
  1. Explain the meaning of the following terms in the context of hypothesis testing: Type I error, Type II error, operating characteristic, power.
  2. A market research organisation is designing a sample survey to investigate whether expenditure on everyday food items has increased in 2011 compared with 2010. For one of the populations being studied, the random variable \(X\) is used to model weekly expenditure, in \(\pounds\), on these items in 2011, where \(X\) is Normally distributed with mean \(\mu\) and variance \(\sigma ^ { 2 }\). As the corresponding mean value in 2010 was 94 , the hypotheses to be examined are $$\begin{aligned} & \mathrm { H } _ { 0 } : \mu = 94 \\ & \mathrm { H } _ { 1 } : \mu > 94 \end{aligned}$$ By comparison with the corresponding 2010 value, \(\sigma ^ { 2 }\) is assumed to be 25 .
    The following criteria for the survey are laid down.
    • If in fact \(\mu = 94\), the probability of concluding that \(\mu > 94\) must be only \(2 \%\)
    • If in fact \(\mu = 97\), the probability of concluding that \(\mu > 94\) must be \(95 \%\)
    A random sample of size \(n\) is to be taken and the usual Normal test based on \(\bar { X }\) is to be used, with a critical value of \(c\) such that \(\mathrm { H } _ { 0 }\) is rejected if the value of \(\bar { X }\) exceeds \(c\). Find \(c\) and the smallest value of \(n\) that is required.
  3. Sketch the power function of an ideal test for examining the hypotheses in part (ii).
Edexcel S4 2013 June Q7
9 marks Challenging +1.2
7. A machine produces bricks. The lengths, \(x \mathrm {~mm}\), of the bricks are distributed \(\mathrm { N } \left( \mu , 2 ^ { 2 } \right)\). At the start of each week a random sample of \(n\) bricks is taken to check the machine is working correctly.
A test is then carried out at the \(1 \%\) level of significance with $$\mathrm { H } _ { 0 } : \mu = 202 \text { and } \mathrm { H } _ { 1 } : \mu < 202$$
  1. Find, in terms of \(n\), the critical region of the test. The probability of a type II error, when \(\mu = 200\), is less than 0.05
  2. Find the minimum value of \(n\).
Edexcel S4 2018 June Q5
11 marks Challenging +1.2
  1. A machine makes posts. The length of a post is normally distributed with unknown mean \(\mu\) and standard deviation 4 cm .
A random sample of size \(n\) is taken to test, at the \(5 \%\) significance level, the hypotheses $$\mathrm { H } _ { 0 } : \mu = 150 \quad \mathrm { H } _ { 1 } : \mu > 150$$
  1. State the probability of a Type I error for this test. The manufacturer requires the probability of a Type II error to be less than 0.1 when the actual value of \(\mu\) is 152
  2. Calculate the minimum value of \(n\).
Edexcel FS1 2021 June Q7
8 marks Challenging +1.8
  1. A manufacturer has a machine that produces lollipop sticks.
The length of a lollipop stick produced by the machine is normally distributed with unknown mean \(\mu\) and standard deviation 0.2 Farhan believes that the machine is not working properly and the mean length of the lollipop sticks has decreased.
He takes a random sample of size \(n\) to test, at the 1\% level of significance, the hypotheses $$\mathrm { H } _ { 0 } : \mu = 15 \quad \mathrm { H } _ { 1 } : \mu < 15$$
  1. Write down the size of this test. Given that the actual value of \(\mu\) is 14.9
    1. calculate the minimum value of \(n\) such that the probability of a Type II error is less than 0.05
      Show your working clearly.
    2. Farhan uses the same sample size, \(n\), but now carries out the test at a \(5 \%\) level of significance. Without doing any further calculations, state how this would affect the probability of a Type II error.