1. A university required all Science students to study one language for one year. A survey was carried out at the university amongst the 150 Science students. These students all studied one of either French, Spanish or Russian. The results of the survey are shown below. French Spanish Russian Female 9 29 12 Male 31 40 29 Ludmila decides to use the χ 2 test at the 5 % level of significance to determine whether the choice of language is independent of gender. (e) State Ludmila s null hypothesis. Write down the number of degrees of freedom. Find the expected frequency for the females studying Spanish. Use your graphic display calculator to find the χ 2 test statistic for this data. State whether Ludmila accepts the null hypothesis. Give a reason for your answer. (Total 8 marks) 2. Tony wants to carry out a χ 2 test to determine whether or not a person s choice of one of the three professions engineering, medicine or law is influenced by the person s sex (gender). State the null hypothesis, H 0, for this test. Write down the number of degrees of freedom. Of the 400 people Tony interviewed, 220 were male and 180 were female. 80 of the people had chosen engineering as a profession. Calculate the expected number of female engineers. Tony used a 5 % level of significance for his test and obtained a p-value of 0.0634 correct to 3 significant figures. State Tony s conclusion to the test. Give a reason for this conclusion. (Total 6 marks) IB Questionbank Mathematical Studies 3rd edition 1
3. A market researcher consulted males and females to determine whether the type of coffee they drink is associated with gender. The types of coffee are Cappuccino, Latte, Americano, Macchiato and Espresso. A χ 2 test was conducted, at the 5 % significance level, and the χ 2 value was found to be 8.73. Write down (i) (ii) the null hypothesis; the alternative hypothesis. Write down the number of degrees of freedom for this test. Write down the critical value for this test. State whether the type of coffee drunk is independent of gender. Give a reason for your answer. (Total 6 marks) 4. The same 100 students are also asked how many meals on average they have per day. The data collected is organized in the following table. 3 or fewer meals per day 4 or 5 meals per day More than 5 meals per day Male 15 25 15 55 Female 12 20 13 45 Total Total 27 45 28 100 A χ 2 test is carried out at the 5 % level of significance. (e) Write down the null hypothesis, H 0, for this test. Write down the number of degrees of freedom for this test. Write down the critical value for this test. Show that the expected number of females that have more than 5 meals per day is 13, correct to the nearest integer. Use your graphic display calculator to find the χ 2 calc for this data. (f) Decide whether H 0 must be accepted. Justify your answer. (Total 9 marks) IB Questionbank Mathematical Studies 3rd edition 2
5. A questionnaire was given to all members of a school community to find out which drink was the most popular to have with breakfast. The results are given in the table below, classified by age. Hot Chocolate Tea Coffee Milk Children aged 12 years and less 55 10 1 34 Teenagers aged from 13 to 19 years 25 35 20 10 Adults aged 20 years and over 20 40 79 6 A χ 2 test was conducted to decide whether the type of drink was independent of age. Find the number of degrees of freedom for the χ 2 test. Write down the null hypothesis for the χ 2 test. Write down the critical value for the χ 2 test at the 5 % significance level. The χ 2 test statistic is calculated to be 146 with a p-value of 6.62 10 29 (both numbers given correct to 3 significant figures). Write down the conclusion reached at the 5 % significance level. Give a clear reason for your answer. (Total 6 marks) 6. In a study on 100 students there seemed to be a difference between males and females in their choice of favourite car colour. The results are given in the table below. A χ 2 test was conducted. Blue Red Green Males 14 6 8 Females 31 24 17 Write down the total number of male students. Show that the expected frequency for males, whose favourite car colour is blue, is 12.6. The calculated value of χ 2 is 1.367. (i) Write down the null hypothesis for this test. (ii) (iii) (iv) Write down the number of degrees of freedom. Write down the critical value of χ 2 at the 5 % significance level. Determine whether the null hypothesis should be accepted. Give a reason for your answer. (5) (Total 8 marks) IB Questionbank Mathematical Studies 3rd edition 3
SOLUTIONS 1. H 0 : Choice of language is independent of gender. (A1) Notes: Do not accept not related or not correlated. 2 (A1) 50 69 = 23 (M1)(A1)(G2) 150 Notes: Award (M1) for correct substituted formula, (A1) for 23. χ 2 = 4.77 (G2) Notes: If answer is incorrect, award (M1) for correct substitution in the correct formula (all terms). (e) Accept H 0 since 2 2 calc crit (5.99) or p-value (0.0923) > 0.05 (R1)(A1)(ft) Notes: Do not award (R0)(A1). Follow through from their and. [8] 2. Chosen profession is independent of gender. (A1) OR There is no association between gender and chosen profession. (A1) (C1) Note: Do not accept not related, not correlated or not influenced. 2 (A1) (C1) 180 80 400 OR 180 400 80 400 (M1) 400 (M1) = 36 (A1) (C2) p-value > 0.05 (R1) Accept H 0 (A1) (C2) Note: Do not award (R0)(A1). IB Questionbank Mathematical Studies 3rd edition 4
3. (i) Type of coffee drunk is independent of gender. (A1) Note: Accept not associated. Do not accept not related not correlated or not influenced. (ii) Type of coffee drunk is not independent of gender. (A1)(ft) (C2) Note: If hypotheses are reversed award (A0)(A1)(ft). 4 (A1) (C1) χ 2 (crit) = 9.488 (A1)(ft) (C1) Note: Accept 9.49 χ 2 (calc) < χ 2 (crit), 8.73 < 9.488 (R1) Accept the null hypothesis (Accept type of coffee is independent of gender). (A1)(ft) (C2) Notes: Follow through from their answer to part. Do not award (R0)(A1). [6] 4. H 0 : The (average) number of meals per day a student has and gender are independent (A1) Note: For independent accept not associated but do not accept not related or not correlated. 2 (A1) 5.99 (accept 5.991) (A1)(ft) Note: Follow through from their part. 28 45 28 25 = 12.6 = 13 or 100 = 12.6 = 13 (M1)(A1)(AG) 100 100 100 Notes: Award (M1) for correct formula and (A1) for correct substitution. Unrounded answer must be seen for the (A1) to be awarded. (e) 0.0321 (G2) Note: For 0.032 award (G1)(G1)(AP). For 0.03 with no working award (G0). (f) 0.0321 < 5.99 or 0.984 > 0.05 (R1) accept H 0 (A1)(ft) Note: If reason is incorrect both marks are lost, do not award (R0)(A1). [9] IB Questionbank Mathematical Studies 3rd edition 5
5. (3 l)(4 l) (M1) = 6 (A1) (C2) The preferred type of drink is independent of age. (A1) (C1) Note: For independent accept not associated but do not accept not related or not correlated. 12.592 (12.6) (A1) (C1) Reject null hypothesis as critical value < (A1)(R1)(ft) OR 2 calc Note: (ft) from their value in. Reject null hypothesis as p-value < 0.05 Notes: Do not award (A1)(R0). Award the (R1) for comparison of correct values. (A1)(R1) (C2) [6] 6. 28 (A1) 28 45 28 100 100 45 100 100 (M1)(A1)(ft) Note: Award (M1) for correct formula, (A1) for correct substitution. = 12.6 (AG) Note: Do not award (A1) unless 12.6 seen. (i) the favourite car colour is independent of gender. (A1) Note: Accept there is no association between gender and favourite car colour. Do not accept not related or not correlated. (ii) 2 (A1) (iii) 5.991 (5.99) (A1)(ft) Note: Follow through from (ii) for their degrees of freedom. Note: Accept any accuracy beyond 3 s.f. (iv) Accept the null hypothesis since 1.367 < 5.991 (A1)(ft)(R1) Note: Allow Do not reject. Follow through from their null hypothesis and their critical value. Full credit for use of p-values from GDC [p = 0.505] Do not award (A1)(R0). Award (R1) for valid comparison. [8] IB Questionbank Mathematical Studies 3rd edition 6
IB Questionbank Mathematical Studies 3rd edition 7