
%%%%%%%%%Packages%%%%%%%%%%%%%%%
\usepackage{amsmath}
\usepackage{mathtools}
\usepackage{amsthm}
\usepackage{amssymb}
\usepackage{thmtools, thm-restate}


%%%%%%%%%%%% MATH FORMATTING %%%%%%%%%%%%%%%%%%%%%
%Helpful bits
\newcommand{\bb}[1]{\mathbb{#1}}
\newcommand{\bx}[2]{\beta_{#1}(d_i) \times #2}
\newcommand{\bxi}[3]{\beta_{#1}(d_i) \times I_{#2}(#3)}
\newcommand{\arcsinh}{\text{arcsinh}}

%Derivatives etc.
\newcommand{\parder}[3]{\ensuremath{ \frac{\partial^{#3} #1}{\partial #2~^{#3}}}}
\newcommand{\der}[3]{\ensuremath{ \frac{d^{#3} #1}{d #2~^{#3}}}}

%Math Operators
\DeclareMathOperator{\argmax}{argmax}
\DeclareMathOperator{\argmin}{argmin}
\newcommand{\pr}[1]{\ensuremath{\text{Pr}\left( #1 \right)}}
