%\documentclass[t,mathserif]{beamer}
\documentclass[t]{beamer}
\usepackage{beamerthemesplit,graphicx,amsmath,amsfonts,enumerate,psfrag,xspace,ifthen,verbatim,version,wrapfig}
\usepackage{ulem}
\usetheme{Madrid}
\pagestyle{empty}
\usepackage{pgfpages}
\graphicspath{{figures/}}
\newcommand{\notes}{\pgfpagesuselayout{4 on 1}[a4paper,border
  shrink=10mm,landscape]
  \pgfpageslogicalpageoptions{1}{center=\pgfpoint{.3\pgfphysicalwidth}{.72\pgfphysicalheight}}
  \pgfpageslogicalpageoptions{3}{center=\pgfpoint{.7\pgfphysicalwidth}{.72\pgfphysicalheight}}
  \pgfpageslogicalpageoptions{2}{center=\pgfpoint{.3\pgfphysicalwidth}{.28\pgfphysicalheight}}
  \pgfpageslogicalpageoptions{4}{center=\pgfpoint{.7\pgfphysicalwidth}{.28\pgfphysicalheight}}}
%
\setcounter{section}{0}
\newcommand{\mysection}[1]{\section{#1}\setcounter{mydefcount}{0}\setcounter{myexamplecount}{0}\setcounter{equation}{0}\setcounter{table}{0}\setcounter{figure}{0}}
%
% No \mysubsection !!
\newcommand{\mysubsubsection}[2]{\begin{block}{#1}#2\end{block}}
%
\renewcommand{\theequation}{\thesection.\arabic{equation}}
\renewcommand{\thetable}{\thesection.\arabic{table}}
\renewcommand{\thefigure}{\thesection.\arabic{figure}}
\renewcommand{\thesubsection}{\thesection.\arabic{subsection}}
%
\newcounter{mydefcount}\newcounter{myexamplecount}
\newenvironment{myitemize}{\begin{list}{$\bullet$}{\setlength{\partopsep}{0pt}\setlength{\topsep}{0pt}}}{\end{list}}
\newenvironment{mydefinition}[1]{\refstepcounter{mydefcount}\begin{block}{Definition~\thesection.\arabic{mydefcount} #1}}{\end{block}}
\newenvironment{myexample}{\refstepcounter{myexamplecount}\begin{block}{Example~\thesection.\arabic{myexamplecount}}}{\end{block}}
\newenvironment{soln}[1]{\begin{block}{Solution}\bigskip {\LARGE $\ldots$} #1\bigskip}{\end{block}}
\newenvironment{ggap}[1]{\begin{block}{Solution (ctd)}\bigskip {\LARGE $\ldots$} #1\bigskip}{\end{block}}
%
\newcommand{\myPhi}{\mathrm{\Phi}}
\newcommand{\myI}{\mathit{I}}
\newcommand{\I}{\mathrm{I}}
\newcommand{\bigfrac}[2]{\frac{\displaystyle{#1}}{\displaystyle{#2}}}
\renewcommand{\vec}[1]{\boldsymbol{#1}}
%\renewcommand{\vec}[1]{\mathbf{#1}}
%\renewcommand{\vec}[1]{\underline{#1}}
\newcommand{\xvec}{\vec{x}}
\newcommand{\yvec}{\vec{y}}
\newcommand{\Xvec}{\vec{X}}
\newcommand{\Yvec}{\vec{Y}}
\newcommand{\Evec}{\vec{E}}
\newcommand{\tvec}{\vec{t}}
\newcommand{\Tvec}{\vec{T}}
\newcommand{\mutau}{\begin{pmatrix}\mu\\\tau\end{pmatrix}}
\newcommand{\betatau}{\begin{pmatrix}\betavec\\\tau\end{pmatrix}}
\newcommand{\Ystau}{\begin{pmatrix}Y^*\\\tau\end{pmatrix}}
\newcommand{\thetavec}{\vec{\theta}}
\newcommand{\phivec}{\vec{\phi}}
\newcommand{\betavec}{\vec{\beta}}
\newcommand{\thetavechat}{\vec{\hat\theta}}
\newcommand{\betavechat}{\vec{\hat\beta}}
\newcommand{\thetahat}{\hat\theta}
\newcommand{\eps}{\varepsilon}
\newcommand{\epsvec}{\vec{\eps}}
\newcommand{\xvece}{\vec{x}=(x_1,x_2,\ldots,x_n)^T}
\newcommand{\Xvece}{\vec{X}=(X_1,X_2,\ldots,X_n)^T}
\newcommand{\thetap}{\theta_1,\theta_2,\ldots,\theta_p}
\newcommand{\betavece}{\vec{\beta}=(\betap)^T}
\newcommand{\betap}{\beta_1,\beta_2,\ldots,\beta_p}
\newcommand{\thetavece}{\vec{\theta}=(\thetap)^T}
\newcommand{\exxvec}{$x_1,x_2,\ldots,x_n$\xspace}
\newcommand{\exxvecdot}{$x_1,x_2,\ldots,x_n$.\ }
\newcommand{\exXvec}{$X_1,X_2,\ldots,X_n$\ }
\newcommand{\R}[1]{\texttt{\color{red}{#1}}}
\newcommand{\bvec}{\vec{b}}
\newcommand{\Bvec}{\vec{B}}
\newcommand{\Xvecpe}{\vec{X}=(X_1,X_2,\ldots,X_p)^T}
\newcommand{\Yvecpe}{\vec{Y}=(Y_1,Y_2,\ldots,Y_p)^T}
\newcommand{\widebar}[1]{\overline{#1}}
\newcommand{\blue}[1]{\textcolor{blue}{#1}}
\newcommand{\diag}{\text{diag}}
\renewcommand{\d}{\phantom{1}}
%
\newcounter{slidecol}\setcounter{slidecol}{0}
\newcommand{\slidecolour}{\addtocounter{slidecol}{1}
\ifthenelse{\value{slidecol}=9}{\setcounter{slidecol}{1}}{}
\ifthenelse{\value{slidecol}=1 }{\setbeamercolor{structure}{fg=olive}}{}
\ifthenelse{\value{slidecol}=2 }{\setbeamercolor{structure}{fg=purple}}{}
\ifthenelse{\value{slidecol}=3 }{\setbeamercolor{structure}{fg=green}}{}
\ifthenelse{\value{slidecol}=4 }{\setbeamercolor{structure}{fg=magenta}}{}
\ifthenelse{\value{slidecol}=5 }{\setbeamercolor{structure}{fg=cyan}}{}
\ifthenelse{\value{slidecol}=6 }{\setbeamercolor{structure}{fg=orange}}{}
\ifthenelse{\value{slidecol}=7 }{\setbeamercolor{structure}{fg=blue}}{}
\ifthenelse{\value{slidecol}=8 }{\setbeamercolor{structure}{fg=red}}{}}
%\ifthenelse{\value{slidecol}=9 }{\setbeamercolor{structure}{fg=violet}}{}}
%\ifthenelse{\value{slidecol}=10}{\setbeamercolor{structure}{fg=teal}}{}}
%\ifthenelse{\value{slidecol}=11}{\setbeamercolor{structure}{fg=pink}}{}}
%\ifthenelse{\value{slidecol}=12}{\setbeamercolor{structure}{fg=lime}}{}}
%\ifthenelse{\value{slidecol}=13}{\setbeamercolor{structure}{fg=brown}}{}}
%\ifthenelse{\value{slidecol}=14}{\setbeamercolor{structure}{fg=yellow}}{}}
%
%\notes % need class[handout]
%
%\includeonly{slides1,slides2,slides3,slides4,slides5,slides6} 
% remember in final version to change out of [handbout] and to run without \includeonly!!!

\newcommand{\announce}{\setbeamercolor{structure}{fg=violet!40!black}}

\title[]{MAS3902: Bayesian Inference }

\vspace{2cm}

\author{Dr. Lee Fawcett\\
\textcolor{white}{Lee Fawcett} \\
\textit{\small School of Mathematics, Statistics \& Physics}}
\date{\scriptsize \bf Semester 2, 2023/24}

%\includeonly{slides1,slides2,slides3,slides4}

\begin{document}

\setbeamercovered{transparent=5}

\announce
\begin{frame}
\titlepage
\end{frame}

\frame{
\frametitle{Contact details}
\begin{center}
\begin{tabular}{r l}	
\textbf{My name:}		&	Lee Fawcett			\\
				&					\\
\textbf{My role:}		&Reader and Associate Dean		\\
				&					\\
\textbf{Office:}		&	Room 2.07 Herschel Building	\\
				&					\\
\textbf{Phone:}			&	0191 208 7228			\\
				&					\\
\textbf{Email:}			&	\texttt{lee.fawcett@ncl.ac.uk}	\\
				&					\\
\textbf{www:}			&	\texttt{www.mas.ncl.ac.uk/$\sim$nlf8}	\\
\end{tabular}
\end{center}
}

\frame{
\frametitle{What do I do?}
\begin{itemize}
\item Teaching
\begin{itemize}
\item [--] Bayesian Statistics: MAS2903, MAS3902 \pause
\item [--] Statistical Computing: MAS1608, MAS2906 \pause
\item [--] Environmental Extremes: MAS3918, MAS8954, MAS8391 \pause
\item [--] Global Opportunities: ISY3000, MAS3092 \pause
\end{itemize} \pause

\vspace{0.2cm}

\item Research
\begin{itemize}
\item [--] Environmental Extremes \pause
\item [--] Bayesian Inference \pause
\item [--] Statistics and Road Safety \pause
\item [--] Technological Innovations in Statistics Education \pause
\end{itemize}

\vspace{0.2cm}

\item Global
\begin{itemize}
\item [--] Student Mobility: Study Abroad, Field Trips
\item [--] Student Recruitment: Europe, India, China 
\end{itemize}
\end{itemize}
}


\begin{frame}
\frametitle{Timetable and Administrative arrangements}
\begin{itemize}
\item \textbf{Classes} take place on Mondays (2pm), Tuesdays (11am), Thursdays (2pm) and Fridays (12pm):

\begin{itemize}
\item [--] \textcolor{blue}{\bf Monday and Tuesday classes} - weekly lectures in Herschel LT2
\item [--] \textcolor{blue}{\bf Thursday class} -- occasional computer labs (teaching weeks 6, 8 and 10) in the Herschel PC cluster
\item [--] \textcolor{blue}{\bf Friday class} -- fortnightly problems class (starting teaching week 1) in Herschel LT2; occasionally used as an extra lecture
\end{itemize} \pause

\vspace{0.2cm}

\item \textbf{Office hours} will be scheduled soon, but just come along and give me a knock!
\end{itemize}
\end{frame}


\begin{frame}
\frametitle{Assessment}
Assessment is by:
\begin{itemize}
\item 2-hour end-of-semester exam in May/June (\textbf{80\%})
\pause

\vspace{0.2cm}

\item In course assessment (\textbf{20\%}), comprising four short written assignments:

\begin{center}
\begin{tabular}{|c|c|c|} \hline
Date set		&Deadline 		&Marks/weighting\\ \hline
Friday 9th February	&4pm, Friday 23rd February &20/5\% \\
Friday 23rd February	&4pm, Friday 8th March		&20/5\% \\
Friday 8th March	&4pm, Friday 22nd March &30/5\% \\
Friday 22nd March	&4pm, Friday 3rd May	&20/5\% \\ \hline
\end{tabular}
\end{center}
\end{itemize}     

\end{frame}

\frame{
\frametitle{Recommended textbooks} 
\begin{itemize}
\item ``\textit{Bayes' Rule: A Tutorial Introduction to Bayesian Analysis}'' - James Stone
\item ``\textit{Doing Bayesian Data Analysis: A Tutorial with R, JAGS, and Stan}'' - John Krushke
\item ``\textit{Bayesian Statistics: An Introduction}'' - Peter Lee
\end{itemize}
``Bayes' rule'' is a good introduction to the main concepts in Bayesian statistics but doesn't cover everything in this course.
The other books are broader references which go well beyond the contents of this course.
}

\frame{
\frametitle{Other stuff}
\begin{itemize}
\item Notes (with gaps) will be available for use in lectures -- you can fill in the gaps during lectures
\pause

\vspace{0.2cm}

\item A (very!) summarised version of the notes will be used in lectures as slides
\pause


\vspace{0.2cm}

\item These notes and slides will be posted on the course Canvas page after each topic is finished, along with any other course material -- such as problems sheets, model solutions to assignment questions, supplementary handouts etc.   
\end{itemize}
}


\frame{

\vspace{1cm}

\huge
\textbf{Chapter 1}

\vspace{1cm}

\Large
\textbf{Single parameter problems}

}


\include{slides1_2023}
\include{slides2}
\include{slides3}
\include{slides4_2024}
%\include{slides5}
%\include{slides6}
%\include{ex}
%\include{project}
\end{document}
