
\usepackage{amsfonts}
\usepackage{latexsym}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{parskip}
\usepackage[round]{natbib}
\usepackage{amstext}
\usepackage{amsmath}
\usepackage{hyperref}
\usepackage[utf8]{inputenc}

\newcommand{\Z}{\mathbf{Z}}
\newcommand{\A}{\mathbf{A}}
\newcommand{\X}{\mathbf{X}}
\newcommand{\Y}{\mathbf{Y}}
\newcommand{\Cor}{\mathbf{R}}
\newcommand{\cov}{\text{cov}}
\newcommand{\K}{\mathbf{K}}
\newcommand{\m}{\mathbf{m}}
\newcommand{\uu}{\mathbf{u}}
\renewcommand{\S}{\mathbf{S}}
\newcommand{\D}{\mathbf{D}}
\newcommand{\Obs}{\mathbf{O}}
\newcommand{\R}{\mathbb{R} }
\newcommand{\C}{\mathbf{C}}
\newcommand{\E}{\mathbb{E}}
\newcommand{\V}{\mathbb{V}}
\newcommand{\N}{\mathcal{N}}
\newcommand{\AN}{\mathcal{AN}}
\newcommand{\T}{\mathbf{T}}
\renewcommand{\tt}{\mathbf{t}}
\newcommand{\F}{\mathcal{F}}
\newcommand{\M}{\mathcal{M}}
\newcommand{\abs}{\text{abs}}
\newcommand{\diag}{\text{diag}}
\newcommand{\df}{\text{df}}
\newcommand{\Rg}{\text{Rank}}
\newcommand{\Prob}{\mathbb{P}}
\newcommand{\cL}{\stackrel{d}{\longrightarrow}}
\newcommand{\cP}{\stackrel{\mathbb{P}}{\longrightarrow}}
\newcommand{\an}{\stackrel{a}{\sim}}
\newcommand{\Sraw}{\S_n}
\newcommand{\Sigmaraw}{\Sigma}
\newcommand{\SK}{\S^\star_n}
\newcommand{\SigmaK}{\Sigma^\star}


\newcommand{\Rpackage}[1]{{\normalfont\fontseries{b}\selectfont #1}}
\newcommand{\Robject}[1]{\texttt{#1}}
\newcommand{\Rclass}[1]{\textit{#1}}
\newcommand{\Rcmd}[1]{\texttt{#1}}
\newcommand{\Roperator}[1]{\texttt{#1}}
\newcommand{\Rarg}[1]{\texttt{#1}}
\newcommand{\Rlevel}[1]{\texttt{#1}}

\newcommand{\RR}{\textsf{R}}
\renewcommand{\S}{\textsf{S}}

\RequirePackage[T1]{fontenc}
\RequirePackage{graphicx,ae,fancyvrb}
\IfFileExists{upquote.sty}{\RequirePackage{upquote}}{}
%\usepackage{relsize}

%\DefineVerbatimEnvironment{Sinput}{Verbatim}{baselinestretch=1.05}
%\DefineVerbatimEnvironment{Soutput}{Verbatim}{fontfamily=courier,
%                                              baselinestretch=1.05,
%                                              fontshape=it,
%                                              fontsize=\relsize{-1}}
%\DefineVerbatimEnvironment{Scode}{Verbatim}{}  
%\newenvironment{Schunk}{}{}
