ExamBank Scot · AH Statistics question bank · All AH Statistics questions

AH Statistics 2023 Paper 1 Question 2

15 marks · Fitting a linear model

Explain why the scatter plot in Figure 2 suggests that a linear model would be suitable for the data. State how you would calculate a residual and explain what a residual measures. Fully explain why the residual plot in Figure 3 suggests that the linear model that was fitted is not suitable. Review the data in Figure 4, lines 38 to 42 and the residual plot in Figure 5 where the square root transformation was applied and the resulting data was analysed. Using the statistics from line 40, calculate the correct least squares regression line of on . Using your least squares regression line from (b) (i), calculate the residual value for a crop density of 3.5 plants/m2. Using the copy of Figure 5 in the answer booklet, circle the point that relates to this fitted value and residual value. In order to identify the maximum crop yield, the college student wanted to know the crop density at which the crop yield might start to decrease. Explain why it would be bad practice to use the least squares regression line for crop densities greater than 8 plants per square metre. Give a reason why the least squares regression line would not help the college student with the aim of the study. Read the concluding statement in lines 44 to 45. Re-write an improved concluding sentence in terms of what the investigation between crop density and crop yield actually found. An extract of a report’s first draft by a student of an agricultural college is given below. It is known to contain some flaws and questionable methodology. Read it and then answer the questions that follow. 1 Introduction Field corn, which is also called maize, is an important crop for animal feed. In all crops, as the crop density increases, the crop yield also increases until a certain point. However, due to the availability of environmental resources such as water and 5 nutrients, competition between the plants outstrips the supply of these resources. This inhibits plant growth and the crop yield starts to decrease. The aim of this study is to investigate the relationship between the crop density of one type of field corn that is planted on college grounds and the resulting crop yield in order to maximise the crop yield for the college’s animals. The crop density is 10 measured by counting the number of plants per unit area, whilst the crop yield is the total weight of the harvested corn which is then converted into grams per unit area. Method The field chosen for this study had consistent environmental conditions across it 15 such as soil type, pH levels, drainage, altitude, and aspect (the compass direction the field faces); and had no crops grown on it the previous year. The field was split into 39 non-overlapping plots. Each plot was assigned a number from 1 to 39 and each of 13 different crop densities of field corn was allocated three of these plots through random selection. Each plot was planted on the same day with their specific 20 crop density of corn plants, and the yield from all plots in the field were obtained on the same day of harvest. When fertiliser was applied, it was spread on the same day and was spread evenly across all plots. After the plots were harvested later in the year, stratified sampling was applied to choose one crop yield from each of the 13 different crop densities. The crop yield from these plots was weighed before being 25 converted into a gram per square metre measurement. Data and analysis The plot number for each crop density, together with that crop density and corresponding crop yield after harvest is shown in Figure 1. Plot number 9 31 14 1 24 32 26 38 12 17 22 6 36 Crop density 2 2.5 3 3.5 4 4.5 5 5.5 6 6.5 7 7.5 8 Crop yield 538 585 622 676 721 763 806 861 920 960 1019 1074 1137 Figure 1 Plot number, crop density (plants/m2) and crop yield results (g/m2) A scatterplot of the crop density and crop yield data was generated and is shown in 30 Figure 2. 1200 1000 800 600 400 200 crop yield (g/m2) 0 0 1 2 3 4 5 6 7 8 crop density (plants/m2) Figure 2 Scatterplot of crop density and crop yield A least squares linear regression model was fitted to the data, giving the equation where is the crop density and is the crop yield. A residual plot for the crop yield data was then generated to give the graph in Figure 3. residual 25 15 5 −5 500 600 700 800 900 1000 1100 1200 −15 −25 fitted crop yield (g/m2) Figure 3 Residual plot for crop yield 35 After looking at the residual plot, a transformation was applied to the original data by taking the square root of the crop yield to give the following data in Figure 4 below. Crop density 2 2.5 3 3.5 4 4.5 5 5.5 6 6.5 7 7.5 8 23.2 24.2 24.9 26.0 26.9 27.6 28.4 29.3 30.3 31.0 31.9 32.8 33.7 Figure 4 Crop density (plants/m2) and data, rounded to 1 d.p. The scatterplot for the data in Figure 4 was generated (not shown here) and again suggested a linear relationship. The following statistics were therefore calculated for crop density () and using the exact values for : 40 A new least squares linear regression model was fitted to this transformed data. The residual plot for this new model is shown in Figure 5. 0.15 0.10 0.05 0.00 residual 22 24 26 28 30 32 34 −0.05 −0.10 −0.15 fitted Figure 5 Residual plot for Conclusion Based on the residual plots, the linear model for crop yield and crop density is a 45 good fit for all crop densities for this type of field corn in the college’s field. Study the scatter plot in Figure 2 and the residual plot in Figure 3.

Marking scheme

•1 appropriate comment for scatter plot •1 the scatter plot indicates a (very strong) linear relationship between crop density and crop yield Notes: 1. For •1, do not accept ‘positive correlation’ 2. For •1, candidates must mention the context of crop density and crop yield Commonly Observed Responses: •2 appropriate statement •3 appropriate statement •2 subtract the fitted value from the observed value •3 a residual measures the error that is not explained by the regression line Notes: 1. For •2, also accept ‘a residual is the observed value subtract the value predicted by the model’ 2. The awarding of mark •2 requires the direction of subtraction to be clearly stated, whereas the award of mark •3 does not. Commonly Observed Responses: 1. Candidates who reference the sums of the squares of residuals gain 0 marks. •4 appropriate comment •5 appropriate comment •4 there is a pattern… •5 … that is quadratic/U-shaped Notes: 1. For •4, also accept ‘not randomly scattered’ Commonly Observed Responses: 1. Candidates who make comments referring to ≠ 0 gain no marks. 2. Candidates who make comments referring to ≠ constant gain no marks. •6 calculate •7 calculate •8 state equation •6 •7 = 19.8203 •8 Notes: 1. For •8, equation must have as the subject Commonly Observed Responses: •9 calculate •10 calculate residual •11 circle correct point •9 = 25.883 •10 26.0 – 25.883 = 0.117 •11 point (25.883, 0.117) circled Notes: Commonly Observed Responses: •12 appropriate comment •12 you are extrapolating beyond the range of the data set Notes: 1. For •12, candidates must communicate issues with going beyond 8 plants/m2 Commonly Observed Responses: •13 appropriate comment •13 the least squares regression line will never show a decreasing yield for an increasing crop density (for this transformation) Notes: Commonly Observed Responses: •14 appropriate relationship •15 appropriate range of values •14 there is a linear relationship between and crop density •15 for crop densities between 2 and 8 plants per square metre Notes: 1. For •14, also accept reference to poorly fitting model of crop yield to crop density. Commonly Observed Responses:

Previous question: AH Statistics 2023 Paper 1 Question 1

Next question: AH Statistics 2023 Paper 2 Question 1