# skimeur/qmf architecture

> Architecture diagram of the GitHub repository skimeur/qmf, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-16). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/skimeur/qmf
- Repository: https://github.com/skimeur/qmf

## Overview

QMF is a collection of independent executable teaching scripts accompanying graduate material in quantitative finance and financial econometrics. The principal workflow is a learner running a chapter script, optionally using local or remote data, to demonstrate a quantitative method and inspect its outputs. The repository is not a single application with a shared runtime pipeline. The README documents broad topic coverage; sampled files show selected implementations, but unsampled capabilities are represented only at their enclosing paths and are not linked by inferred calls.

Main entry points: [`code/variables_functions_an_introduction/vansteenberghe_types_loops_functions.py`](https://github.com/skimeur/qmf/blob/main/code/variables_functions_an_introduction/vansteenberghe_types_loops_functions.py) (Python basics), [`code/numpy_exercise_part2.py`](https://github.com/skimeur/qmf/blob/main/code/numpy_exercise_part2.py) (NumPy methods), [`code/pandas_exercise_part_2_seasonality_French_population.py`](https://github.com/skimeur/qmf/blob/main/code/pandas_exercise_part_2_seasonality_French_population.py) (Pandas methods), [`code/vansteenberghe_height_normal_distrib.py`](https://github.com/skimeur/qmf/blob/main/code/vansteenberghe_height_normal_distrib.py) (Distributions and plots)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_foundations["Programming and statistics"]
  node_intro["Python basics"]
  node_numpy["NumPy methods"]
  node_pandas["Pandas methods"]
  node_distributions["Distributions and plots"]
  node_pca["Principal components"]
end

subgraph group_methods["Quantitative methods"]
  node_ols["OLS regression"]
  node_bayes["Naive Bayes"]
  node_moretopics["Other lecture topics"]
end

subgraph group_timeseries["Financial econometrics"]
  node_arima["ARIMA models"]
  node_arch["ARCH and GARCH"]
  node_persistence["Inflation persistence"]
  node_uncertainty["Inflation expectations"]
  node_cointegration["Cointegration and ECM"]
  node_robust["Robust regression"]
  node_var["VAR models"]
  node_svar["Structural VAR"]
  node_policy["Policy shock analysis"]
  node_population["Population AR models"]
end

subgraph group_data["Data access"]
  node_dataaccess["Data retrieval"]
end

node_learner(("Learner"))

node_learner -->|"runs independently"| node_intro
node_learner -->|"runs independently"| node_numpy
node_learner -->|"runs independently"| node_pandas
node_learner -->|"runs independently"| node_distributions
node_learner -->|"runs independently"| node_pca
node_learner -->|"runs independently"| node_ols
node_learner -->|"runs independently"| node_bayes
node_learner -->|"runs independently"| node_arima
node_learner -->|"runs independently"| node_arch
node_learner -->|"runs independently"| node_persistence
node_learner -->|"runs independently"| node_uncertainty
node_learner -->|"runs independently"| node_cointegration
node_learner -->|"runs independently"| node_robust
node_learner -->|"runs independently"| node_var
node_learner -->|"runs independently"| node_svar
node_learner -->|"runs independently"| node_policy
node_learner -->|"runs independently"| node_population
node_learner -->|"runs independently"| node_dataaccess

click node_intro "https://github.com/skimeur/qmf/blob/main/code/variables_functions_an_introduction/vansteenberghe_types_loops_functions.py"
click node_numpy "https://github.com/skimeur/qmf/blob/main/code/numpy_exercise_part2.py"
click node_pandas "https://github.com/skimeur/qmf/blob/main/code/pandas_exercise_part_2_seasonality_French_population.py"
click node_distributions "https://github.com/skimeur/qmf/blob/main/code/vansteenberghe_height_normal_distrib.py"
click node_pca "https://github.com/skimeur/qmf/blob/main/code/vansteenberghe_PCA_example.py"
click node_ols "https://github.com/skimeur/qmf/blob/main/code/vansteenberghe_weight_height_OLS.py"
click node_bayes "https://github.com/skimeur/qmf/blob/main/code/ML_wage_naive_bayes.py"
click node_arima "https://github.com/skimeur/qmf/blob/main/code/ARIMA_vansteenberghe/ARIMA_vansteenberghe.py"
click node_arch "https://github.com/skimeur/qmf/blob/main/code/ARIMA_vansteenberghe/ARCH_vansteenberghe.py"
click node_persistence "https://github.com/skimeur/qmf/blob/main/code/inflation_persistence/vansteenberghe_inflation_persistence.py"
click node_uncertainty "https://github.com/skimeur/qmf/blob/main/code/inflation_uncertainty/inflation_and_anticipations.py"
click node_cointegration "https://github.com/skimeur/qmf/blob/main/code/cointegration/vansteenberghe_cointegration_ecm_regression.py"
click node_robust "https://github.com/skimeur/qmf/blob/main/code/cointegration/vansteenberghe_robust_regressions.py"
click node_var "https://github.com/skimeur/qmf/blob/main/code/VAR/vansteenberghe_VAR.py"
click node_svar "https://github.com/skimeur/qmf/blob/main/code/VAR/SVAR_vansteenberghe.py"
click node_policy "https://github.com/skimeur/qmf/blob/main/code/VAR/monetary_policy_SVAR_IV_vansteenberghe.py"
click node_population "https://github.com/skimeur/qmf/blob/main/code/ARp_French_population.py"
click node_dataaccess "https://github.com/skimeur/qmf/blob/main/code/get_data_vansteenberghe.py"
click node_moretopics "https://github.com/skimeur/qmf/tree/main/code"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_intro,node_numpy,node_pandas,node_distributions,node_pca toneBlue
class node_ols,node_bayes,node_moretopics toneAmber
class node_arima,node_arch,node_persistence,node_uncertainty,node_cointegration,node_robust,node_var,node_svar,node_policy,node_population toneMint
class node_dataaccess toneRose
class node_learner toneIndigo
```

## Components

### Programming and statistics

- [Python basics](https://github.com/skimeur/qmf/blob/main/code/variables_functions_an_introduction/vansteenberghe_types_loops_functions.py): `code/variables_functions_an_introduction/vansteenberghe_types_loops_functions.py`
- [NumPy methods](https://github.com/skimeur/qmf/blob/main/code/numpy_exercise_part2.py): `code/numpy_exercise_part2.py`
- [Pandas methods](https://github.com/skimeur/qmf/blob/main/code/pandas_exercise_part_2_seasonality_French_population.py): `code/pandas_exercise_part_2_seasonality_French_population.py`
- [Distributions and plots](https://github.com/skimeur/qmf/blob/main/code/vansteenberghe_height_normal_distrib.py): `code/vansteenberghe_height_normal_distrib.py`
- [Principal components](https://github.com/skimeur/qmf/blob/main/code/vansteenberghe_PCA_example.py): `code/vansteenberghe_PCA_example.py`

### Quantitative methods

- [OLS regression](https://github.com/skimeur/qmf/blob/main/code/vansteenberghe_weight_height_OLS.py): `code/vansteenberghe_weight_height_OLS.py`
- [Naive Bayes](https://github.com/skimeur/qmf/blob/main/code/ML_wage_naive_bayes.py): `code/ML_wage_naive_bayes.py`
- [Other lecture topics](https://github.com/skimeur/qmf/tree/main/code): `code`

### Financial econometrics

- [ARIMA models](https://github.com/skimeur/qmf/blob/main/code/ARIMA_vansteenberghe/ARIMA_vansteenberghe.py): `code/ARIMA_vansteenberghe/ARIMA_vansteenberghe.py`
- [ARCH and GARCH](https://github.com/skimeur/qmf/blob/main/code/ARIMA_vansteenberghe/ARCH_vansteenberghe.py): `code/ARIMA_vansteenberghe/ARCH_vansteenberghe.py`
- [Inflation persistence](https://github.com/skimeur/qmf/blob/main/code/inflation_persistence/vansteenberghe_inflation_persistence.py): `code/inflation_persistence/vansteenberghe_inflation_persistence.py`
- [Inflation expectations](https://github.com/skimeur/qmf/blob/main/code/inflation_uncertainty/inflation_and_anticipations.py): `code/inflation_uncertainty/inflation_and_anticipations.py`
- [Cointegration and ECM](https://github.com/skimeur/qmf/blob/main/code/cointegration/vansteenberghe_cointegration_ecm_regression.py): `code/cointegration/vansteenberghe_cointegration_ecm_regression.py`
- [Robust regression](https://github.com/skimeur/qmf/blob/main/code/cointegration/vansteenberghe_robust_regressions.py): `code/cointegration/vansteenberghe_robust_regressions.py`
- [VAR models](https://github.com/skimeur/qmf/blob/main/code/VAR/vansteenberghe_VAR.py): `code/VAR/vansteenberghe_VAR.py`
- [Structural VAR](https://github.com/skimeur/qmf/blob/main/code/VAR/SVAR_vansteenberghe.py): `code/VAR/SVAR_vansteenberghe.py`
- [Policy shock analysis](https://github.com/skimeur/qmf/blob/main/code/VAR/monetary_policy_SVAR_IV_vansteenberghe.py): `code/VAR/monetary_policy_SVAR_IV_vansteenberghe.py`
- [Population AR models](https://github.com/skimeur/qmf/blob/main/code/ARp_French_population.py): `code/ARp_French_population.py`

### Data access

- [Data retrieval](https://github.com/skimeur/qmf/blob/main/code/get_data_vansteenberghe.py): `code/get_data_vansteenberghe.py`

### Other components

- **Learner**

## Connections

- Learner → Python basics: runs independently (evidence: `README.md`)
- Learner → NumPy methods: runs independently (evidence: `README.md`)
- Learner → Pandas methods: runs independently (evidence: `README.md`)
- Learner → Distributions and plots: runs independently (evidence: `README.md`)
- Learner → Principal components: runs independently (evidence: `README.md`)
- Learner → OLS regression: runs independently (evidence: `README.md`)
- Learner → Naive Bayes: runs independently (evidence: `README.md`)
- Learner → ARIMA models: runs independently (evidence: `README.md`)
- Learner → ARCH and GARCH: runs independently (evidence: `README.md`)
- Learner → Inflation persistence: runs independently (evidence: `README.md`)
- Learner → Inflation expectations: runs independently (evidence: `README.md`)
- Learner → Cointegration and ECM: runs independently (evidence: `README.md`)
- Learner → Robust regression: runs independently (evidence: `README.md`)
- Learner → VAR models: runs independently (evidence: `README.md`)
- Learner → Structural VAR: runs independently (evidence: `README.md`)
- Learner → Policy shock analysis: runs independently (evidence: `README.md`)
- Learner → Population AR models: runs independently (evidence: `README.md`)
- Learner → Data retrieval: runs independently (evidence: `README.md`)
