Exploring Linear Regression is a set of interactive course materials designed to explore linear regression. These materials are Open Education Resources (OER) designed to serve as in-class labs for MATH 4387/5387: Applied Linear Regression at University of Colorado Denver.
An html version of the text can be accessed at https://aspiegler.github.io/Applied-Regression/. Since the html version is not dynamic, students will not be able edit the text or run code in the html version. However, each section of the text has a link to a Quarto document (.qmd) that you can download and edit locally using RStudio or other software for editing and rendering Quarto documents. The Quarto file used to generate each static html file can be downloaded by clicking on Code Links located beneath the Table of Contents in the left side panel.
Some sections may also have a Jupyter notebook version that you can open and edit using Google Colaboratory.
Quarto source materials contain both narrative text (formatted using Markdown) and R code chunks that you can create, modify, and run. In order to edit and run Quarto documents locally, you will need to have R and RStudio installed locally on your computer. Both are freely available.
These materials are intended as set of activities to experiment and explore regression analysis. Quarto document is a “virtual laboratory” where we perform our experiments and summarize the results. The objectives of experimental mathematics/statistics are generally to make the subject **more tangible, lively and fun.**
No prior experience or knowledge of R, Markdown, LaTeX, or RStudio is assumed or required to begin working with these materials. After working with these materials, you will have some knowledge and experience with R, Markdown, LaTeX, and RStudio!
R is a programming language used largely for statistical computing, data wrangling and visualization. We will be using R as a tool for exploring statistical theory. The first stable version of R was released in 2000, and after all of this time, there is a large community of R users that have already created tons of useful packages and shared interesting data sets that are frequently updated. We will create, modify, and run R code in Jupyter notebooks. No prior programming experience is required to begin working in R in these materials.
LaTeX is a system for rendering nice looking mathematical symbols, expressions, and equations. All of the mathematical notation in these materials are created using LaTeX. You can view and edit all of the LaTeX code in the Markdown cells. You do not need to become an expert in LaTeX, but having a familiarity with LaTeX is quite helpful and LaTeX can be used to typeset math in a number of different applications.
If you have any questions, comments, or suggestions about these materials, please feel free to reach out to me (Adam) at adam.spiegler@ucdenver.edu.
Exploring Linear Regression by Adam Spiegler (University of Colorado Denver) is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
For similar interactive OER materials developed by the Department of Mathematical and Statistical Sciences at the University of Colorado Denver, visit https://github.com/CU-Denver-MathStats-OER.
These materials are creating using Quarto books. To learn more about Quarto books visit https://quarto.org/docs/books.