-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
200 lines (191 loc) · 9.47 KB
/
Copy pathindex.html
File metadata and controls
200 lines (191 loc) · 9.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>macromod — macroeconomic simulation, built in the open</title>
<meta name="description" content="MacroMod is PolicyEngine's open platform of economic and public-policy simulation models: an overlapping-generations model, an OBR model emulator, a UK structural VAR, and PolicyEngine's tax-benefit microsimulation — all reading the same economy, in the open." />
<meta property="og:title" content="macromod" />
<meta property="og:description" content="Open-source macroeconomic simulation models for public policy." />
<meta property="og:type" content="website" />
<link rel="icon" type="image/svg+xml" href="/assets/policyengine-mark.svg" />
<meta name="theme-color" content="#FFFFFF" />
<link rel="stylesheet" href="/vendor/fonts/fonts.css" />
<link rel="stylesheet" href="/vendor/ui-kit-tokens.css" />
<link rel="stylesheet" href="./style.css" />
</head>
<body class="doc">
<div class="grain" aria-hidden="true"></div>
<canvas id="field" aria-hidden="true"></canvas>
<header class="nav">
<a class="brand" href="#top">
<span class="brand-dot" aria-hidden="true"></span>macromod
</a>
<nav class="nav-links">
<a href="#idea">idea</a>
<a href="#models">models</a>
<a href="#pipeline">pipeline</a>
<a href="/docs/">docs</a>
<a href="/connect/">use it</a>
<a class="nav-gh" href="https://github.com/PolicyEngine/MacroMod" aria-label="GitHub"><svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5"/></svg></a>
</nav>
</header>
<main id="top">
<section class="hero">
<div class="hero-inner">
<h1 class="reveal" style="--d:1">
An open platform for policy
<br />and economic simulation.
</h1>
<p class="lede reveal" style="--d:2">
<strong>macromod</strong> is an open platform of economic and
public-policy models: score a reform, forecast the economy, and read
its shocks — from one household's taxes to the long-run steady state.
Four engines, one suite, improved in the open.
</p>
<div class="hero-cta reveal" style="--d:3">
<a class="btn btn-primary" href="#models">Explore the models</a>
<a class="btn btn-ghost" href="https://github.com/PolicyEngine/MacroMod">Read the code</a>
</div>
</div>
</section>
<section id="idea" class="band">
<div class="band-head">
<span class="kicker mono">01 — the idea</span>
<h2>From static scores to microfounded models.</h2>
</div>
<div class="prose">
<p>
Policy analysis usually stops at a static score — who pays what the
morning after a reform. But people respond: they work, save, and
invest differently; firms adjust; wages, prices, and interest rates
move, and the fiscal arithmetic moves with them. Modeling that
response has been the preserve of institutions with in-house model
teams.
</p>
<p>
macromod opens it up — <strong>the full economy's answer, a model
away</strong>: an overlapping-generations engine for the long run, the
OBR's own equations for the near-term fiscal path, and a Bayesian
structural VAR that reads today's economy in shock terms. Every engine
open source, every result reproducible, one command away.
</p>
</div>
</section>
<section id="models" class="band band-stack">
<div class="band-head">
<span class="kicker mono">02 — the models</span>
<h2>One suite, many lenses on the same economy.</h2>
</div>
<div class="prose" style="margin-bottom: 36px;">
<p>
Different questions need different macro machinery. Every model in the
suite scores the same PolicyEngine reform objects and reports the same
real-world quantities, so results are comparable across model classes
— and every model gets its own page: a 30-second explainer, the method,
and the calibration evidence.
</p>
</div>
<div class="strategy-grid">
<a class="strategy-card" href="/olg/">
<header><span class="card-id mono">psl-og</span><span class="tag tag-live">live</span></header>
<h3>PSL overlapping generations model</h3>
<p>
A dynamic general-equilibrium model of 80 age cohorts working, saving,
and retiring — built on OG-Core, calibrated to national accounts, with
tax functions estimated from PolicyEngine microdata. Solves the long-run
steady state and the year-by-year transition path for GDP, investment,
consumption, revenue, and debt.
</p>
<span class="strategy-paper-link mono">read the model →</span>
</a>
<a class="strategy-card" href="/obr/">
<header><span class="card-id mono">obr-macro</span><span class="tag tag-live">live</span></header>
<h3>OBR macroeconometric model</h3>
<p>
A Python emulator of the OBR's own published forecasting model — 372
structural equations solved simultaneously by Gauss–Seidel iteration.
Runs fiscal-multiplier and tax-shock experiments quarter by quarter,
anchored to the official Economic and Fiscal Outlook.
</p>
<span class="strategy-paper-link mono">read the model →</span>
</a>
<a class="strategy-card" href="/svar/">
<header><span class="card-id mono">boe-svar</span><span class="tag tag-live">live</span></header>
<h3>Bank of England structural VAR model</h3>
<p>
A Python replication of the Bank of England's structural VAR for the
UK economy — eight quarterly variables, six identified shocks (world
demand, energy, and supply; UK demand, supply, and monetary policy).
Decomposes GDP and inflation into their drivers, forecasts with
credible bands, and explains forecast revisions.
</p>
<span class="strategy-paper-link mono">read the model →</span>
</a>
<a class="strategy-card" href="/pe/">
<header><span class="card-id mono">pe-microsim</span><span class="tag tag-live">live</span></header>
<h3>PolicyEngine tax-benefit microsimulation</h3>
<p>
The micro member of the suite: PolicyEngine's tax-benefit
microsimulation package for the UK and US — the same engine behind
policyengine.org. Computes a specific family's taxes, benefits, and
net income under current law or a reform, at person and household
resolution; population-level reform scoring is planned.
</p>
<span class="strategy-paper-link mono">read the model →</span>
</a>
</div>
<p class="next-invite mono">
<span class="tag tag-wip">next</span> new model classes are in design —
<a href="https://github.com/PolicyEngine/MacroMod/issues/new?title=Model+suggestion:+&labels=model-suggestion">tell us which model we should add next →</a>
</p>
</section>
<section id="pipeline" class="band">
<div class="band-head">
<span class="kicker mono">03 — the pipeline</span>
<h2>Statute in, economy out.</h2>
</div>
<div class="prose">
<p>
One question, four entry points. A reform enters as
<strong>actual policy parameters</strong> — a tax rate, an allowance, a
benefit amount — and each engine answers at its own resolution: the
microsimulation computes what it does to a named household, the OLG
model solves the long-run general equilibrium, the OBR emulator traces
the quarter-by-quarter fiscal path, and the structural VAR reads which
shocks are driving the economy you're about to change.
</p>
<p>
Every result is a <strong>deviation from an official baseline</strong>
— ONS, OBR, and Bank of England data — in real-world units: £ per year
for a household, £bn and % of GDP for the economy. One connector, one
CLI, one Python API drive all four.
</p>
</div>
</section>
<section class="band band-cta">
<h2>Built in the open. Read it, run it, contribute.</h2>
<p class="cta-sub">
Every model, dataset decision, and validation report lives in a public
repository — nothing behind a login, nothing you can't rerun. File an
issue, suggest the next model, or open a pull request.
</p>
<div class="hero-cta">
<a class="btn btn-primary" href="https://github.com/PolicyEngine/MacroMod">GitHub</a>
<a class="btn btn-ghost" href="https://policyengine.org">PolicyEngine</a>
</div>
</section>
</main>
<footer class="foot foot-bar">
<span class="brand"><span class="brand-dot" aria-hidden="true"></span>macromod</span>
<nav class="foot-nav mono">
<a href="/docs/">docs</a>
<a href="/connect/">use it</a>
<a href="https://github.com/PolicyEngine/MacroMod">GitHub</a>
<a class="foot-pe" href="https://policyengine.org" aria-label="PolicyEngine"><img src="/assets/policyengine.svg" alt="PolicyEngine" /></a>
</nav>
</footer>
<script src="./field.js" defer></script>
<script src="./reveal.js" defer></script>
</body>
</html>