A die is suspected of showing a six more often than it should. Define a suitable parameter and write down the null and alternative hypotheses for a test of this suspicion.
,
Work on paper. Use the hints one at a time if you are stuck, then compare with the full solution, line by line.
A die is suspected of showing a six more often than it should. Define a suitable parameter and write down the null and alternative hypotheses for a test of this suspicion.
,
Explain what is meant by saying a test is carried out at the 5% significance level. For the test , with and critical region , is the probability of wrongly rejecting above or below ? (Use .)
At most a chance of rejecting a true ; here , below
, , . The observed value is . Find the -value, to 4 decimal places.
. Find the standard deviation of the mean of a random sample of size .
, , with . The observed value is . Find the -value, to 4 decimal places.
A two-tailed test is carried out at the 10% significance level. What probability should each tail of the critical region be compared with? Give your answer as a decimal.
. Find the variance of the mean of a random sample of size .
A coin is tossed times to test against , where is the probability of a head. The critical region is . Find the actual significance level as an exact fraction.
For pairs of data, . Test against at the 5% level, given that the critical value for a two-tailed test with is .
Reject : evidence of correlation
. A random sample of size has mean . Find the value of the test statistic for a test of .
It is claimed that 60% of customers prefer brand A. In a random sample of 15 customers, only 5 prefer brand A. Find the -value, to 4 decimal places, for a test at the 5% level of whether the proportion is lower than claimed, and state your conclusion.
: reject
A test of against uses and gives . Find the -value to 4 decimal places, and state the conclusion at the 5% level.
: do not reject
. A test of against is carried out at the 5% level. Find the critical value , so that the critical region is .
For the test in the previous question (critical region with ), find the actual significance level, to 4 d.p.
Past records show that of a shop's customers pay in cash. After a card machine fault, of the next customers pay in cash. Find the -value, to 4 decimal places, for a test at the 5% level of whether the proportion paying in cash has increased, and state your conclusion.
: do not reject
. A test of against is carried out at the 5% level. Find the critical value , so that the critical region is .
The times for a task are minutes, with believed to be . After training, a random sample of workers has mean time minutes. Find the -value, to 4 decimal places, for a test at the 5% level of whether the mean time has decreased, and state your conclusion.
: do not reject
A random sample of towns gives between average income and the percentage of people who smoke. Test, at the 5% level, whether there is negative correlation in the population. (Critical value for , one-tailed 5%: .)
Reject : evidence of negative correlation
A test of against uses and has critical region . Find the probability of a Type I error, to 4 decimal places.
A coin is tossed times to test whether it is fair, and lands heads times. Find the -value of this two-tailed test, to 4 decimal places. (Use for , but work from the unrounded value if you can.)
IQ scores are . A random sample of 25 students has mean . Test at the 5% level whether their mean differs from 100: give the tail probability to 4 decimal places, and your conclusion.
: do not reject
A coin is tossed 30 times. Find the critical region for a two-tailed test of fairness at the 5% level. Enter the two critical values and (region or ).
or
For a random sample of 10 pairs, . The critical value for a two-tailed test at 5% with is . Carry out the test and state your conclusion carefully.
Insufficient evidence of correlation
A machine fills jars with mass g. To test against at the 1% level, a sample of 25 jars is taken. Find the critical value for , to 1 d.p.
Critical region
A test of against uses trials and the critical region . In fact . Find the probability of a Type II error, to 4 decimal places.
A website claims of its visitors are from abroad. In a random sample of visitors, are from abroad. Test the claim at the 5% level (two-tailed): give the relevant tail probability to 4 decimal places, and your conclusion.
: reject
. Find the critical region for a test of against at the 10% level. Enter the two critical values and (region or ), and find the actual significance level.
or ; actual level
The lengths of rods are mm. A test of against at the 5% level uses a sample of rods. Find the critical region for : enter the two critical values to 2 decimal places.
or
For a random sample of students, the correlation between hours of revision and exam mark is . Test for positive correlation at (a) the 5% level and (b) the 1% level. (Critical values for , one-tailed: at 5%, at 1%.)
Significant at 5% but not at 1%
The masses (kg) of a breed of lamb are . A farmer hopes a new feed has increased from . A random sample of lambs gives
Find the -value, to 4 decimal places, for a test at the 5% level, and state your conclusion.
: do not reject
Historically 15% of a crop is diseased. After a new treatment, 1 plant out of a random sample of 25 is diseased. Find the -value, to 4 decimal places, for a test at the 10% level of whether the treatment has reduced the proportion, and state your conclusion.
: reject
. Find the critical region for at the 10% level, and state the actual significance level to 4 d.p.
;
. Find the critical region for a test of against at the 5% level. Enter the two critical values and (region or ).
or (actual level )
A test of against uses with critical region . Find the power of the test when , to 4 decimal places, and explain what it means.
. A test of against at the 5% level uses a random sample of size . The critical region is (to 3 d.p.). Find .
and is tested against . Find all the values of that would lead to rejecting at the 5% level but not at the 1% level.
or
For pairs of data, , and . Calculate , to 4 decimal places, and test at the 5% level whether there is correlation. (Critical value for , two-tailed 5%: .)
: reject
. A test of against at the 5% level uses a sample of size . Find the critical value of , and hence the probability of a Type II error when in fact , to 4 decimal places.
A coin is tossed times and lands heads every time. Find the smallest for which this result is significant in a two-tailed test of fairness at the 1% level.
A quality inspector carries out independent tests at the 5% level on batches, all of which are in fact fine (so is true every time). Assuming each test has actual significance level exactly , find the probability that at least one batch is wrongly rejected, to 4 decimal places.
. A test of against at the 5% level uses a sample of size . Find the smallest for which a sample mean of would lead to rejecting .
A coin is tossed 10 times and shows 9 heads. A student finds for and writes: "So there is only about a 1% chance that the coin is fair." Explain what is wrong, and write a correct interpretation of .
It confuses with
A buyer tests a batch of components. She tests ; if none is faulty she accepts the batch, and if or more are faulty she rejects it. If exactly is faulty she tests a further and rejects the batch if any of these is faulty. Find the probability that a batch with faulty components is rejected, to 4 decimal places.
is tested against at the 5% level using . Find the smallest for which the critical region contains both and .
. A two-tailed test of uses a random sample of size and does not reject exactly when . Find the significance level of the test, to 4 decimal places.
. A test of against is to have significance level , and probability of a Type II error at most when . Find the smallest sample size .
A researcher with pairs finds . She had planned a two-tailed test at 5% (critical value ), but on seeing a positive she switches to a one-tailed test for positive correlation (critical value ) and reports a significant result. Explain, with numbers, why this is wrong, and find the real significance level of her procedure.
Her procedure has level , not ; with the planned test, is not significant
. Find the critical region for a test of against at the 5% level. Enter the two critical values and (region or ), and find the actual significance level.
or ; actual level
A process has output , and is tested against at the 1% level. One random sample of has mean ; a second, independent, random sample of has mean . The two samples are combined. Find the -value for the combined sample, to 4 decimal places, and state the conclusion.
: do not reject at 1%
A journal publishes only results significant at the 5% level. Suppose that of hypotheses tested, have true and have false, and that each test has power . What proportion of the significant results are false positives?
A test statistic has a continuous, strictly increasing distribution function under , and large values are extreme, so the -value is . Prove that under , is uniformly distributed on . Deduce that rejecting when gives a test of size exactly , and verify this for the one-tailed -test at .
under , so
is a discrete test statistic with large values extreme, and the -value of an observation is . Prove that for every , . Illustrate with and , finding the actual size.
Size ; for at the size is
is a random sample from with known. For the simple hypotheses and with , the Neyman–Pearson lemma says the most powerful test of a given size rejects when the likelihood ratio is large. Show that is an increasing function of , and deduce that the most powerful test is the usual one, rejecting for large , whatever the value of . Check numerically with , , , that at exceeds at .
increases with ; the uniformly most powerful test rejects for large
and is tested against at the 5% level using a sample of size . Show that the power function is , explain why it is increasing in and in , and find the power when and , to 4 decimal places.
For a one-tailed -test of against with known , size and power at (), show that the sample size must satisfy
where . Hence find the smallest when , , and the power must be at least .
The test with critical region , where , has power function . Prove, using a coupling argument, that is increasing in . Hence show that this test has size at most for the composite null hypothesis .
is increasing; size for is
Under (bivariate normal data), has a -distribution with degrees of freedom. Show that the critical value of is , where is the critical value of . Hence, given for degrees of freedom (two-tailed 5%), find for , to 4 decimal places.
For , no critical region of the form has size exactly . A randomised test rejects if , and if rejects with probability (decided by an independent random number). Find , to 4 decimal places, so that the size is exactly . Explain why such tests matter in theory even though they are rarely used in practice.
hypotheses are each tested at level (the Bonferroni correction). Prove that if all of them are true, the probability of rejecting at least one is at most , whether or not the tests are independent. For independent tests with , find this probability exactly, to 4 decimal places, and compare with Q40.
At most ; with independent tests it is
To test whether a coin is fair, Jo tosses it times and carries out a two-tailed test at the 5% level. If that is not significant, she tosses it more times and tests all tosses at the 5% level, rejecting if this second test is significant. Given the critical regions or for tosses, and or for tosses, find the probability that Jo rejects when the coin is fair, to 4 decimal places.