Date | May 2022 | Marks available | 5 | Reference code | 22M.3.AHL.TZ1.1 |
Level | Additional Higher Level | Paper | Paper 3 | Time zone | Time zone 1 |
Command term | Estimate | Question number | 1 | Adapted from | N/A |
Question
This question is about modelling the spread of a computer virus to predict the number of computers in a city which will be infected by the virus.
A systems analyst defines the following variables in a model:
- is the number of days since the first computer was infected by the virus.
- is the total number of computers that have been infected up to and including day .
The following data were collected:
A model for the early stage of the spread of the computer virus suggests that
where is the total number of computers in a city and is a measure of how easily the virus is spreading between computers. Both and are assumed to be constant.
The data above are taken from city X which is estimated to have million computers.
The analyst looks at data for another city, Y. These data indicate a value of .
An estimate for , can be found by using the formula:
.
The following table shows estimates of for city X at different values of .
An improved model for , which is valid for large values of , is the logistic differential equation
where and are constants.
Based on this differential equation, the graph of against is predicted to be a straight line.
Find the equation of the regression line of on .
Write down the value of , Pearson’s product-moment correlation coefficient.
Explain why it would not be appropriate to conduct a hypothesis test on the value of found in (a)(ii).
Find the general solution of the differential equation .
Using the data in the table write down the equation for an appropriate non-linear regression model.
Write down the value of for this model.
Hence comment on the suitability of the model from (b)(ii) in comparison with the linear model found in part (a).
By considering large values of write down one criticism of the model found in (b)(ii).
Use your answer from part (b)(ii) to estimate the time taken for the number of infected computers to double.
Find in which city, X or Y, the computer virus is spreading more easily. Justify your answer using your results from part (b).
Determine the value of and of . Give your answers correct to one decimal place.
Use linear regression to estimate the value of and of .
The solution to the differential equation is given by
where is a constant.
Using your answer to part (f)(i), estimate the percentage of computers in city X that are expected to have been infected by the virus over a long period of time.
Markscheme
A1A1
Note: Award at most A1A0 if answer is not an equation. Award A1A0 for an answer including either or .
[2 marks]
A1
[1 mark]
is not a random variable OR it is not a (bivariate) normal distribution
OR data is not a sample from a population
OR data appears nonlinear
OR only measures linear correlation R1
Note: Do not accept “ is not large enough”.
[1 mark]
attempt to separate variables (M1)
A1A1A1
Note: Award A1 for LHS, A1 for , and A1 for .
Award full marks for OR .
Award M1A1A1A0 for
[4 marks]
attempt at exponential regression (M1)
A1
OR
attempt at exponential regression (M1)
A1
Note: Condone answers involving or . Condone absence of “” Award M1A0 for an incorrect answer in correct format.
[2 marks]
A1
[1 mark]
comparing something to do with and something to do with M1
Note: Examples of where the M1 should be awarded:
The “correlation coefficient” in the exponential model is larger.
Model B has a larger
Examples of where the M1 should not be awarded:
The exponential model shows better correlation (since not clear how it is being measured)
Model 2 has a better fit
Model 2 is more correlated
an unambiguous comparison between and or and leading to the conclusion that the model in part (b) is more suitable / better A1
Note: Condone candidates claiming that is the “correlation coefficient” for the non-linear model.
[2 marks]
it suggests that there will be more infected computers than the entire population R1
Note: Accept any response that recognizes unlimited growth.
[1 mark]
OR OR OR using the model to find two specific times with values of which double M1
(days) A1
Note: Do not FT from a model which is not exponential. Award M0A0 for an answer of which comes from using from the data or any other answer which finds a doubling time from figures given in the table.
[2 marks]
an attempt to calculate for city X (M1)
OR
A1
this is larger than so the virus spreads more easily in city X R1
Note: It is possible to award M1A0R1.
Condone “so the virus spreads faster in city X” for the final R1.
[3 marks]
A1A1
Note: Award A1A0 if values are correct but not to dp.
[2 marks]
(A1)(A1)
Note: Award A1 for each coefficient seen – not necessarily in the equation. Do not penalize seeing in the context of and .
identifying that the constant is OR that the gradient is (M1)
therefore A1
A1
Note: Accept a value of of from use of sf value of , or any other value from plausible pre-rounding.
Allow follow-through within the question part, from the equation of their line to the final two A1 marks.
[5 marks]
recognizing that their is the eventual number of infected (M1)
A1
Note: Accept any final answer consistent with their answer to part (f)(i) unless their is less than in which case award at most M1A0.
[2 marks]
Examiners report
A significant minority were unable to attempt 1(a) which suggests poor preparation for the use of the GDC in this statistics-heavy course. Large numbers of candidates appeared to use and interchangeably. Accurate use of notation is an important skill which needs to be developed.
1(a)(iii) was a question at the heart of the Applications and interpretations course. In modern statistics many of the calculations are done by a computer so the skill of the modern statistician lies in knowing which tests are appropriate and how to interpret the results. Very few candidates seemed familiar with the assumptions required for the use of the standard test on the correlation coefficient. Indeed, many candidates answered this by claiming that the value was either too large or too small to do a hypothesis test, indicating a major misunderstanding of the purpose of hypothesis tests.
1(b)(i) was done very poorly. It seems that perhaps adding parameters to the equation confused many candidates – if the equation had been many more would have successfully attempted this. However, the presence of parameters is a fundamental part of mathematical modelling so candidates should practise working with expressions involving them.
1(b)(ii) and (iii) were done relatively well, with many candidates using the data to recognize an exponential model was a good idea. Part (iv) was often communicated poorly. Many candidates might have done the right thing in their heads but just writing that the correlation was better did not show which figures were being compared. Many candidates who did write down the numbers made it clear that they were comparing an value with an value.
1(c) was not meant to be such a hard question. There is a standard formula for half-life which candidates were expected to adapt. However, large numbers of candidates conflated the data and the model, finding the time for one of the data points (which did not lie on the model curve) to double. Candidates also thought that the value of t found was equivalent to the doubling time, often giving answers of around 40 days which should have been obviously wrong.
1(d) was quite tough. Several candidates realized that was the required quantity to be compared but very few could calculate for city X using the given information.
1(e) was meant to be relatively straightforward but many candidates were unable to interpret the notation given to do the quite straightforward calculation.
1(f) was meant to be a more unusual problem-solving question getting candidates to think about ways of linearizing a non-linear problem. This proved too much for nearly all candidates.