ECONOMICS / 01–06

Economics & finance

6 independent, runnable lessons connecting questions, traceable inputs, transparent methods and interpretation. One notebook download starts each workflow.

Learning path 01 → 02 → 03 → 04 → 05 → 06; every lesson also runs independently.
Download this discipline in both languages

6 recipes

Compare real economic growth indicators — executed figure
01 / Introductory50 minOffline core

Compare real economic growth indicators

Audit economy/year records and separate constant-price levels, rebased growth and a common-year comparison.

numpy · pandas · matplotlib · IPython
Distinguish CPI, inflation and real values — executed figure
02 / Intermediate50 minOffline core

Distinguish CPI, inflation and real values

Rebase an observed price index, reconcile annual changes and deflate a stated hypothetical nominal amount.

numpy · pandas · matplotlib · IPython
Audit inequality observations and their years — executed figure
03 / Intermediate50 minOffline core

Audit inequality observations and their years

Preserve absent years and compare dated Gini observations without manufacturing a synchronized ranking.

numpy · pandas · matplotlib · IPython
Compute currency returns with explicit quote units — executed figure
04 / Intermediate50 minOffline core

Compute currency returns with explicit quote units

Invert ECB foreign-units-per-euro quotes before calculating euro-valued price returns and historical associations.

numpy · pandas · matplotlib · IPython
Evaluate constrained historical variance — executed figure
05 / Advanced60 minOffline core

Evaluate constrained historical variance

Fit a long-only covariance model on training years and evaluate fixed hypothetical weights against an equal-weight baseline.

numpy · pandas · scipy · matplotlib · IPython
Reconcile empirical tail risk and block resampling — executed figure
06 / Advanced60 minOffline core

Reconcile empirical tail risk and block resampling

Define inverse-CDF VaR and fractional-tail ES for a hypothetical currency basket, then inspect conditional resampling variability.

numpy · pandas · matplotlib · IPython