Hey there!
This is a public GitHub repository to share the files needed for the Kansas State University/University of Georgia 2022 AGSA R Workshop - Regression for optimum rate and prediction R Workshop, taught by @leombastos.
The workshop was presented in one day for 2 hours where we covered:
- Linear, quadratic, and linear-plateau regression
- Regression analysis workflow including
- data import
- data wrangling
- exploratory data analysis
- formal statistical analysis
- model assumption checking with residual diagnostics
- model summary
- final plot
- Difference between ANOVA and regression
- Model selection
- Explore some cool applications of regression like
- finding an optimum input rate that maximizes yield
- prediction
-
Download this repository (click on the green "Code" button above and select "Download ZIP")
-
Unzip the repository, launch the RStudio project (by clicking on the "2022_rworkshop_regression.Rproj" file).
-
On RStudio, go to the "Files" tab (lower right), click on folder "markdown", and open file "package_prep.R". Run each line of this script to install the packages we need for the workshop.
-
On RStudio, go to the "Files" tab (lower right), click on folder "markdown", and open file
- "reg_partial.Rmd"
-
You can code along with us by watching this YouTube video