Interactive analyses and write-ups for STATS 720 (Statistical Modelling), authored in Quarto and rendered as a website.
- Live site:
https://KostasBanos.github.io/Advanced_Linear_Models/ - Example page:
https://KostasBanos.github.io/Advanced_Linear_Models/Project_4.html
The website provides interactive HTML outputs (e.g., Plotly figures with zoom/hover) so you can explore results without running code locally. PDF renders are also included for archival and offline reading.
This repository contains Quarto notebooks (.qmd) developed for STATS 720 at McMaster University (instructor: Prof. Ben Bolker). The work emphasizes:
- rigorous statistical reasoning and communication
- modern modelling workflows in R with reproducibility
- principled model comparison and diagnostics
Topics include GLMs, LMMs/MLMs, GLMMs, bias-reduced/penalized/Bayesian estimation, simulation-based inference and bootstrap methods, residual diagnostics, spline-based nonlinear effects, and likelihood/resampling-based comparisons.
- R (≥ 4.1) and RStudio (current recommended)
- Quarto (install from
https://quarto.orgor via RStudio)
You may need to install the R packages used in each project. Open a .qmd file to see the libraries loaded at the top and install any that are missing.
Across the projects, the following modeling frameworks and techniques are explored:
- Generalized Linear Models (GLM)
- Linear and Multilevel Mixed Models (LMM / MLM)
- Generalized Linear Mixed Models (GLMM)
- Bias-reduced, penalized, and Bayesian estimation
- Simulation-based inference and bootstrap methods
- Model diagnostics and residual analysis
- Nonlinear effects and spline-based modeling
- Likelihood-based and resampling-based model comparison
- Open the RStudio project:
stats720-portfolio.Rproj. - Render a single notebook (open a
.qmdand click “Render”) or run:
quarto::quarto_render("Project_1.qmd")- Render the entire site to
docs/(for GitHub Pages):
quarto::quarto_render()From the project root:
quarto render # build all pages into docs/
quarto render Project_1.qmd
quarto preview # local dev server with live reloadindex.qmd— site landing pageProject_*.qmd— notebooks for Projects 1–5docs/— site output (committed for GitHub Pages)_quarto.yml— site config (navbar, theme, output dir)data/olymp1.csv— input data used in Project 1Project_Files/anddocs/*_files/— figures/assets generated during renderingstats720-portfolio.Rproj— RStudio project fileLICENSE,CITATION.cff,README.md
This site is configured to render into docs/. To publish:
- Build the site (RStudio “Render” or
quarto render). - In your GitHub repository settings, set Pages → “Deploy from a branch” and select the
main(or default) branch with/docsas the folder. - Visit the GitHub Pages URL after it deploys.
If you use or reference this work, please cite it. See CITATION.cff for full metadata.
Example (APA-like):
Banos, K. (2026). STATS 720 — Data Science Portfolio (v1.0.0) [Software]. MIT License.
https://github.com/KostasBanos/Advanced_Linear_Models
Course: STATS 720 — Statistical Modelling, McMaster University.
Instructor: Prof. Ben Bolker.
MIT — see LICENSE.