Using Regression Models to Grow the Best Crops
Contributors: Shonda Kuiper, Anna Olsen, Ginger Rowell, DASIL, Shreyas Agrawal' 24
Contributors: Shonda Kuiper, Anna Olsen, Ginger Rowell, DASIL, Shreyas Agrawal' 24
Ignore other items, such as the Remove Interaction Terms, Nitrate Levels, and X-axis Limits.
Ignore other items, such as the Remove Interaction Terms, Nitrate Levels, and X-axis Limits.
Instructors Note: Go to faculty resources to access student data
1. Use Settings A for the following (make sure only sample1 is selected):
a) Explain why you would expect the quadratic model to have a higher R-squared value than the linear model
b) Explain why you would expect the quadratic model to have a similar R-squared value as the cubic model
c) When we used only sample1 data, the linear model was somewhat effective. When both sample1 and sample2 data are used for the corn crop, the coefficients for the linear model changed. Explain why the R-squared valued dropped so much when both sample1 and sample2 data are used.
d) Give a possible explanation as to why the p-value for X2 under the cubic model is so different than with the quadratic model. How does this help to explain why these individual p-values should not be used when trying to determine whether or not a term is important in our model?
2. Use Settings B for the following (make sure only sample2 is selected):
a) Explain how the interaction term (i.e. Water*Tomatoes in this example) modifies our predictions.
b) Explain why the interaction term should be included if you are interested in accurately predicting crop yields.
c) Notice that the linear coefficient is negative ( - 0.30347*X) in the model with an interaction. However it is positive ( 0.01632*X) in the model without an interaction. When there are multiple terms in a regression model, does it appear that the direction of the coefficients are meaningful? In other words, explain why we should be hesitant to say that the model shows “adding water will increase yields” or “adding water will decrease yields”.
Dataspace is supported by the Grinnell College Innovation Fund and was developed by Grinnell College faculty and students. Copyright © 2021. All rights reserved
This page was last updated on November 11th 2024.