S2 Hypothesis Testing Pupil Notes

Download Report

Transcript S2 Hypothesis Testing Pupil Notes

The process for setting up a hypothesis test:
State your NULL
e.g. Ho: p = 0.2 or H0 : λ = 4
HYPOTHESIS, H0
State your ALTERNATE
HYPOTHESIS, H1
State the significance
level
State the statistical model
e.g. S.L. = 5% (one or two tailed)
Test your statistic against
the significance level
e.g. P(X > 5)
State your conclusion
in context
e.g. Whether you accept H0 or not
and what this means in context
e.g. H1: p > 0.2 or H1 : λ ≠ 4
e.g. X ~ B(10, 0.2) or X ~ Po(4)
Michelle said she was telepathic. She constructed a simple experiment
to confirm this. She placed four different coloured discs in a bag,
selected one, ensuring her friend could not see it, concentrated on the
colour and then asked her friend to guess the colour. She repeated the
process 20 times and her friend managed to guess correctly 9 times.
Michelle felt this result indicated that she was telepathic. Would you
agree? Test her claim at the 5% significance level.
Every year a statistics teacher takes her class out to observe the traffic
passing the school gates during a Tuesday lunch hour. Over the years
she has established that the average number of lorries passing the
gates in a lunch hour is 7.5. During the course of the last 12 months,
a new bypass has been built and the number of lorries passing the
school gates in this year’s experiment was 4. Test, at the 5% level,
whether or not the mean number of lorries passing the school gates
during a Tuesday lunch hour has reduced.
In a sack containing a large number of beads ¼ are coloured gold and
the remainder are of different colours. A group of children use some
of the beads in a craft lesson and do not replace them. Afterwards the
teacher wishes to know whether or not the proportion of gold beads
left in the sack has changed. He selects a random sample of 20 beads
and finds that 2 of them are coloured gold.
Stating your hypotheses clearly test, at the 10% level of significance,
whether or not there is evidence that the proportion of gold beads
has changed.
Past records show that 20% of customers who buy crisps from a large
supermarket buy them in single packets. During a particular day a
random sample of 25 customers who had bought crisps was taken
and 2 of them had bought them in single packets.
(a) Use these data to test, at the 5% level of significance, whether or
not the percentage of customers who bought crisps in single packets
that day was lower than usual. State your hypotheses clearly.
At the same supermarket, the manager thinks that the probability of a
customer buying a bumper pack of crisps is 0.03. To test whether or
not this hypothesis is true the manager decides to take a random
sample of 300 customers.
(b) Stating your hypotheses clearly, find the critical region to enable
the manager to test whether or not there is evidence that the
probability is different from 0.03. The significance level should be 5%.
(c) Write down the significance level of this test.
A standard treatment for a drug has a probability of success of 0.3.
A doctor has done some research and has modified the drug and
tested it on 20 patients. He wants to see whether the modified drug
has changed the success rate.
(a) Find the critical region where the significance level needs to be as
close to 5% as possible.
(b) What is the significance level?
(c) 9 patients had success with the modified drug. At the 5% level of
significance, does this give evidence that the drug has improved the
success rate?
(d) On a larger trial using 500 patients, 162 patients had success
with the modified drug. Test at the 2.5% significance level as to
whether there evidence to suggest the drug has improved the success
rate?