\usepackage{amsmath}
%\usepackage{amsthm}
\usepackage{amssymb}
%\usepackage{../latex/my_base}

\newcommand {\E}{\text{E}}
\newcommand {\Var}{\text{Var}}
\newcommand {\Cov}{\text{Cov}}

\newcommand {\bX}{\wbar{X}}
\newcommand {\bY}{\wbar{Y}}
\newcommand {\bx}{\wbar{x}}
\newcommand {\by}{\wbar{y}}

\newcommand {\x}{\V{x}}
\newcommand {\X}{\V{X}}
\newcommand {\y}{\V{y}}
\newcommand {\Y}{\V{Y}}

\newcommand{\p}[2]{p\br{\,#1\,|\,#2\,}}
\newcommand{\pw}[2]{p\br{\;#1\;|\;#2\;}}
\newcommand{\lik}{\ell}

\newcommand{\Gamm}[1]{\Gamma\br{#1}}

\newcommand{\gauss}[3]{e^{-(#1 - #2)^2/2 #3 ^2}}
\newcommand{\Gauss}[3]{\exp\br{-\:\fr{\br{#1 - #2}^2}{2 #3 ^2}}}
\newcommand{\gau}[3]{e^{-(#1 - #2)^2/2 #3}}
\newcommand{\Gau}[3]{\exp\br{-\:\fr{\br{#1 - #2}^2}{2 #3}}}
\newcommand{\gaussf}[1]{\ovr{\sqrt{2\pi #1^2}}}
\newcommand{\gauf}[1]{\ovr{\sqrt{2\pi #1}}}

\newcommand{\gam}[3]{#1^{#2-1}e^{-#1/#3}}
\newcommand{\gamf}[2]{\ovr{\Gamm{#1} #2^{#1}}}

\newcommand{\bet}[3]{#1^{#2-1}\br{1-#1}^{#3-1}}
\newcommand{\betf}[2]{\fr{\Gamm{#1+#2}}{\Gamm{#1}\Gamm{#2}}}

\newcommand{\Chisq}[2]{#1^{\br{#2/2}-1} e^{-#1/2}}
\newcommand{\Chisqf}[1]{\ovr{\Gamm{#1/2}\,2^{#1/2}}}

