---
title: "#equilibria"
description: "Tutorials on game theory, decision-making, simulation, AI/ML and the data behind them, in four courses and 32 topic areas, with R examples throughout."
toc: false
title-block-style: none
# Generated by R/build_courses.R from _data/courses.yml and _data/topics.yml.
# Edit those files, then run: Rscript R/build_courses.R
---
::: {.hero}
::: {.kicker}
<span class="count-chip"><span id="live-total-count"></span> TUTORIALS · </span>4 COURSES · 32 TOPICS · R · QUARTO
:::
# #equilibria
::: {.lead}
Game theory, decision-making, simulation, AI/ML and the data behind them,
in four courses of topic areas, with R examples throughout.
:::
:::
## What this is
#equilibria is an open collection of tutorials on game theory,
decision-making, simulation, AI/ML and the data behind them, with runnable R
examples. The tutorials are arranged in four courses, and each course is
divided into topic areas: eight per course, 32 in all. Work through a course
topic by topic, or go straight to a topic or a single tutorial; every page
stands on its own. The executable examples are teaching demonstrations, not
validated scientific or operational tools.
## Who this is for
Students and researchers in economics, biology, computer science and the
social sciences who want to see game-theoretic and statistical ideas worked
through in code. Course 1 assumes basic R and school-level algebra. Courses 2
and 4 build on it; Course 3 can also be taken on its own.
## The four courses
::: {.card-grid .course-cards}
::: {.card}
::: {.kicker}
Course 1 · Introductory
:::
### [Foundations of Game Theory](courses/course1-game-theory/index.qmd)
Equilibrium concepts and the canonical games, decisions under uncertainty, evolutionary, cooperative, behavioural and network games, and the history behind them. 8 topics<span class="count-chip"> · <span data-topic-sum="foundations classical-games decision-theory evolutionary-gt cooperative-gt behavioral-gt network-games history-of-gt-mathematics"></span> tutorials</span>.
:::
::: {.card}
::: {.kicker}
Course 2 · Intermediate
:::
### [Mechanisms, Behaviour & Ethics](courses/course2-mechanisms-behaviour/index.qmd)
Designing the rules of the game, auctions, behaviour in the lab and the field, incentives in blockchains, ethics, and cases where theory meets reality. 8 topics<span class="count-chip"> · <span data-topic-sum="mechanism-design auction-theory-deep-dive behavioral-economics experimental-economics cryptography-and-gt ethics-and-game-theory ethics-applications case-studies"></span> tutorials</span>.
:::
::: {.card}
::: {.kicker}
Course 3 · Advanced
:::
### [Mathematical & Statistical Methods](courses/course3-methods/index.qmd)
Linear algebra, optimisation, information theory, statistics, Bayesian and causal inference, econometrics and network science: the toolkit behind the models. 8 topics<span class="count-chip"> · <span data-topic-sum="linear-algebra-matrix optimization-numerical-methods information-theory statistical-foundations bayesian-methods causal-inference time-series-econometrics network-science"></span> tutorials</span>.
:::
::: {.card}
::: {.kicker}
Course 4 · Specialist
:::
### [Simulation, AI & Data Practice](courses/course4-simulation-ai-data/index.qmd)
Monte Carlo and agent-based simulation, machine learning and multi-agent AI, public data, visualisation, reproducible workflows and R packages. 8 topics<span class="count-chip"> · <span data-topic-sum="simulations ml-and-gt ai-ml-foundations-and-applications public-apis-and-datasets real-world-data-applications visualization-and-communication reproducibility-open-science r-package-development"></span> tutorials</span>.
:::
:::
## Topics by course
### [Course 1 — Foundations of Game Theory](courses/course1-game-theory/index.qmd) {.course-group-title}
::: {.topic-grid}
::: {.topic-card}
#### [Foundations](tutorials/foundations/index.qmd)
::: {.topic-card-label}
<span data-topic-count="foundations"></span> TUTORIALS
:::
Equilibrium concepts, information, repeated games, complexity — the formal core.
:::
::: {.topic-card}
#### [Classical Games](tutorials/classical-games/index.qmd)
::: {.topic-card-label}
<span data-topic-count="classical-games"></span> TUTORIALS
:::
Prisoner's Dilemma, Hawk-Dove, oligopoly, bargaining, coordination — the canon.
:::
::: {.topic-card}
#### [Decision Theory](tutorials/decision-theory/index.qmd)
::: {.topic-card-label}
<span data-topic-count="decision-theory"></span> TUTORIALS
:::
Expected utility, prospect theory, ambiguity, sequential and group decision.
:::
::: {.topic-card}
#### [Evolutionary Game Theory](tutorials/evolutionary-gt/index.qmd)
::: {.topic-card-label}
<span data-topic-count="evolutionary-gt"></span> TUTORIALS
:::
Replicator dynamics, ESS, Moran processes, spatial games, co-evolution.
:::
::: {.topic-card}
#### [Cooperative Game Theory](tutorials/cooperative-gt/index.qmd)
::: {.topic-card-label}
<span data-topic-count="cooperative-gt"></span> TUTORIALS
:::
Shapley value, core, nucleolus, coalition formation, cost allocation.
:::
::: {.topic-card}
#### [Behavioral Game Theory](tutorials/behavioral-gt/index.qmd)
::: {.topic-card-label}
<span data-topic-count="behavioral-gt"></span> TUTORIALS
:::
Bounded rationality, QRE, level-k, social preferences, learning.
:::
::: {.topic-card}
#### [Network Games](tutorials/network-games/index.qmd)
::: {.topic-card-label}
<span data-topic-count="network-games"></span> TUTORIALS
:::
Strategic network formation, diffusion, influence, centrality as power.
:::
::: {.topic-card}
#### [History of Game Theory](tutorials/history-of-gt-mathematics/index.qmd)
::: {.topic-card-label}
<span data-topic-count="history-of-gt-mathematics"></span> TUTORIALS
:::
From Cournot 1838 through von Neumann, Nash, Selten, to modern Nobel laureates.
:::
:::
### [Course 2 — Mechanisms, Behaviour & Ethics](courses/course2-mechanisms-behaviour/index.qmd) {.course-group-title}
::: {.topic-grid}
::: {.topic-card}
#### [Mechanism Design](tutorials/mechanism-design/index.qmd)
::: {.topic-card-label}
<span data-topic-count="mechanism-design"></span> TUTORIALS
:::
VCG, auctions, matching, voting — designing the rules of the game.
:::
::: {.topic-card}
#### [Auction Theory](tutorials/auction-theory-deep-dive/index.qmd)
::: {.topic-card-label}
<span data-topic-count="auction-theory-deep-dive"></span> TUTORIALS
:::
Revenue equivalence, Myerson optimal, combinatorial, GSP, empirical methods.
:::
::: {.topic-card}
#### [Behavioral Economics](tutorials/behavioral-economics/index.qmd)
::: {.topic-card-label}
<span data-topic-count="behavioral-economics"></span> TUTORIALS
:::
Prospect theory, nudges, heuristics, time preferences, social norms.
:::
::: {.topic-card}
#### [Experimental Economics](tutorials/experimental-economics/index.qmd)
::: {.topic-card-label}
<span data-topic-count="experimental-economics"></span> TUTORIALS
:::
Lab and field experiments, oTree, classical replications, meta-analysis.
:::
::: {.topic-card}
#### [Cryptography & Game Theory](tutorials/cryptography-and-gt/index.qmd)
::: {.topic-card-label}
<span data-topic-count="cryptography-and-gt"></span> TUTORIALS
:::
Blockchain incentives, MEV, DeFi games, cryptographic protocols as games.
:::
::: {.topic-card}
#### [Ethics and Game Theory](tutorials/ethics-and-game-theory/index.qmd)
::: {.topic-card-label}
<span data-topic-count="ethics-and-game-theory"></span> TUTORIALS
:::
Ethical dilemmas formalised, fairness, moral uncertainty, conventions, norms.
:::
::: {.topic-card}
#### [Ethics Applications](tutorials/ethics-applications/index.qmd)
::: {.topic-card-label}
<span data-topic-count="ethics-applications"></span> TUTORIALS
:::
Algorithmic fairness, AI safety, bioethics, climate justice, digital ethics.
:::
::: {.topic-card}
#### [Case Studies](tutorials/case-studies/index.qmd)
::: {.topic-card-label}
<span data-topic-count="case-studies"></span> TUTORIALS
:::
Cold War, OPEC, climate, market design, sports, poker — theory meets reality.
:::
:::
### [Course 3 — Mathematical & Statistical Methods](courses/course3-methods/index.qmd) {.course-group-title}
::: {.topic-grid}
::: {.topic-card}
#### [Linear Algebra & Matrices](tutorials/linear-algebra-matrix/index.qmd)
::: {.topic-card-label}
<span data-topic-count="linear-algebra-matrix"></span> TUTORIALS
:::
Eigenvalues, SVD, positive definite matrices, Perron-Frobenius, graph Laplacians.
:::
::: {.topic-card}
#### [Optimization & Numerical Methods](tutorials/optimization-numerical-methods/index.qmd)
::: {.topic-card-label}
<span data-topic-count="optimization-numerical-methods"></span> TUTORIALS
:::
Convex optimisation, LP, dynamic programming, gradient methods, fixed-point.
:::
::: {.topic-card}
#### [Information Theory](tutorials/information-theory/index.qmd)
::: {.topic-card-label}
<span data-topic-count="information-theory"></span> TUTORIALS
:::
Entropy, mutual information, KL divergence, channel capacity, rate-distortion.
:::
::: {.topic-card}
#### [Statistical Foundations](tutorials/statistical-foundations/index.qmd)
::: {.topic-card-label}
<span data-topic-count="statistical-foundations"></span> TUTORIALS
:::
Probability, inference, hypothesis testing, regression, nonparametrics.
:::
::: {.topic-card}
#### [Bayesian Methods](tutorials/bayesian-methods/index.qmd)
::: {.topic-card-label}
<span data-topic-count="bayesian-methods"></span> TUTORIALS
:::
Conjugate priors, MCMC, Stan, hierarchical models, Bayesian computation.
:::
::: {.topic-card}
#### [Causal Inference](tutorials/causal-inference/index.qmd)
::: {.topic-card-label}
<span data-topic-count="causal-inference"></span> TUTORIALS
:::
DAGs, potential outcomes, DiD, IV, RDD, synthetic control.
:::
::: {.topic-card}
#### [Time Series & Econometrics](tutorials/time-series-econometrics/index.qmd)
::: {.topic-card-label}
<span data-topic-count="time-series-econometrics"></span> TUTORIALS
:::
ARIMA, VAR, cointegration, GARCH, structural breaks, panel data.
:::
::: {.topic-card}
#### [Network Science](tutorials/network-science/index.qmd)
::: {.topic-card-label}
<span data-topic-count="network-science"></span> TUTORIALS
:::
Random graphs, centrality, community detection, epidemics, igraph/tidygraph.
:::
:::
### [Course 4 — Simulation, AI & Data Practice](courses/course4-simulation-ai-data/index.qmd) {.course-group-title}
::: {.topic-grid}
::: {.topic-card}
#### [Simulations](tutorials/simulations/index.qmd)
::: {.topic-card-label}
<span data-topic-count="simulations"></span> TUTORIALS
:::
Monte Carlo, agent-based models, stochastic simulations, RL agents, tournaments.
:::
::: {.topic-card}
#### [ML and Game Theory](tutorials/ml-and-gt/index.qmd)
::: {.topic-card-label}
<span data-topic-count="ml-and-gt"></span> TUTORIALS
:::
AlphaZero, CFR, multi-agent RL, GANs, adversarial robustness.
:::
::: {.topic-card}
#### [AI/ML Foundations](tutorials/ai-ml-foundations-and-applications/index.qmd)
::: {.topic-card-label}
<span data-topic-count="ai-ml-foundations-and-applications"></span> TUTORIALS
:::
From perceptrons to transformers — history, theory, and R implementations.
:::
::: {.topic-card}
#### [Public APIs and Datasets](tutorials/public-apis-and-datasets/index.qmd)
::: {.topic-card-label}
<span data-topic-count="public-apis-and-datasets"></span> TUTORIALS
:::
World Bank, ACLED, NOAA, arXiv, Lichess — live data for game-theoretic analysis.
:::
::: {.topic-card}
#### [Real-World Data Applications](tutorials/real-world-data-applications/index.qmd)
::: {.topic-card-label}
<span data-topic-count="real-world-data-applications"></span> TUTORIALS
:::
Empirical game theory with public historical data — trade, conflict, climate, health.
:::
::: {.topic-card}
#### [Visualization & Communication](tutorials/visualization-and-communication/index.qmd)
::: {.topic-card-label}
<span data-topic-count="visualization-and-communication"></span> TUTORIALS
:::
Publication-ready ggplot2, plotly, game trees, network graphs, dashboards.
:::
::: {.topic-card}
#### [Reproducibility & Open Science](tutorials/reproducibility-open-science/index.qmd)
::: {.topic-card-label}
<span data-topic-count="reproducibility-open-science"></span> TUTORIALS
:::
Quarto, renv, targets, Docker, pre-registration, data sharing.
:::
::: {.topic-card}
#### [R Package Development](tutorials/r-package-development/index.qmd)
::: {.topic-card-label}
<span data-topic-count="r-package-development"></span> TUTORIALS
:::
Package structure, roxygen2, testthat, pkgdown, CRAN submission.
:::
:::
## Applications
::: {.card-grid}
::: {.card}
::: {.kicker}
Interactive
:::
### [Decision Tree](decision-tree/index.qmd)
A wizard and a chart that guide the choice of game-theoretic model or
solution concept.
:::
::: {.card}
::: {.kicker}
Interactive
:::
### [Shiny Apps](shiny/index.qmd)
A Shiny Nash-equilibrium explorer that runs locally with R, and the
catalogue of planned interactive tools.
:::
:::
## Further along
- [Overview](overview.qmd) — filter every tutorial by topic, tag and label, and explore the tag network.
- [All tutorials (A–Z)](tutorials.qmd) — the complete alphabetical list.
- [Search](search.qmd) — full-text search across the site.
- [Cheatsheets](cheatsheets.qmd), [Glossary](appendices/glossary.qmd), [Common errors](appendices/common-errors.qmd).
- [About](about.qmd) — author, scope, licences and the use of LLM tools.