-
Notifications
You must be signed in to change notification settings - Fork 0
/
mymacros.sty
80 lines (71 loc) · 2.23 KB
/
mymacros.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
\newcommand{\todo}[1]{\textcolor{red}{[ #1 ]}}
\newcommand{\e}{\mathbb{E}}
\newcommand{\p}{\mathbb{P}}
\newcommand{\beps}{\boldsymbol{\varepsilon}}
\newcommand{\bpi}{\boldsymbol{\pi}}
\newcommand{\bbeta}{\boldsymbol{\beta}}
\newcommand{\btheta}{\boldsymbol{\theta}}
\newcommand{\eps}{\varepsilon}
\newcommand{\n}{\mathcal{N}}
\newcommand{\fn}{\footnote}
\newcommand{\ci}{\cite}
\newcommand{\wh}{\widehat}
\newcommand{\cov}{\mathrm{cov}}
\newcommand{\cor}{\mathrm{cor}}
\newcommand{\var}{\mathrm{var}}
\newcommand{\mse}{\mathrm{MSE}}
\newcommand{\sd}{\mathrm{sd}}
\newcommand{\diag}{\mathrm{diag}}
\newcommand{\tr}{\mathrm{tr}}
\newcommand{\vol}{\mathrm{vol}}
\newcommand{\mbone}{{\mathbf{1}}}
\newcommand{\mbonen}{\mbone_n}
\newcommand{\mbzero}{{\mathbf{0}}}
\newcommand{\mbzeron}{\mbzero_n}
\newcommand{\Gn}{\mathcal{G}_n}
\newcommand{\G}{\mathcal{G}}
\newcommand{\V}{\mathcal{V}}
\newcommand{\E}{\mathcal{E}}
\newcommand{\bigo}{\mathcal{O}}
\newcommand{\bY}{\mathbf{Y}}
\newcommand{\bZ}{\mathbf{Z}}
\newcommand{\bx}{\mathbf{x}}
\newcommand{\bX}{\mathbf{X}}
\newcommand{\bv}{\mathbf{v}}
\newcommand{\ck}{{\cal K}}
\newcommand{\sumdot}{{\text{\tiny$\bullet$}}}
\newcommand{\wt}{\widetilde}
\newcommand{\indicator}{{\mathds{1}}}
\newcommand{\xbar}{\overline{X}}
\newcommand{\ybar}{\overline{Y}}
\newcommand{\yhat}{\widehat{Y}}
\newcommand{\bxbar}{\overline{\mathbf{X}}}
\newcommand{\Xij}{X_{i,j}}
\newcommand{\Yij}{Y_{i,j}}
\newcommand{\fil}{\mathcal{F}}
\newcommand{\gcal}{\mathcal{G}}
\newcommand{\hcal}{\mathcal{H}}
\newcommand{\jcal}{\mathcal{J}}
\newcommand{\pcal}{\mathcal{P}}
\newcommand{\ecal}{\mathcal{E}}
\newcommand{\bcal}{\mathcal{B}}
\newcommand{\ical}{\mathcal{I}}
\newcommand{\scal}{\mathcal{S}}
\newcommand{\ncal}{\mathcal{N}}
\newcommand{\lcal}{\mathcal{L}}
\newcommand{\kcal}{\mathcal{K}}
\newcommand{\acal}{\mathcal{A}}
\newcommand{\mcal}{\mathcal{M}}
\newcommand{\rcal}{\mathcal{R}}
\newcommand{\tcal}{\mathcal{T}}
%theorem style
\newtheorem{thm}{Theorem}
\newtheorem{cond}[thm]{Condition}
\newtheorem{defi}[thm]{Definition}
\newtheorem{algo}[thm]{Algorithm}
\newtheorem{prop}[thm]{Proposition}
\newtheorem{corollary}[thm]{Corollary}
\newtheorem{lem}[thm]{Lemma}
\newtheorem{rem}[thm]{Remark}
\newtheorem{ex}[thm]{Example}
\newtheorem{ass}[thm]{Assumption}