%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % LaTeX template for chapters in Handbook of Markov Chain Monte Carlo % % You can rename this file ``chaptertitle.tex'' where % chaptertitle is the title of your assigned chapter. Then % insert the content of your chapter as indicated below! % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Include packages using the \usepackage command. PLEASE DO NOT USE % ``UNUSUAL'' PACKAGES. If you do use a particular package, please % submit it to us with your chapter. % If you do not have some packages, e.g., graphicx for importing graphics, % these can likely be found at the CTAN website https://www.ctan.org (CTAN % is the Comprehensive TeX Archive Network). \documentclass{book} \usepackage{makeidx,epsfig} \usepackage{amsthm,amsmath,amssymb} \usepackage{setspace,graphicx} \usepackage{Generic} \usepackage[sort,longnamesfirst]{natbib} \newcommand{\pcite}[1]{\citeauthor{#1}'s \citeyearpar{#1}} % TO HEAD OFF CONFLICTS ACROSS CHAPTERS IN THE COMPILATION OF THE % ENTIRE BOOK, we would be grateful if you would MINIMIZE your use of % USER-DEFINED COMMANDS (\newcommand, \def, etc). If you must define % a few such commands, please do this here, listing ONLY commands that % are ACTUALLY USED in your chapter. Try to limit to things that are % very complex only, and try to name your commands in such a way that % it would be unlikely that another author would use a similar name. % If you have an external file containing your commands, please cut % and past it here. Example: % \newcommand{\tk}{P^{n} (x, dy)} \numberwithin{equation}{section} \theoremstyle{plain} \newtheorem{thm}{Theorem}[section] \begin{document} \begin{doublespace} % The chapter command will create the title heading for your chapter % % Put the title in the braces { } and put a short ``running head'' % version of the title (an abbreviated version of the title) to % appear at the top of the left hand pages in the brackets % NOTE: only the first word in the title starts with a capital letter! % Same for the short title \chapter[Running title]{The title of this chapter} % Put the author names here, with commas in between, using ``and'' % not ``&'' \begin{center} \begin{large} {\em Stephen P. Brooks, Andrew Gelman, Galin L. Jones and Xiao-Li Meng} \end{large} \end{center} % Please follow the directions given in the text below for how % to format elements of your chapter, such as section headings \section{Introduction} \label{s:intro} Please use cross-referencing, labeling all sections, equations, tables, and figures using the \verb+\label+, \verb+\ref+ and \verb+\eqref+ commands. Please number displayed equations only if they are referenced elsewhere. \section{Next section} \label{s:next} Note that only the first word of section headings is capitalized. \subsection{A subsection} \label{ss:sub1} Note that only the first word of subsection headings is capitalized. Please place tables and figures at the end of the document on separate pages. But you should indicate where they are to be placed in the text. That is, near where they are first referenced in the text or on a subsequent page (but not on a page preceding that on which they are first referenced). For example, here we are citing Table~\ref{t:estimates}. Note how the table appears on page~\pageref{t:estimates}, but in the final version we want it right about here: \begin{center} Table 1 near here. \end{center} See the \LaTeX\ source code for this document to see how to format and import a figure. Please use the ``tt'' font when referring to software For example, a reference to an R function would look like this: \texttt{mcmc}. Only refer to a website if it is something that will be there for the indefinite future; for example, the CRAN website. Again, URLs should use the ``tt'' font, so for example: \texttt{https://www.cran.r-project.org/}. \subsection{References} \label{ss:sub2} This file uses BibTex to generate references. See the source code for how to cite references in the text if you are unfamiliar with BibTeX. For example, you might want to do one of the following things \begin{enumerate} \item[] \citet{Ande:Broo:Hans:baye:2003} \item[] \citet{Broo:mcmc:1998} \item[] \citep{Broo:baye:1999,Broo:mcmc:1998} \item[] \pcite{Broo:baye:1999} \item[] \pcite{Jone:Hara:Caff:Neat:fixe:2006} \item[] \citet{Crai:Meng:mult:2005,Gelm:Pard:baye:2006,Broo:baye:1999} \item[] \citep{Crai:Meng:mult:2005,Gelm:Pard:baye:2006,Broo:baye:1999} \end{enumerate} \subsection{Theorems} \label{ss:sub3} \begin{thm} \label{thm:trig} $\sin^{2} \theta + \cos^{2} \theta = 1$ \end{thm} \begin{proof} Here is how it goes\ldots \end{proof} % If you want to add acknowledgments, you can do it % in a section like this. \section*{Acknowledgments} This work was supported by NSF grant... The author would like to thank\ldots \bibliographystyle{apalike} \bibliography{sample_ref} \newpage % Here is an example of coding of a table. Note that the caption goes % ABOVE the table. Also note that the table has a label for cross- % referencing. \begin{table} \caption{\label{t:estimates}Estimated posterior quantities and Monte Carlo standard errors from MCMC output.} \begin{center} \begin{small} \begin{tabular}{ccc} \hline \multicolumn{1}{c}{} & \multicolumn{1}{c}{} & \multicolumn{1}{c}{Monte Carlo} \\ \multicolumn{1}{c}{Parameter} & \multicolumn{1}{c}{Estimate} & \multicolumn{1}{c}{Standard Error} \\ \hline $E(\theta | y)$ & 0.123 & 0.001 \\ $E(\theta^{2} | y)$ & 0.246 & 0.002 \\ \hline \end{tabular} \end{small} \end{center} \end{table} % Here is an example of coding to import a figure using graphicx. Note % that the caption goes BELOW the figure. Also note that the figure has % a label for cross-referencing. \begin{figure}\label{fig:trace} \begin{center} \rotatebox{0}{\includegraphics[height=5in,width=5in]{metrop_cauchy.ps}} \caption{A trace plot of the history of 3 Markov chains.} \end{center} \end{figure} \end{doublespace} \end{document}