Home / IB DP Maths AA and AI / Application and Interpretation HL / IBDP MAI : SL 4.11 Formulation of null and alternative hypotheses

IB Mathematics SL 4.11 Formulation of null and alternative hypotheses AI HL Paper 2- Exam Style Questions- New Syllabus

Question

An entomologist conducts research on a sample of cane beetles, recording their sex and physical length. The beetles are classified into three distinct categories based on their length, \(x\) mm: “small” (\(10 < x \leq 12\)), “medium” (\(12 < x \leq 16\)), and “large” (\(16 < x \leq 18\)). The resulting frequency distribution is summarized in the table below:
 Length, \(x\) mm
Small (\(10 < x \leq 12\))Medium (\(12 < x \leq 16\))Large (\(16 < x \leq 18\))
SexFemale\(42\)\(25\)\(19\)
Male\(61\)\(27\)\(12\)
(a) Determine the total size of the sample collected by the entomologist.
(b) Using the mid-interval values for each length category, estimate the mean length of a cane beetle in this sample.
(c) Two female beetles are selected at random from the sample with replacement. Calculate the probability that both selected beetles are classified as small.
(d) Perform a \(\chi^2\) test for independence at the \(5\%\) significance level to investigate if there is an association between a beetle’s sex and its length category. State the \(p\)-value, the result of the test, and a conclusion in context.
(e) Let \(\phi\) represent the proportion of males in the total cane beetle population. Test the hypothesis that males constitute more than \(45\%\) of the population at a \(5\%\) significance level. Formulate the null and alternative hypotheses, calculate the \(p\)-value using a binomial distribution, and state your conclusion.

Most-appropriate topic codes:

• SL 4.1: Population, sample, and discrete data — part (a) 
• SL 4.3: Mean from grouped data using mid-interval values — part (b)
• SL 4.5: Probability of independent events with replacement — part (c) 
• SL 4.11: \(\chi^2\) test for independence and interpretation of \(p\)-values — part (d) 
• AHL 4.18: Hypothesis test for a population proportion using a binomial distribution — part (e) 
▶️ Answer/Explanation
Detailed solution

(a)
Total beetles = sum of all frequencies:
\(42 + 25 + 19 + 61 + 27 + 12 = 186\).
\(\boxed{186}\)

(b)
Use midpoint of each category:
Small: midpoint \(= 11\) mm, frequency \(= 42 + 61 = 103\)
Medium: midpoint \(= 14\) mm, frequency \(= 25 + 27 = 52\)
Large: midpoint \(= 17\) mm, frequency \(= 19 + 12 = 31\)
Estimated mean:
\( \bar{x} = \frac{11 \times 103 + 14 \times 52 + 17 \times 31}{186} \approx \frac{1133 + 728 + 527}{186} = \frac{2388}{186} \approx 12.8 \)
\(\boxed{12.8 \ \text{mm}}\)

(c)
Total female beetles = \(42 + 25 + 19 = 86\).
Probability one female is small = \(\frac{42}{86} = \frac{21}{43}\).
With replacement:
\( P(\text{both small}) = \left(\frac{21}{43}\right)^2 = \frac{441}{1849} \approx 0.239 \).
\(\boxed{0.239}\)

(d)
• Hypotheses: \(H_0\): length category and sex are independent; \(H_1\): not independent.
• Use \(\chi^2\) test for independence.
• \(p\)-value ≈ 0.127 (from calculator).
• Since \(p\text{-value} > 0.05\), do not reject \(H_0\).
• Conclusion: No significant evidence that length category and sex are dependent.
\(\boxed{p\approx 0.127,\ \text{do not reject } H_0}\)

(e)
• \(H_0: \phi = 0.45\), \(H_1: \phi > 0.45\).
• Use binomial test: \(X \sim \text{B}(186, 0.45)\).
• Observed males = \(61 + 27 + 12 = 100\).
• \(p\text{-value} = P(X \geq 100) \approx 0.0101\).
• Since \(p\text{-value} < 0.05\), reject \(H_0\).
• Conclusion: Significant evidence that more than 45% are male.
\(\boxed{p\approx 0.0101,\ \text{reject } H_0}\)

Question

 The scores of the eight highest scoring countries in the 2019 Eurovision song contest are
shown in the following table.

(a) For this data, find
(i) the upper quartile.
(ii) the interquartile range.
(b) Determine if the Netherlands’ score is an outlier for this data. Justify your answer.
Chester is investigating the relationship between the highest-scoring countries’ Eurovision
score and their population size to determine whether population size can reasonably be
used to predict a country’s score.
The populations of the countries, to the nearest million, are shown in the table.

Chester finds that, for this data, the Pearson’s product moment correlation coefficient
is r = 0.249.
(c) State whether it would be appropriate for Chester to use the equation of a regression
line for y on x to predict a country’s Eurovision score. Justify your answer.
Chester then decides to find the Spearman’s rank correlation coefficient for this data,
and creates a table of ranks.

(d) Write down the value of:
(i) a ,
(ii) b ,
(iii) c .
(e) Find the value of the Spearman’s rank correlation coefficient \(r_s\).
(ii) Interpret the value obtained for \(r_S\).
(f) When calculating the ranks, Chester incorrectly read the Netherlands’ score as 478. Explain why the value of the Spearman’s rank correlation \(r_S\) does not change despite this error.

Answer/Explanation

Ans:

(a) (i) \(\frac{370+472}{2}\)
\(Q_3 = 421\)
(ii) their part (a)(i) – their \(Q_1\) (clearly stated)
IQR = (421 – 318=) 103
(b) \((Q_3 + 1.5(IQR)=) 421 + (1.5 \(\times 103)\)
= 575.5
since 498 < 575.5
Netherlands is not an outlier
(c) not apptopriate (“no” no sufficient)
as r is too close to zero / too weak a correlation
(d) (i) 6
(ii) 4.5
(iii)4.5
(e) (i) \(r_s = 0.683 (0.682646…)\)
(ii) EITHER
there is a (positive) association between the population size and the score
OR
there is a (positive) linear correlation between the ranks of the population size
and the ranks of the scores (when compared with the PMCC of 0.249)
(f) lowering the top score by 20 does not change its rank so \(r_S\) is unchanged.

Scroll to Top