-
Notifications
You must be signed in to change notification settings - Fork 0
/
econark.sty
349 lines (301 loc) · 13.1 KB
/
econark.sty
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
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
% Get references right whether compiled as subfile or main file
% https://tex.stackexchange.com/questions/463699/proper-reference-numbers-with-subfiles
\newcommand\labelprefix{}
\newcommand\localorexternallabel[1]{% Removing this comment breaks the command
\expandafter\ifx\csname r@#1\endcsname\relax
\labelprefix
\fi #1% Removing this comment breaks the command
}
% Suppress useless warning "PDF inclusion: multiple PDFs with page group"
\pdfsuppresswarningpagegroup=1
% Appendices and body are subfiles
\usepackage{subfiles}
% Command to define a label only if it does not yet exist (suppresses misleading
% warnings when material created in subfiles is read in while references already
% exist from master document)
\makeatletter
\newcommand{\iflabelexists}[3]{\@ifundefined{r@#1}{\G@refundefinedtrue{#3}}{#2}}
\makeatother
\providecommand{\ARKurl}{\href{https://econ-ark.org}{Econ-ARK}}
% Define various generically useful terms and items
\providecommand{\avg}{\bar}
\providecommand{\cov}{}\renewcommand{\cov}{\textup{cov}}
\providecommand{\Abve}{\bar}
\providecommand{\Belw}{\ushort}
\providecommand{\CDF}{\mathcal{F}}
\providecommand{\GroFac}{\Omega} % Generic for growth factor
\providecommand{\GroRte}{\omega} % Generic for growth rate
\providecommand{\Lvl}{\mathbf} % Levels of variables are bold
% Constrained
\newcommand{\cnstr}[1]{\grave{#1}}
\newcommand{\BalGroFac}{\check} % Balanced growth factor
\newcommand{\BalGroRte}{\tilde} % Balanced growth rate (log change)
\newcommand{\TargetNrm}{\hat} % Target
\newcommand{\ABalLvl}{\BalGroFac{\ALvl}} % m where mLvl grows by PermGroFac
\newcommand{\mBalLvl}{\BalGroFac{\mNrm}} % m where mLvl grows by PermGroFac
\newcommand{\MBalLvl}{\BalGroFac{\MNrm}} % m where MLvl grows by PermGroFac
\newcommand{\mBalLog}{\BalGroRte{\mNrm}} % m where mLog grows by PermGroRte
\newcommand{\mTrgNrm}{\TargetNrm{\mNrm}} % m where E[m_{t+1}]=m_{t}
% Create links to explanations in text
\newcommand{\BSTpaperLink}{https://\owner.github.io/BufferStockTheory/BufferStockTheory3.html} % Frame 3
% Suffix of Defn indicates reference to text name and source doc definition
\newcommand{\FHWC}{\hyperlink{FHWC}{\textrm{FHWC}}}
%\newcommand{\FHWFacDefn}{\hyperlink{FHWFacDefn}{\textrm{FHWF}}}
\newcommand{\FHWFacDefn}{\hyperlink{FHWFacDefn}{\textrm{FHWF}}}
\newcommand{\GICRaw}{\hyperlink{GICRaw}{\textrm{GIC}}}
\newcommand{\GPFacRawDefn}{\hyperlink{GPFacRawDefn}{\textrm{GPF}}}
\newcommand{\GPFacModDefn}{\hyperlink{GPFacModDefn}{\textrm{GPF-Mod}}}
\newcommand{\GICMod}{\hyperlink{GICMod}{\textrm{GIC-Mod}}}
\newcommand{\GICHarm}{\hyperlink{GICHarm}{\textrm{GIC-Harm}}}
\newcommand{\GICSdl}{\hyperlink{GICSdl}{\textrm{GIC-Szeidl}}}
\newcommand{\RIC}{\hyperlink{RIC}{\textrm{RIC}}}
\newcommand{\PFFVAC}{\hyperlink{PFFVAC}{\textrm{PF-FVAC}}}
\newcommand{\PFVAFacDefn}{\hyperlink{PFVAFacDefn}{\textrm{PF-VAF}}}
\newcommand{\FVAC}{\hyperlink{FVAC}{\textrm{FVAC}}}
\newcommand{\VAFacDefn}{\hyperlink{VAFacDefn}{\textrm{VAF}}}
\newcommand{\APFacDefn}{\hyperlink{APFacDefn}{\textrm{APF}}}
\newcommand{\RPFacDefn}{\hyperlink{RPFacDefn}{\textrm{RPF}}}
\newcommand{\AIC}{\hyperlink{AIC}{\textrm{AIC}}}
\newcommand{\WRPFacDefn}{\hyperlink{WRPFacDefn}{\textrm{WRPF}}}
\newcommand{\WRIC}{\hyperlink{WRIC}{\textrm{WRIC}}}
% Levels are boldface
\providecommand{\aLvl}{\mathbf{a}}
\providecommand{\bLvl}{\mathbf{b}}
\providecommand{\cLvl}{\mathbf{c}}
\providecommand{\dLvl}{\mathbf{d}}
\providecommand{\eLvl}{\mathbf{e}}
\providecommand{\fLvl}{\mathbf{f}}
\providecommand{\hLvl}{\mathbf{h}}
\providecommand{\iLvl}{\mathbf{i}}
\providecommand{\jLvl}{\mathbf{j}}
\providecommand{\kLvl}{\mathbf{k}}
\providecommand{\mLvl}{\mathbf{m}}
\providecommand{\pLvl}{\mathbf{p}}
\providecommand{\sLvl}{\mathbf{s}}
\providecommand{\rLvl}{\mathbf{r}}
\providecommand{\vLvl}{\mathbf{v}}
\providecommand{\yLvl}{\mathbf{y}}
\providecommand{\zLvl}{\mathbf{z}}
\providecommand{\ALvl}{\mathbf{A}}
\providecommand{\BLvl}{\mathbf{B}}
\providecommand{\CLvl}{\mathbf{C}}
\providecommand{\DLvl}{\mathbf{D}}
\providecommand{\ELvl}{\mathbf{E}}
\providecommand{\FLvl}{\mathbf{F}}
\providecommand{\GLvl}{\mathbf{G}}
\providecommand{\HLvl}{\mathbf{H}}
\providecommand{\ILvl}{\mathbf{I}}
\providecommand{\JLvl}{\mathbf{J}}
\providecommand{\KLvl}{\mathbf{K}}
\providecommand{\LLvl}{\mathbf{L}}
\providecommand{\MLvl}{\mathbf{M}}
\providecommand{\NLvl}{\mathbf{N}}
\providecommand{\OLvl}{\mathbf{O}}
\providecommand{\PLvl}{\mathbf{P}}
\providecommand{\QLvl}{\mathbf{Q}}
\providecommand{\RLvl}{\mathbf{R}}
\providecommand{\SLvl}{\mathbf{S}}
\providecommand{\TLvl}{\mathbf{T}}
\providecommand{\ULvl}{\mathbf{U}}
\providecommand{\VLvl}{\mathbf{V}}
\providecommand{\WLvl}{\mathbf{W}}
\providecommand{\XLvl}{\mathbf{X}}
\providecommand{\YLvl}{\mathbf{Y}}
\providecommand{\ZLvl}{\mathbf{Z}}
% Functions are Roman not italicized
\providecommand{\aFunc}{\mathrm{a}}
\providecommand{\bFunc}{\mathrm{b}}
\providecommand{\cFunc}{\mathrm{c}}
\providecommand{\dFunc}{\mathrm{d}}
\providecommand{\eFunc}{\mathrm{e}}
\providecommand{\fFunc}{\mathrm{f}}
\providecommand{\hFunc}{\mathrm{h}}
\providecommand{\iFunc}{\mathrm{i}}
\providecommand{\jFunc}{\mathrm{j}}
\providecommand{\kFunc}{\mathrm{k}}
\providecommand{\mFunc}{\mathrm{m}}
\providecommand{\nFunc}{\mathrm{n}}
\providecommand{\pFunc}{\mathrm{p}}
\providecommand{\sFunc}{\mathrm{s}}
\providecommand{\rFunc}{\mathrm{r}}
\providecommand{\uFunc}{\mathrm{u}}
\providecommand{\vFunc}{\mathrm{v}}
\providecommand{\wFunc}{\mathrm{w}}
\providecommand{\xFunc}{\mathrm{x}}
\providecommand{\yFunc}{\mathrm{y}}
\providecommand{\zFunc}{\mathrm{z}}
\providecommand{\AFunc}{\mathrm{A}}
\providecommand{\BFunc}{\mathrm{B}}
\providecommand{\CFunc}{\mathrm{C}}
\providecommand{\DFunc}{\mathrm{D}}
\providecommand{\EFunc}{\mathrm{E}}
\providecommand{\FFunc}{\mathrm{F}}
\providecommand{\GFunc}{\mathrm{G}}
\providecommand{\HFunc}{\mathrm{H}}
\providecommand{\IFunc}{\mathrm{I}}
\providecommand{\JFunc}{\mathrm{J}}
\providecommand{\KFunc}{\mathrm{K}}
\providecommand{\LFunc}{\mathrm{L}}
\providecommand{\MFunc}{\mathrm{M}}
\providecommand{\NFunc}{\mathrm{N}}
\providecommand{\OFunc}{\mathrm{O}}
\providecommand{\PFunc}{\mathrm{P}}
\providecommand{\QFunc}{\mathrm{Q}}
\providecommand{\RFunc}{\mathrm{R}}
\providecommand{\SFunc}{\mathrm{S}}
\providecommand{\TFunc}{\mathrm{T}}
\providecommand{\UFunc}{\mathrm{U}}
\providecommand{\VFunc}{\mathrm{V}}
\providecommand{\WFunc}{\mathrm{W}}
\providecommand{\XFunc}{\mathrm{X}}
\providecommand{\YFunc}{\mathrm{Y}}
\providecommand{\ZFunc}{\mathrm{Z}}
% Ratios to permanent income are normal face
\providecommand{\aNrm}{a}
\providecommand{\bNrm}{b}
\providecommand{\cNrm}{c}
\providecommand{\dNrm}{d}
\providecommand{\eNrm}{e}
\providecommand{\fNrm}{f}
\providecommand{\hNrm}{h}
\providecommand{\iNrm}{i}
\providecommand{\jNrm}{j}
\providecommand{\kNrm}{k}
\providecommand{\mNrm}{m}
\providecommand{\pNrm}{p}
\providecommand{\rNrm}{s}
\providecommand{\sNrm}{s}
\providecommand{\vNrm}{v}
\providecommand{\yNrm}{y}
\providecommand{\zNrm}{z}
\providecommand{\ANrm}{A}
\providecommand{\BNrm}{B}
\providecommand{\CNrm}{C}
\providecommand{\DNrm}{D}
\providecommand{\ENrm}{E}
\providecommand{\FNrm}{F}
\providecommand{\HNrm}{H}
\providecommand{\INrm}{I}
\providecommand{\JNrm}{J}
\providecommand{\KNrm}{K}
\providecommand{\MNrm}{M}
\providecommand{\PNrm}{P}
\providecommand{\SNrm}{S}
\providecommand{\VNrm}{V}
\providecommand{\YNrm}{Y}
\providecommand{\ZNrm}{Z}
\providecommand{\RNrm}{\mathcal{R}}
% Ind and Agg varaibles begin with lower case
\providecommand{\tranShkInd}{\theta} % Formerly tranShkInd
\providecommand{\tranShkAgg}{\Theta} % Formerly TranShkAgg
\providecommand{\permShkInd}{\psi} % Formerly PermShkInd
\providecommand{\permShkAgg}{\Psi} % Formerly PermShkAgg
\providecommand{\tranShkAgg}{\Theta} % Formerly TranShkAgg
\providecommand{\permShkInd}{\psi} % Formerly PermShkInd
\providecommand{\permShkAgg}{\Psi} % Formerly PermShkAgg
\providecommand{\tranShkIndStd}{\sigma_{\tranShkInd}} % Formerly tranShkInd
\providecommand{\tranShkIndVar}{\sigma^{2}_{\tranShkInd}} % Formerly tranShkInd
\providecommand{\tranShkAggStd}{\sigma_{\tranShkAgg}} % Formerly tranShkAgg
\providecommand{\tranShkAggVar}{\sigma^{2}_{\tranShkAgg}} % Formerly tranShkInd
% Combo variables (combining Ind and Agg)
\providecommand{\PermShk}{\mathbf{\Psi}}
\providecommand{\PermShkStd}{\sigma_{\PermShk}}
\providecommand{\PermShkVar}{\sigma^{2}_{\PermShk}}
\providecommand{\PermLvl}{\pLvl}
\providecommand{\PermLvlAgg}{\PLvl}
% More specialized variables
\providecommand{\TranShk}{\pmb{\xi}}
\providecommand{\TranShkStd}{\sigma_{\TranShk}}
\providecommand{\TranShkVar}{\sigma^{2}_{\TranShk}}
\providecommand{\TranShkEmp}{\pmb{\theta}} % Former tShkEmp
\providecommand{\TranShkAll}{\pmb{\xi}} % Former tShkAll
\providecommand{\IncUnemp}{\mu} % Income in unemployment
\providecommand{\permLvlAgg}{\mathrm{P}} % Formerly PermLvlAgg
\providecommand{\permLvlInd}{\mathrm{p}} % Formerly permLvlInd
\providecommand{\MPCmin}{{\uline{\kappa}}}
\providecommand{\MPCmax}{{\bar{\kappa}}}
\providecommand{\MPCmaxmax}{{\bar{\bar{\kappa}}}}
\providecommand{\MPCmaxmin}{{\hat{\underline{\kappa}}}}
\providecommand{\MPCminmin}{{\underline{\kappa}}}
\providecommand{\permGroFacAgg}{\Phi}
\providecommand{\permGroFacInd}{\pmb{\phi}}
\providecommand{\PermGroFac}{\pmb{\Phi}}
\providecommand{\PermGroFacAdj}{\underline{\PermGroFac}}
\providecommand{\PermGroFacuAdj}{\underline{\underline{\PermGroFac}}}
\providecommand{\PermGroRte}{\varphi}
\providecommand{\Alive}{\mathcal{L}}\renewcommand{\Alive}{\mathcal{L}}
\providecommand{\RfreeAgg}{}\renewcommand{\RfreeAgg}{\Agg{\Rfree}}
\providecommand{\DeprFac}{\ensuremath{\daleth}}
\providecommand{\deprRte}{\ensuremath{\delta}} % New
\providecommand{\DiscFac}{\beta}
\providecommand{\DiscFacAlt}{\beth}
\providecommand{\DiscAltuAdj}{{\underline{\underline{\beth}}}}
\providecommand{\DiscAlt}{{\beth}}
\providecommand{\DiscFacRaw}{\beta}
\providecommand{\DiscFacLiv}{\underline{\DiscFacRaw}}
\providecommand{\discRte}{\ensuremath{\tau}} % New
\providecommand{\APFac}{\text{\pmb{\Thorn}}} % Former \Pat
\providecommand{\APFacDefn}{\hyperlink{APFacDefn}{\textrm{APF}}}
\providecommand{\GPFacRaw}{\APFac_{\PermGroFac}}
\providecommand{\GPFacNrm}{\APFac_{\PermGroFacAdj}}
\providecommand{\RPFac}{\APFac_{\Rfree}}
\providecommand{\RPRte}{\text{\thorn}_{\rfree}}
\providecommand{\GPRte}{\text{\thorn}_{\PermGroRte}}
\providecommand{\APRte}{\text{\thorn}}
\providecommand{\EPermShkInv}{\Ex[\PermShk^{-1}]} % Formerly EpShkInv
\providecommand{\InvEPermShkInv}{\underline{\PermShk}} % Formerly InvEpShkInv
\providecommand{\uInvEuPermShk}{\underline{\underline{\PermShk}}} % Formerly {\uInvEpShkuInv}
\providecommand{\RfreeEff}{\bar{\Rfree}} % Blanchard-adjusted interest rate
\newcommand{\PopnGroFac}{\Xi}
\newcommand{\PopnGroRte}{\xi}
\newcommand{\PopnLvl}{\pmb{\mathrm{N}}}
\providecommand{\LivPrb}{\Alive}
\providecommand{\livPrb}{\ell}
\providecommand{\cncl}{}
\renewcommand\cncl[1]{{\cancel{#1}}}
\providecommand{\pNotZero}{(1-\pZero)}
\providecommand{\CARA}{\ensuremath{\alpha}}
\providecommand{\CRRA}{{\rho}}
\providecommand{\diePrb}{\ensuremath{\mathsf{d}}} % Continuous time death rate
\providecommand{\DiePrb}{\ensuremath{\mathsf{D}}} % Discrete-time one-period death rate
\providecommand{\Ex}{{\mathbb{E}}} % Expectations operator defined in econtex.cls
\providecommand{\Mean}{{\mathbb{M}}} % Mean
\providecommand{\MPC}{{\kappa}}
\providecommand{\MPCFunc}{\pmb{\kappa}}
\providecommand{\pZero}{{\wp}}
\providecommand{\rfree}{{\mathsf{r}}} % The net return on the safe asset at an annual rate
\providecommand{\Rfree}{{\mathsf{R}}} % The return factor on the safe asset - unfortunately mathfrak fonts don't come through for tth
\providecommand{\RSave}{\ensuremath{\underline{\Rfree}}}
\providecommand{\rsave}{\ensuremath{\underline{\rfree}}}
\providecommand{\RBoro}{\ensuremath{\bar{\Rfree}}}
\providecommand{\rboro}{\ensuremath{\bar{\rfree}}}
\providecommand{\Risky}{\ensuremath{\mathbf{R}}} % The return on the risky asset
\providecommand{\risky}{\ensuremath{\mathbf{r}}} % The net return on the risky asset annual rate
\providecommand{\riskyshare}{\ensuremath{\varsigma}}
\providecommand{\Rport}{\ensuremath{\mathbbmss{R}}} % Portfolio -weighted return
\providecommand{\rport}{\ensuremath{\mathbbmss{r}}}
\providecommand{\uPPP}{{{\mathrm{u}^{\prime\prime\prime}}}}
\providecommand{\uPP}{{{\mathrm{u}^{\prime\prime}}}}
\providecommand{\uP}{{{\mathrm{u}^{\prime}}}}
\providecommand{\util}{u}
\providecommand{\Kap}{{K}}
\providecommand{\kap}{{k}}
\providecommand{\leiShare}{\ensuremath{\zeta}} %
\providecommand{\MPSmin}{\pZero^{1/\CRRA} \RPFac}
\providecommand{\MPSmax}{\RPFac}
\providecommand{\PDV}{\ensuremath{\mathbb{P}}} % PDV
\providecommand{\Wage}{\ensuremath{\mathsf{W}}}
\providecommand{\wage}{\ensuremath{\mathsf{w}}}
\providecommand{\TaxLev}{T}
\providecommand{\Tax}{}
\providecommand{\TaxFree}{\ensuremath{\cancel{\Tax}}}
\providecommand{\Alt}{\grave}
\providecommand{\urate}{\ensuremath{\mho}}
\providecommand{\erate}{\ensuremath{\cancel{\mho}}}
\providecommand{\unins}{\ensuremath{\zeta}}
\providecommand{\Labor}{\mathrm{L}}
\providecommand{\Labor}{\ell}
\providecommand{\EEndMap}{\ensuremath{\mathsf{E}}}
\providecommand{\TMap}{\mathscr{T}}
\providecommand{\CEndFunc}{\ensuremath{\mathfrak{C}}}
\providecommand{\cEndFunc}{\ensuremath{\mathfrak{c}}}