21/11/201816Bar graph showing the probabilities forܺ~ܤ݅݊ሺ10,0.5ሻ461)ܪ: ݉݁݀݅ܽ݊ ൌ 27.5ܪଵ: ݉݁݀݅ܽ݊ 27.5(so one‐tailed test)2)ࢻ ൌ 0.053)ݔ ൌ 6oversܺcounts the number of ‘overs’ becauseܪଵsuggests there should bemore of these4)Forp‐value we require prob. thatXis at least as extreme as 6 out of 10ܺ~ܤ݅݊ሺ10,0.5ሻsoܲܺ 6ൌ 0.377 ሺ3݀ሻfrom Excel(one‐tailed test so do not double)p‐valueൌ 0.377 ሺ3݀ሻ5)p‐value ࢻ ሺ0.377 0.05ሻso do not rejectH6)Conclude that we do not have sufficient evidence of an increase inthe median age above the 1990 figure of 27.5 years__+_+23.1; 27.4; 29.2; 25.8; 30.0;++++_41.2; 31.3; 28.4; 29.5; 19.447Clearly show all sixsteps:Summary of how to calculate both test statisticandp‐value for a Sign TestH1:Test statisticp‐valuemedianm0ݔ= no. of +(overs)ܲሺܺ ݔሻmedian൏m0ݔ= no. of‐(unders)ܲሺܺ ݔሻmedian്m0ݔ= maximum of (no. of +, no. of‐)2 ൈ ܲሺܺ ݔሻH0:medianൌm0if it’s a two‐sided test, need to find the probabilities inbothtails48