-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmacros.tex
106 lines (94 loc) · 3.25 KB
/
macros.tex
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
\usepackage{mathrsfs, fullpage, amsmath, amssymb, graphicx, xcolor, tikz}
\renewcommand{\phi}{\varphi}
\renewcommand{\epsilon}{\varepsilon}
\renewcommand{\hat}{\widehat}
\renewcommand{\tilde}{\widetilde}
\renewcommand{\bar}{\overline}
\newcommand{\bx}{\boldsymbol{x}}
\newcommand{\by}{\boldsymbol{y}}
\newcommand{\cA}{\mathscr{A}}
\newcommand{\cB}{\mathscr{B}}
\newcommand{\cC}{\mathscr{C}}
\newcommand{\cD}{\mathscr{D}}
\newcommand{\cF}{\mathscr{F}}
\newcommand{\cG}{\mathscr{G}}
\newcommand{\cL}{\mathscr{L}}
\newcommand{\cN}{\mathscr{N}}
\newcommand{\cO}{\mathscr{O}}
\newcommand{\cP}{\mathscr{P}}
\newcommand{\cX}{\mathscr{X}}
\newcommand{\cY}{\mathscr{Y}}
\newcommand{\PP}{\mathbb{P}}
\newcommand{\RR}{\mathbb{R}}
\newcommand{\ZZ}{\mathbb{Z}}
\newcommand{\lra}{\longrightarrow}
\newcommand{\One}{\mathbf{1}}
\newcommand{\blank}{\,\cdot\,}
\newcommand{\vpi}{\boldsymbol{\pi}}
\newcommand{\vtheta}{\boldsymbol{\theta}}
\newcommand{\vzero}{\boldsymbol{0}}
\newcommand{\va}{\boldsymbol{a}}
\newcommand{\vb}{\boldsymbol{b}}
\newcommand{\ve}{\boldsymbol{e}}
\newcommand{\vf}{\boldsymbol{f}}
\newcommand{\vg}{\boldsymbol{g}}
\newcommand{\vu}{\boldsymbol{u}}
\newcommand{\vv}{\boldsymbol{v}}
\newcommand{\vw}{\boldsymbol{w}}
\newcommand{\vx}{\boldsymbol{x}}
\newcommand{\vy}{\boldsymbol{y}}
\newcommand{\vz}{\boldsymbol{z}}
\newcommand{\vU}{\boldsymbol{U}}
\newcommand{\vV}{\boldsymbol{V}}
\newcommand{\vW}{\boldsymbol{W}}
\newcommand{\vX}{\boldsymbol{X}}
\newcommand{\vY}{\boldsymbol{Y}}
\newcommand{\vZ}{\boldsymbol{Z}}
\newcommand{\xhat}{\hat{x}}
\newcommand{\yhat}{\hat{y}}
\newcommand{\bxhat}{\hat{\bx}}
\newcommand{\byhat}{\hat{\by}}
\newcommand{\betahat}{\hat{\beta}}
\newcommand{\iid}{i.i.d.\ }
\newcommand{\simiid}{\overset{\text{\textsc{IID}}}\sim}
\DeclareMathOperator{\CV}{CV}
\DeclareMathOperator{\softmax}{softmax}
\DeclareMathOperator{\rank}{rank}
\DeclareMathOperator{\diag}{diag}
\DeclareMathOperator{\expit}{expit}
\DeclareMathOperator{\logit}{logit}
\DeclareMathOperator{\Prob}{Prob}
\DeclareMathOperator{\Bias}{Bias}
\DeclareMathOperator{\EE}{\mathbb{E}}
\DeclareMathOperator{\EPE}{EPE}
\DeclareMathOperator{\Cov}{Cov}
\DeclareMathOperator{\cov}{cov}
\DeclareMathOperator{\Var}{Var}
\DeclareMathOperator{\Mult}{Mult}
\DeclareMathOperator{\Ber}{Ber}
\DeclareMathOperator{\var}{var}
\DeclareMathOperator{\mean}{mean}
\DeclareMathOperator{\MSE}{MSE}
\DeclareMathOperator{\SSE}{SSE}
\DeclareMathOperator{\ESS}{ESS}
\DeclareMathOperator{\RSS}{RSS}
\DeclareMathOperator{\TSS}{TSS}
\DeclareMathOperator*{\argmin}{argmin}
\DeclareMathOperator*{\argmax}{argmax}
\DeclareMathOperator{\Argmin}{\mathop{\argmin}}
\DeclareMathOperator{\Argmax}{\mathop{\argmax}}
\newtheorem{theorem}{Theorem}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{thmdef}[theorem]{Theorem-Definition}
\newtheorem{definition}[theorem]{Definition}
\theoremstyle{remark}
\newtheorem{remark}[theorem]{Remark}
\newtheorem{example}[theorem]{Example}
\setlength\parskip{0.5em}
\setlength\parindent{0em}
\definecolor{orange}{HTML}{FF7F0E}
\definecolor{green}{HTML}{2CA02C}
\definecolor{blue}{HTML}{1F77B4}
\DeclareRobustCommand\orangeline{\raisebox{0.5ex}{\tikz \draw[orange, thick] (1, 0) -- (0.5, 0);}}
\DeclareRobustCommand\blueline{\raisebox{0.5ex}{\tikz \draw[blue, thick] (1, 0) -- (0.5, 0);}}