7. We want to see if there is a connection between the size of crops (in kg per unit area), rainfall (dry or wet year, indicated by 0 and 1, respectively), and mean temperature (in degrees celcius). We have observations from 30 different years, and the data are plotted in Figure 3. Some model output obtained in R. is shown below. Call: in (formula - Crop Temperature) Coefficients: Call: In(formula Crop Temperature + Rainfall) Estimate Std. Error t value Pr (>|t|) (Intercept) 32.5970 5.8178 5.603 5.350-06 Temperature -0.6075 0.2407 -2.524 0.0176 Coefficients: Estimate Std. Error t value Pr(>|t|) 11.1978 2.517 0.0181 0.4484 -0.966 0.3426 1.6862 0.464 0.6467 Figure 2: R output from two models fitted to the data of question 7. (a) Comment on the plots shown in Figure 3, specifically focusing on the correlation between the three variables. [3 marks] [4 marks] in terms of [3 marks] (Intercept) 28.1855 Temperature -0.4332 Rainfall 0.7817 (b) Give the mathematical expressions for both fitted models shown above. (c) Interpret the model that includes Rainfall and Temperature as covariates the estimated effect of the covariates on expected Crops. (d) Test the null hypothesis that the effect of Temperature on Crops is not significant at the 5% significance level (i) when Temperature is the only explanatory variable in the model. (ii) after accounting for the effect of Rainfall. Comment on your findings by referring to your answer in part (a). [2 marks] [2 marks] [2 marks] (e) It has been suggested that the interaction between Rainfall and Temperature should also be considered in the model. Give the mathematical expression for the model including this interaction term and explain what a significant interaction between the two covariates suggests about their effect on the response, using an example to demonstrate your point. [4 marks]

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question

This question is part of a passed paper for an exam I am studying for. It is not marked coursework and I already have the answers, but I'd like to see an explained solution. Please see image attached for the question. 

7. We want to see if there is a connection between the size of crops (in kg per unit area),
rainfall (dry or wet year, indicated by 0 and 1, respectively), and mean temperature (in
degrees celcius). We have observations from 30 different years, and the data are plotted in
Figure 3. Some model output obtained in R. is shown below.
Call:
In (formula = Crop Temperature)
Coefficients:
Estimate Std. Error t value Pr (>|t|)
(Intercept) 32.5970 5.8178 5.603 5.350-06
Temperature -0.6075 0.2407 -2.524 0.0176
Call:
In(formula = Crop Temperature + Rainfall)
Coefficients:
Estimate Std. Error t value Pr(>|t|)
11.1978 2.517 0.0181
0.4484 -0.966 0.3426
1.6862 0.464 0.6467
(Intercept) 28.1855
Temperature -0.4332
Rainfall 0.7817
Figure 2: R output from two models fitted to the data of question 7.
(a) Comment on the plots shown in Figure 3, specifically focusing on the correlation
between the three variables.
[3 marks]
[4 marks]
(b) Give the mathematical expressions for both fitted models shown above.
(c) Interpret the model that includes Rainfall and Temperature as covariates
the estimated effect of the covariates on expected Crops.
in terms of
[3 marks]
(d) Test the null hypothesis that the effect of Temperature on Crops is not significant at
the 5% significance level
(i) when Temperature is the only explanatory variable in the model.
(ii) after accounting for the effect of Rainfall.
Comment on your findings by referring to your answer in part (a).
[2 marks]
[2 marks]
[2 marks]
(e) It has been suggested that the interaction between Rainfall and Temperature should
also be considered in the model. Give the mathematical expression for the model including
this interaction term and explain what a significant interaction between the two covariates
suggests about their effect on the response, using an example to demonstrate your point.
[4 marks]
Transcribed Image Text:7. We want to see if there is a connection between the size of crops (in kg per unit area), rainfall (dry or wet year, indicated by 0 and 1, respectively), and mean temperature (in degrees celcius). We have observations from 30 different years, and the data are plotted in Figure 3. Some model output obtained in R. is shown below. Call: In (formula = Crop Temperature) Coefficients: Estimate Std. Error t value Pr (>|t|) (Intercept) 32.5970 5.8178 5.603 5.350-06 Temperature -0.6075 0.2407 -2.524 0.0176 Call: In(formula = Crop Temperature + Rainfall) Coefficients: Estimate Std. Error t value Pr(>|t|) 11.1978 2.517 0.0181 0.4484 -0.966 0.3426 1.6862 0.464 0.6467 (Intercept) 28.1855 Temperature -0.4332 Rainfall 0.7817 Figure 2: R output from two models fitted to the data of question 7. (a) Comment on the plots shown in Figure 3, specifically focusing on the correlation between the three variables. [3 marks] [4 marks] (b) Give the mathematical expressions for both fitted models shown above. (c) Interpret the model that includes Rainfall and Temperature as covariates the estimated effect of the covariates on expected Crops. in terms of [3 marks] (d) Test the null hypothesis that the effect of Temperature on Crops is not significant at the 5% significance level (i) when Temperature is the only explanatory variable in the model. (ii) after accounting for the effect of Rainfall. Comment on your findings by referring to your answer in part (a). [2 marks] [2 marks] [2 marks] (e) It has been suggested that the interaction between Rainfall and Temperature should also be considered in the model. Give the mathematical expression for the model including this interaction term and explain what a significant interaction between the two covariates suggests about their effect on the response, using an example to demonstrate your point. [4 marks]
Figure 3
Rainfall
20 22
Temperature
24
20
07
30
Rainfall
23
Temperature
24
25
26
27
10
10
15
15
Crop
Crop
20
25
25
9
MAST5001/2022
Transcribed Image Text:Figure 3 Rainfall 20 22 Temperature 24 20 07 30 Rainfall 23 Temperature 24 25 26 27 10 10 15 15 Crop Crop 20 25 25 9 MAST5001/2022
Expert Solution
steps

Step by step

Solved in 6 steps with 4 images

Blurred answer
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman