-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefs.tex
More file actions
118 lines (111 loc) · 3.31 KB
/
defs.tex
File metadata and controls
118 lines (111 loc) · 3.31 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
\usepackage{mathabx,mathrsfs,eucal,bbm,amsmath,amssymb,mathtools,accents}
\definecolor{maize}{rgb}{1.0,0.796,0.020}
\definecolor{darkblue}{rgb}{0,0.153,0.298}
\definecolor{purple}{rgb}{0.518,0.082,0.765}
\definecolor{darkgreen}{rgb}{0,0.392,0}
\definecolor{royalblue}{rgb}{0.263,0.431,0.933}
\newenvironment{mathsize}[2]{\fontsize{#1}{#2}\selectfont}{\normalfont}
\newcommand\eps{\varepsilon}
\newcommand\Set[1]{\left\{{#1}\right\}}
\newcommand\CondSet[2]{\left\{{#1}\;\middle\vert\;{#2}\right\}}
\newcommand\Prob[1]{\mathsf{Prob}\left[{#1}\right]}
\newcommand\CondProb[2]{\mathsf{Prob}\left[{#1}\;\middle\vert\;{#2}\right]}
\newcommand\Expect[1]{\mathbbm{E}\left[{#1}\right]}
\newcommand\CondExpect[2]{\mathbbm{E}\left[{#1}\;\middle\vert\;{#2}\right]}
\newcommand\indicator[1]{\mathbbm{1}_{{#1}}}
\newcommand\Indicator[1]{\mathbbm{1}\{{#1}\}}
\newcommand\lik{\mathcal{L}}
\newcommand\loglik{\log{\lik}}
\newcommand{\code}[1]{\texttt{#1}}
\newcommand{\pkg}[1]{\texttt{\textbf{#1}}}
\newcommand{\dd}{\mathrm{d}}
\newcommand{\halfopen}[1]{\left[{#1}\right)}
\newcommand{\halfclosed}[1]{\left({#1}\right]}
\newcommand{\transpose}{\top}
\newcommand{\scinot}[2]{#1{\times}10^{#2}}
%% \newcommand{\restrict}[2]{{#1}\vert_{#2}}
%% \newcommand{\opnorm}[1]{%
%% {\left\vert\kern-0.25ex\left\vert\kern-0.25ex\left\vert{#1}%
%% \right\vert\kern-0.25ex\right\vert\kern-0.25ex\right\vert}%
%% }
\newcommand\leftlim[1]{\widetilde{#1}}
\newcommand\rightlim[1]{\undertilde{#1}}
\newcommand\rdm[1]{\boldsymbol{#1}}
\newcommand\spc[1]{\mathbb{#1}}
\newcommand\func[1]{\mathsf{#1}}
\newcommand\lab[1]{\mathsf{#1}}
\def\emptyset{\varnothing}
\def\preceq{\preccurlyeq}
\def\cadlag{{c\`adl\`ag}}
\def\caglad{{c\`agl\`ad}}
\def\Xspace{\spc{X}}
\def\Jumps{\spc{U}}
\def\Demes{\spc{D}}
\def\Demesplus{\overline{\spc{D}}}
\def\Yspace{\spc{Y}}
\def\Zp{\spc{Z}_{+}}
\def\R{\spc{R}}
\def\Rp{\spc{R}_{+}}
\def\ie{{i.e.,} }
\def\eg{{e.g.,} }
\def\cf{{cf.}~}
\def\st{\text{s.t.}}
\def\prune{\func{prune}}
\def\obs{\func{obs}}
\def\leaves{\mathbb{L}}
\def\partit{\func{partit}}
\def\time{\func{t}}
\def\X{\mathrm{X}}
\def\Xr{\rdm{\X}}
\def\Xt{\leftlim{\X}}
\def\Xrt{\leftlim{\Xr}}
\def\Xh{\hat{\X}}
\def\Xrh{\rdm{\hat{\X}}}
\def\U{\mathrm{U}}
\def\Ur{\rdm{\U}}
\def\Ut{\leftlim{\U}}
\def\Urt{\leftlim{\Ur}}
\def\Uh{\hat{\U}}
\def\Urh{\rdm{\hat{\U}}}
\def\T{\mathrm{T}}
\def\Th{\mathrm{\hat{\T}}}
\def\Trh{\rdm{\hat{\T}}}
\def\K{\mathrm{K}}
\def\Kr{\rdm{\K}}
\def\H{\mathrm{H}}
\def\Hr{\rdm{\H}}
\def\G{\mathrm{G}}
\def\Gr{\rdm{\G}}
\def\Gh{\hat{\G}}
\def\Grh{\rdm{\Gh}}
\def\y{\mathrm{y}}
\def\yr{\rdm{\y}}
\def\yrh{\rdm{\hat{\y}}}
\def\yt{\leftlim{\y}}
\def\yrt{\leftlim{\yr}}
\def\P{\mathrm{P}}
\def\Pr{\rdm{\P}}
\def\Y{\mathrm{Y}}
\def\Yr{\rdm{\Y}}
\def\Yt{\leftlim{\Y}}
\def\Yrt{\leftlim{\Yr}}
\def\Yh{\hat{\Y}}
\def\Yrh{\rdm{\hat{\Y}}}
\def\Z{\mathrm{Z}}
\def\Zr{\rdm{\Z}}
\def\Zt{\leftlim{\Z}}
\def\Zrt{\leftlim{\Zr}}
\def\Zh{\hat{\Z}}
\def\Zrh{\rdm{\hat{\Z}}}
\def\Phir{\rdm{\Phi}}
\def\Phit{\leftlim{\Phi}}
\def\Phirt{\leftlim{\Phir}}
\def\Philt{\rightlim{\Phir}}
\def\Phih{\hat{\Phi}}
\def\Phirh{\rdm{\hat{\Phi}}}
\def\Vr{\rdm{\mathrm{V}}}
\def\ut{\leftlim{u}}
\def\wt{\leftlim{w}}
\renewcommand\binom[2]{{\scriptscriptstyle\begin{pmatrix}{#1}\\{#2}\end{pmatrix}}}
\newcommand\BinRatio[4]{{\scriptscriptstyle\begin{pmatrix}{#1}&{#2}\\{#3}&{#4}\end{pmatrix}}}
\newcommand\event[1]{\func{ev}({#1})}