%% sjs.tex 0.1   2019-08-11    sjs latex template
%------------------------------------------------------------------
% Filename: sjs_template.tex
%
% This file is intended as a template for typesetting articles for the
%
%               Spanish Journal of Statistics
%
% Please edit this template to generate your own formatted manuscripts
% for submission to SJS. See http://www.ine.es for further details.
%


%%% SJS checks in typesetting
%%% * All titles and sections lower case *EXCEPT short title  [ ]
%%% * Remove author postal addresses, only have geographic places and institutions [ ]
%%% * Consistent use of Section, Figure, Table (capitalized and in full) [ ]
%%% * 10 keywords (and all lower case) [ ]
%%% * Remove all avoidable footnotes [ ]
%%% * Use double quotation marks (``'' not "" or `') [ ]
%%% * Punctuation inside quotations [ ]
%%% * E.g. and i.e. followed by comma [ ]
%%% * cf. followed by tilde [ ]
%%% * Itemize and enumerate correctly punctuated [e.g., "1. x, 2. y, and 3. x." ]
%%% * And/or lists using American English punctuation (e.g., "x, y, and z") [ ]
%%% * Bibliography (e.g., en-dashes for number ranges, consistent "Proc.~" for Proceedings of..., etc.) []
%%% * Acknowledgment style use section* [ ]
%%% * et al. no italics, but with dot  [ ]
%%% * All captions end with full stop  [ ]
%%% * Table captions under, not over table  [ ]
%%% * Adjust urls with burlalt [ ]
%%% * Check correct use of hyphens, emdashes, endashes  [ ]
%%% * Perform spell check  [ ]

%%% SJS checks directly before publication
%%% Check DOI, page numbers on article and web site. [ ]
%%% Update web site with final title, abstract, keywords. [ ]
%%% Build with distiller for DOI links. [ ]


% Required documentclass definition for SJS
\documentclass{sjs}

\usepackage{sjs_style}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%  DO NOT FILL IN  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Article details for accepted manuscripts will be added by editorial staff
\sjsdetails{%
   articletype = {Regular Article},
   volume=66 , issue=198 , year=2019 , firstpage=1 , lastpage=6 ,
   doi={10.5311/SJS.YYYY.II.NNN},
   received={December 24, 2015},
   returned={February 25, 2016},
   revised={July 13, 2016},
   accepted={September 5, 2016}, }



% Document begins
\begin{document}

% The page number will be set by the editorial staff
%\setcounter{page}{33}


% Insert your own title
\title{Long Title for SJS Article}
\runningtitle{Short Title}


% Insert your manuscript authors and affiliations
\author{John Doe}\affil{University of Flatland, john.doe@flatlanduniversity.edu}
\author{Jane Doe}\affil{National Statistical Office of Flatland, jane.doe@flatlandnsi.gov}
\runningauthor{J. Doe and J. Doe}

\maketitle

% Add 5-10 keywords for every submission
\keywords{keyword1, keyword2, keyword3, \dots, keyword10}

% Add up to 4 MSC codes
\MSC{60E05, 62P99}

% Add a short abstract of 150-250 words
\begin{abstract}
Add your article abstract here, up to $250$ words.
\end{abstract}

% Your main text begins here.
\section{Introduction}

This template provides a guide to formatting articles for submission to the Spanish Journal of Statistics (SJS), accessible at \burl{http://www.ine.es}. When preparing an article for submission, please follow this template closely. This journal supersedes and continues the former publication Revista Estad\'{\i}stica Espa\~{n}ola in the same URL (\burl{http://www.ine.es}).


\section{Author guidelines}

\subsection{Manuscript submission}
The Spanish Journal of Statistics (SJS) publishes original papers in the theory and applications of Statistics. A PDF electronic version of the manuscript should be submitted to Jos\'{e} Mar\'{\i}a Sarabia, Editor-in-chief of SJS via email to \textrm{sjs@ine.es}.\\

Submissions will only be considered in English. Manuscripts must be original contributions which are not under consideration for publication anywhere else. Its contents have been approved by all authors. A single-blind refereeing system is used, so the identity of the referees is not communicated to the authors. Manuscripts that exceed $30$ journal pages are unlikely to be considered for publication.

\subsection{Manuscript preparation}
Manuscripts must be written in English in a clear, direct, and active style. All pages must be numbered sequentially. The manuscript should be submitted as a PDF file based on this \LaTeX\ template. Upon final acceptance, the tex source file and auxiliary files will be requested to the authors.

\subsection{Title}
The title should be concise, and must not be more than 20 words. Authors should also provide a short \textquotedblleft running title\textquotedblright.

\subsection{Authors and institutional affiliations}
Authors are required to provide their full names and their institutional affiliations, omitting postal addresses but including email addresses.

\subsection{Abstract}
The abstract should summarize the essential features of the article, and must not exceed 250 words. Abbreviations should be avoided in the abstract, and references should not be cited in the abstract.

\subsection{Keywords}
Your submission must include between five and ten keywords for your article. They must be arranged comma-separated.

\subsection{MSC codes}
Up to four Mathematics Subject Classification (MSC) codes should be provided.

\subsection{Copyright}
Authors will be asked, upon acceptance of an article, to transfer copyright of the articles to the Spanish National Statistical Institute (INE). This entails full copyright protection and wide dissemination of the articles and the journal in any format.

\subsection{Main Text}
The main text should be divided into separate sections, and may be further subdivided according to the areas to be discussed. The manuscript style must be uniform throughout the text using 11pt Palatino font. The first appearance of any abbreviations in the text should be preceded by the full term, unless it is a standard abbreviation or unit of measurement. Reference numbers should be given in square brackets in the text. Common or assimilated words from Latin or other languages should not be italicized, including per se, et al.

\subsection{Style}

Many examples of the journal style can be seen in existing SJS published articles, \burl{http://www.ine.es}. Please pay particular attention to the following style requirements:

\begin{itemize}
\item Spelling: Please use standard American English spelling throughout.
\item Punctuation: SJS uses standard American English punctuation. In particular, please ensure:
\begin{itemize}
\item all lists items are always separated by
punctuation (e.g., ``a, b, and c'' but not ``a, b and c''); and
\item commas and periods always appear inside quotation marks (e.g., ``x, y, and z.'' but not ``x, y, and z''.).
\end{itemize}
\item Capitalization: SJS style is to only use capitals only for the
beginning of sentences, proper nouns, names (e.g., Norman, ArcMap) and,
where appropriate, acronyms (e.g., GIS). Please avoid capitalization of
other words (e.g., ``geographic information systems (GIS)'' but not
``Geographic Information Systems (GIS)'') and in titles, including section headings (e.g., ``Affordance-based individuation of junctions in Open Street Map" but not ``Affordance-Based Individuation of Junctions in Open Street Map'').
\end{itemize}


\subsection{Figures}
Figures and Tables must be numbered consecutively with a concise explanatory caption, and must be referred to in the main text with capitalized reference (e.g., ``Figure \ref{fig:1}'' or ``Table \ref{tab:1}''). Figures and Tables must appear in the text close to where they are first referred to in the main text. Figure and table captions come below the figure or table. Do not collect figures or tables together at the end of the article. Authors of accepted articles will need to supply high quality versions of all figures as separate .eps (encapsulated postscript) files.

\begin{figure}[tbh]
\centering
\includegraphics[width=0.6\textwidth]{Figure1}
\caption{\label{fig:1}An illustrative figure, after \citet{huck15.SJS}.}
\end{figure}

\begin{table}
\centering
\begin{tabular}{lrr}
\hline\hline
\textbf{Text column} & \textbf{Numerical column 1} & \textbf{Numerical column 2}\\
\hline\hline
First row& 10 & 0.003\\
Second row& 52& 10.037\\
Third row& 729 & 150.315\\
...& ...& ...\\
\hline\hline
\end{tabular}
\caption{\label{tab:1}Example table with preferred line rules and alignment.}
\end{table}

\subsection{Algorithms}

Algorithms should be formatted using standard algorithm packages where possible, as in Algorithm~\ref{alg:1}.

\begin{algorithm}[htb]
\caption{Example algorithm formatting after \citet{zhong16.IJGIS}} \label{alg:1}
\footnotesize
\begin{algorithmic} [1]                   % enter the algorithmic environment
\Require A finite set of two-dimensional points $P \subset \mathbb{R} \times \mathbb{R}$ and one parameter $\lambda \in \mathbb{R}$
\State Construct the Delaunay triangulation $DT(P)$ of $P$
\State $\Delta \gets DT(P)$
\State Construct the list $B$ of exterior edges of $DT(P)$
\State Sort the list $B$ in descending order of edge length
\State Initialize the $v\!-\!boundary$ function
\State Set the root ($r$) of $\mathbf{T}_{{\chi}}(P,\, \lambda)$ to be \{edge = $\emptyset$, oppositeVertex = $\emptyset$, length = $\emptyset$\}
\State Construct the list of parent nodes ($PN$) for the elements in $B$
\State Set each element in $PN$ to be $r$
\State $O(P,\, \lambda) \gets \emptyset$
\While{$B$ is not empty}
	\State $e = \{d_1,\, d_2\} \gets$ pop($B$)
	\State $p \gets$ pop($PN$)
	\State $o \gets$ opposite vertex of $e$ in $\Delta$
	\State $N \gets$ \{edge = $e$, oppositeVertex = $o$, length = $||e||$\}
	\State Insert $N$ in $\mathbf{T}_{{\chi}}(P,\, \lambda)$ as a child of $p$
	\State $node(d_1) \gets N$
	\State $node(d_2) \gets N$
	\State Append $N$ to $O(P,\, \lambda)$
	\If{$||e|| > \lambda$ \textbf{and} $v\!-\!boundary(o) = false$}
		\State Remove $e$ from $\Delta$
		\State $v\!-\!boundary(o) = true$
		\State Insert the arms of $e$ in $\Delta$ into $B$ in order of edge length
		\State Insert $N$ into $PN$ at the corresponding position of the arms of $e$ in $B$
	\EndIf
\EndWhile
\State \textbf{Return} $\chi(P,\, \lambda)$ formed by leaves of $\mathbf{T}_{{\chi}}(P,\, \lambda)$, $DT(P)$, $\mathbf{T}_{{\chi}}(P,\, \lambda)$ and $O(P,\, \lambda)$
\end{algorithmic}
\end{algorithm}

\subsection{Footnotes}
Footnotes are strongly discouraged in text. Where footnotes must be used, they should be numbered consecutively.


\section{References}

References should not be numbered but must follow the Chicago bibliographical style:
\begin{enumerate}
\item In the text, only the authors' surnames should be given, followed by the year of publication in parentheses. For three or more authors, only the first surname should be given, followed by et al.
\item The references should be listed in alphabetical order of surnames at the end of the text in the section named “References”.
\end{enumerate}

Examples of citation styles included in the bibliography for this document include journal articles \citep{overEtAl2010,arkin}, authored books \citep{bailey}, edited books \citep{miller09.BOOK}, articles in proceedings \citep{champion11}, articles in books or collections \citep{Grosso12}, theses \citep{ruas99}, technical reports \citep{blasertr}, software \citep{Rlang} and web resources \citep{web}. Please check the bib file sjsexample.bib provided with this template.

\subsection*{DOIs}

All SJS articles must list the DOI of all references, where a DOI exists, see
\url{http://www.ine.es} for examples. Please check carefully to add the DOIs for cited references,
adding DOIs to all references that have one. DOIs may be added in the ``doi'' field of the bibtex file.\\

DOIs can be found via \url{http://www.crossref.org/guestquery/} as well as many
other search engines and publisher pages (e.g., Scopus, SpringerLink).

\section*{Acknowledgments}

Acknowledgments should be placed in an unnumbered separate section before the References. The names of funding organizations should be written in full. It is recommended to use the following format:

This work was supported by the FUNDING SOURCE [grant number XXX]; FUNDING SOURCE [grant number YYY]; and FUNDING SOURCE [grant number ZZZ]


\bibliography{sjsexample}

\end{document} 