Skip to content

Multiple Linear Regression, Subset selection and Model Regularisation to determine which soil nutrients are most important in determining grain yield.

Notifications You must be signed in to change notification settings

FelipenerySilva/Grain-Yield--Linear-Model-Selection-and-Regularization

Repository files navigation

Linear Model Selection and Regularization: Grain Yield Project

Multiple Linear Regression; Outlier investigation; Model transformation; Subset Selection (Forward stepwise);

Model Regularisation: Lasso (library glmnet); Cross-Validation;

We are interested in determining which soil nutrients are most important in determining grain yield.

The data set Yield.dat contains the yield of grain together with soil quality measurements at each of 215 sites in a portion of a field. Figure 1 shows the location of the measurement sites. The measurement sites are identified in the data set by a variable, x, indicating the measurement location along a particular east-west transect1. Each measurement location is approximately 12.2m apart. The 8 transects, identified by a variable, y, are approximately 48.8m apart. At harvest time, the harvesting machine was driven along each transect stopping each 12.2m to measure the yield of grain for that part of the field in bushels/acre. Measurements of 10 soil nutrients in parts per million (ppm) are made at each location: Boron (B), Calcium (Ca), Copper (Cu), Iron (Fe), Potassium (K), Magnesium (Mg), Manganese (Mn), Sodium (Na), Phosphorus (P), and Zinc (Zn). As can be seen in Figure 1, there were a number of points in the site location grid where data was not available.

This project was part of my Predictive Analytics course from the University of Newcastle (Uon) Master of Data Science Degree.

R Studio was used to prepare an R Markdown document from which I created a single pdf document.

About

Multiple Linear Regression, Subset selection and Model Regularisation to determine which soil nutrients are most important in determining grain yield.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published