A comprehensive, cumulative study guide and computational reference for applied business statistics. This repository combines textbook theory, mathematical formulas, and practical R implementations.
Disclaimer: These study materials were compiled by Gemini, with editing by me (@telpirion).
This repository provides reproducible study materials designed to reinforce core statistical foundations and their application in R. Each module includes:
- Conceptual Summaries: Clear definitions, core business use cases, and statistical terminology.
- Mathematical Formulations: LaTeX-rendered formulas for descriptive and inferential statistics.
- R Code Implementations: Reproducible scripts for data classification, descriptive tables, frequency distributions, and visual diagnostics.
- Interactive Practice: Applied exercises and self-assessment questions available in Jupyter Notebook format.
- 📘 Week 1 Study Guide (HTML) — Introduction to Statistics & Charts and Graphs
- 📘 Week 2 Study Guide (HTML) — Descriptive Statistics & Modern Robust Analytics
- 📓 Week 2 Practice & Exercises (Jupyter Notebook) — 41 Chapter 3 review questions with full mathematical solutions and 6 applied R exercises
- 📘 Week 3 Study Guide (HTML) — Probability, Bayes' Theorem & Discrete Distributions
- 📓 Week 3 Practice & Exercises (Jupyter Notebook) — 41 Chapter 4 & 30 Chapter 5 review questions with full mathematical solutions, plus applied R & Bayesian exercises
- 📘 Week 4 Study Guide (HTML) — Continuous & Sampling Distributions
- 📓 Week 4 Practice & Exercises (Jupyter Notebook) — 44 Chapter 6 & 28 Chapter 7 review questions with full mathematical solutions, plus 6 applied R exercises
- 📘 Week 5 Study Guide (HTML) — Statistical Estimation & Modern Robust Intervals
- 📓 Week 5 Practice & Exercises (Jupyter Notebook) — 34 Chapter 8 review questions with full mathematical solutions and 6 applied R exercises
- 📘 Week 6 Study Guide (HTML) — Hypothesis Testing for Single Populations & Categorical Data Analysis
- 📓 Week 6 Practice & Exercises (Jupyter Notebook) — 50 Chapter 9 & 19 Chapter 16 review questions with full mathematical solutions, plus 12 applied R exercises
- 📘 Week 7 Study Guide (HTML) — Inferences About Two Populations
- 📓 Week 7 Practice & Exercises (Jupyter Notebook) — 44 Chapter 10 review questions with full mathematical solutions and 5 applied R exercises
- 📘 Week 8 Study Guide (HTML) — Analysis of Variance & Simple Linear Regression
- 📓 Week 8 Practice & Exercises (Jupyter Notebook) — ANOVA and Regression application exercises and R code examples
- 📘 Week 9 Study Guide (HTML) — Regression Inference, Diagnostics, Correlation (
$r^2$ ) & Multiple Regression - 📓 Week 9 Practice & Exercises (Jupyter Notebook) — 36 Chapter 12 & 7 Chapter 13 study questions plus
newspapers,tableware, and R supplement applied exercises
CumulativeStudyGuide/
├── _quarto.yml # Quarto configuration (routes preview/render output to guides/)
├── AGENTS.md # Repository coding and notebook instructions
├── CumulativeStudyGuide.code-workspace
├── data/ # Datasets for exercises and practical demonstrations
│ ├── geyser.csv # Old Faithful Geyser eruption intervals (WEEK1 & WEEK2)
│ ├── home_prices.csv # Home attributes and selling prices
│ ├── hot_dogs.csv # Hot dog types, calories, and sodium content (ANOVA & Week 6)
│ ├── mileage.csv # 1991 US EPA passenger car mileage, HP, and weight classes
│ ├── newspapers.csv # 1994 Gale Directory daily and Sunday newspaper circulations
│ ├── nsalary.csv # New Mexico social services salary data (rural vs. non-rural)
│ ├── pontus.csv # US Presidential inauguration ages and candidate heights
│ ├── salaries.csv # Forbes CEO age and salary data for 60 small business firms
│ ├── shoppers.csv # Store customer dollar spending amounts
│ ├── tableware.csv # Tableware types, polishing times, prices, and rates (ANOVA)
│ └── tires.csv # Tire treadwear data (weight loss vs. groove wear)
├── guides/ # Rendered HTML study guides and supporting web assets
│ ├── Week1.html # Rendered HTML study guide for Week 1
│ ├── Week1_files/ # Supporting assets and plots for Week 1 HTML
│ ├── Week2.html # Rendered HTML study guide for Week 2
│ ├── Week2_files/ # Supporting assets and plots for Week 2 HTML
│ ├── Week3.html # Rendered HTML study guide for Week 3
│ ├── Week3_files/ # Supporting assets and plots for Week 3 HTML
│ ├── Week4.html # Rendered HTML study guide for Week 4 (self-contained)
│ ├── Week5.html # Rendered HTML study guide for Week 5 (self-contained)
│ ├── Week6.html # Rendered HTML study guide for Week 6 (self-contained)
│ ├── Week7.html # Rendered HTML study guide for Week 7
│ ├── Week7_files/ # Supporting assets and dependencies for Week 7 HTML
│ ├── Week8.html # Rendered HTML study guide for Week 8
│ ├── Week8_files/ # Supporting assets and plots for Week 8 HTML
│ └── Week9.html # Rendered HTML study guide for Week 9
├── LICENSE # Repository license (MIT)
├── README.md # Curriculum overview and repository documentation
├── sources/ # Curriculum slide decks, solution guides, and reference literature
│ ├── Chapter12PracticeProblems.pdf
│ ├── Chapter13PracticeProblems.pdf
│ ├── Exercises.txt
│ ├── Lesson_12_Simple_Regression_Analysis_and_Correlation_Solutions.pdf
│ ├── R supplement to Business Statistics, Ch 12.R
│ └── R supplement to Business Statistics, Ch 13.R
├── Week1.Rmd # Source R Markdown document for Week 1 (Chapters 1 & 2)
├── Week2.ipynb # Jupyter Notebook with 41 study questions & 6 applied exercises
├── Week2.Rmd # Source R Markdown document for Week 2 (Chapter 3)
├── Week3.ipynb # R Jupyter Notebook with 71 study questions & 3 applied exercises
├── Week3.Rmd # Source R Markdown document for Week 3 (Chapters 4 & 5)
├── Week4.ipynb # R Jupyter Notebook with 72 study questions & 6 applied exercises
├── Week4.Rmd # Source R Markdown document for Week 4 (Chapters 6 & 7, Wilcox 4.7)
├── Week5.ipynb # R Jupyter Notebook with 34 study questions & 6 applied exercises
├── Week5.Rmd # Source R Markdown document for Week 5 (Chapter 8, Wilcox 6.5)
├── Week6.ipynb # R Jupyter Notebook with 69 study questions & 12 applied exercises
├── Week6.Rmd # Source R Markdown document for Week 6 (Chapters 9 & 16)
├── Week7.ipynb # Jupyter Notebook with 44 study questions & applied exercises
├── Week7.Rmd # Source R Markdown document for Week 7 (Chapter 10)
├── Week8.ipynb # Jupyter Notebook with ANOVA/Regression exercises
├── Week8.Rmd # Source R Markdown document for Week 8 (Chapters 11 & 12)
├── Week9.ipynb # R Jupyter Notebook with 43 study questions & 9 applied exercises
└── Week9.Rmd # Source R Markdown document for Week 9 (Ch. 12.4–12.9, Wilcox 8.3 & Ch. 13)
| Module | Textbook Chapters | Key Topics | Study Materials | R Implementations |
|---|---|---|---|---|
| Week 1 |
Ch. 1: Intro to Statistics Ch. 2: Charts & Graphs |
• Populations vs. Samples • Levels of Measurement (Nominal, Ordinal, Interval, Ratio) • Frequency distributions, class marks, relative & cumulative frequency • Graphical displays & Pareto analysis • Ethical data presentation |
• Source (Week1.Rmd)• Rendered Guide ( guides/Week1.html)
|
• factor() / ordered factors• Frequency tables ( cut(), table())• hist(), frequency polygon, ogive• stripchart() dot plots & stem()• barplot(), pie(), & Pareto charts• Two-variable plot() with lm() regression line |
| Week 2 | Ch. 3: Descriptive Statistics | • Central Tendency (Mean, Median, Mode, Trimmed Mean) • Dispersion (Range, • Grouped Data Central Tendency & Variance • Chebyshev's Theorem vs. The Empirical Rule • Shape (Skewness, Kurtosis) & Tukey Outlier Fences • Wilcox Masking & Winsorized Variance • Pearson's Correlation ( |
• Source (Week2.Rmd)• Rendered Guide ( guides/Week2.html)• Practice Notebook ( Week2.ipynb)
|
• mean(..., trim = 0.2), median(), table()• quantile(..., type = 6), IQR(), diff(range())• var(), sd(), custom calc_winsorized_var()• Grouped • boxplot(..., horizontal = TRUE)• cor(), cor.test(), plot() with lm()• Applied analyses ( mileage, shoppers, pontus, geyser) |
| Week 3 |
Ch. 4: Probability Ch. 5: Discrete Distributions Think Bayes Ch. 1–2 |
• Classical, Relative Frequency & Subjective Probability • Counting Rules ( • Set Operations, Addition, Multiplication & Conditional Rules • Independence & Mutually Exclusive Events • Bayes' Theorem (Diachronic & Table Method) • Discrete Expected Value & Variance • Binomial, Poisson & Hypergeometric Distributions |
• Source (Week3.Rmd)• Rendered Guide ( guides/Week3.html)• Practice Notebook ( Week3.ipynb)
|
• sample(), expand.grid(), choose(), combn()• union(), intersect(), replicate()• Custom bayes_table() & discrete_summary()• dbinom(), pbinom(), dpois(), ppois()• dhyper(), phyper()• Monte Carlo simulations & ggplot2 PMF charts |
| Week 4 |
Ch. 6: Continuous Distributions Ch. 7: Sampling & Sampling Distributions Wilcox Ch. 4.7 |
• Continuous Uniform, Normal ( • Normal Approximation to the Binomial ( • Normality Diagnostics (Histograms, Density, Q-Q Plots) • Probability vs. Non-Probability Sampling & Error Types • Central Limit Theorem ( • Wilcox Contaminated Normal & Log Back-Transformation |
• Source (Week4.Rmd)• Rendered Guide ( guides/Week4.html)• Practice Notebook ( Week4.ipynb)
|
• dunif(), punif(), runif()• dnorm(), pnorm(), qnorm(), rnorm()• qqnorm(), qqline(), dexp(), pexp()• sample(), sample.int(), set.seed(), stratified sampling• CLT simulations & ggplot2 distribution curves |
| Week 5 |
Ch. 8: Estimation for Single Populations Wilcox Ch. 6.5 |
• Point vs. Interval Estimates & Probability Coverage ( • Mean CIs ( • One-Sided Confidence Intervals • Proportion CIs (Wald, Agresti-Coull, Wilson Score, Blyth) • Variance ( • Minimum Sample Size ( • Wilcox 20% Trimmed Mean (Winsorized SE), Bootstrap-$t$ & Percentile Bootstrap |
• Source (Week5.Rmd)• Rendered Guide ( guides/Week5.html)• Practice Notebook ( Week5.ipynb)
|
• qnorm(), qt(), qchisq(), ceiling()• t.test() (two-sided & one-sided)• prop.test() & Agresti-Coull comparison• Custom var_conf_int_summary(), trim_ci(), boot_t_ci()• replicate(), sample(..., replace = TRUE), quantile()• Horizontal boxplot() & hot_dogs.csv analysis |
| Week 6 |
Ch. 9: Hypothesis Testing for Single Populations Ch. 16: Analysis of Categorical Data |
• Eight-step hypothesis testing process & • Type I ( • One-sample • One-sample proportion • Parametric vs. nonparametric methods • |
• Source (Week6.Rmd)• Rendered Guide ( guides/Week6.html)• Practice Notebook ( Week6.ipynb)
|
• Custom one_sample_z_test() & one_sample_var_test()• t.test(), prop.test(), pt(), pnorm()• qchisq(), pchisq(), chisq.test()• ggplot2 Power/OC curves & horizontal boxplots• Applied analyses ( hot_dogs, salaries) |
| Week 7 | Ch. 10: Inferences About Two Populations | • Test selection framework • Difference in two means ( • Pooled vs. Welch's unequal-variance • Matched-pairs / related populations • Two-proportion • Two-variance • Ethical comparative analysis |
• Source (Week7.Rmd)• Rendered Guide ( guides/Week7.html)• Practice Notebook ( Week7.ipynb)
|
• Custom two_sample_z_test()• t.test(..., var.equal = TRUE)• t.test(..., var.equal = FALSE)• t.test(..., paired = TRUE)• prop.test(..., correct = FALSE)• var.test()
|
| Week 8 |
Ch. 11: Analysis of Variance Ch. 12: Simple Linear Regression |
• One-Way ANOVA & partitioning • Tukey's HSD post-hoc testing • Randomized Block & Two-Way ANOVA • Simple Linear Regression (OLS) • Correlation vs. Regression • Goodness of fit ( |
• Source (Week8.Rmd)• Rendered Guide ( guides/Week8.html)• Practice Notebook ( Week8.ipynb)
|
• aov() & summary(aov())• TukeyHSD()• lm()• summary(lm())• Residual analysis ( plot(lm()))• predict()
|
| Week 9 |
Ch. 12.4–12.9: Regression Inference & Forecasting Wilcox Ch. 8.3: Correlation & Ch. 13: Multiple Regression |
• Residual diagnostics & LINE assumptions • Slope • Confidence vs. Prediction intervals • Trend-line forecasting • Wilcox's 5 distorting features & heteroscedasticity trap • Multiple regression, Adjusted |
• Source (Week9.Rmd)• Rendered Guide ( guides/Week9.html)• Practice Notebook ( Week9.ipynb)
|
• confint(), predict(..., interval = ...)• cor.test(), anova(), pf(), pt()• par(mfrow = c(2, 2)); plot(lm())• bartlett.test(), MASS::rlm()• Manual • Applied analyses ( tableware, newspapers, Airline Cost, Prime Interest Rate) |
(Additional weekly modules will be added as the study guide expands.)
-
R version:
$\ge$ 4.0.0 - Recommended IDE: Positron or RStudio
Install the necessary visualization and publishing packages from CRAN:
install.packages(c("rmarkdown", "knitr", "ggplot2", "gridExtra"))Each study guide is authored in R Markdown (.Rmd) and configured to compile into a standalone HTML report with a floating table of contents in the guides/ directory.
To render via the R console:
# Render Week 1
rmarkdown::render("Week1.Rmd", output_dir = "guides")
# Render Week 2 (uses custom knit hook targeting guides/)
rmarkdown::render("Week2.Rmd", output_dir = "guides")
# Render Week 3
rmarkdown::render("Week3.Rmd", output_dir = "guides")
# Render Week 4 (uses custom knit hook targeting guides/)
rmarkdown::render("Week4.Rmd", output_dir = "guides")
# Render Week 5 (uses custom knit hook targeting guides/)
rmarkdown::render("Week5.Rmd", output_dir = "guides")
# Render Week 6 (uses custom knit hook targeting guides/)
rmarkdown::render("Week6.Rmd", output_dir = "guides")
# Render Week 7 (uses custom knit hook targeting guides/)
rmarkdown::render("Week7.Rmd", output_dir = "guides")
# Render Week 8
rmarkdown::render("Week8.Rmd", output_dir = "guides")
# Render Week 9 (uses custom knit hook targeting guides/)
rmarkdown::render("Week9.Rmd", output_dir = "guides")Or from the command line:
Rscript -e 'rmarkdown::render("Week1.Rmd", output_dir = "guides")'
Rscript -e 'rmarkdown::render("Week2.Rmd", output_dir = "guides")'
Rscript -e 'rmarkdown::render("Week3.Rmd", output_dir = "guides")'
Rscript -e 'rmarkdown::render("Week4.Rmd", output_dir = "guides")'
Rscript -e 'rmarkdown::render("Week5.Rmd", output_dir = "guides")'
Rscript -e 'rmarkdown::render("Week6.Rmd", output_dir = "guides")'
Rscript -e 'rmarkdown::render("Week7.Rmd", output_dir = "guides")'
Rscript -e 'rmarkdown::render("Week8.Rmd", output_dir = "guides")'
Rscript -e 'rmarkdown::render("Week9.Rmd", output_dir = "guides")'Using Positron or Quarto CLI:
quarto render Week1.Rmd
quarto render Week2.Rmd
quarto render Week3.Rmd
quarto render Week4.Rmd
quarto render Week5.Rmd
quarto render Week6.Rmd
quarto render Week7.Rmd
quarto render Week8.Rmd
quarto render Week9.Rmd- Eric Schmidt (@telpirion)
This project is licensed under the MIT License - see the LICENSE file for details.