
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% This is a (brief) model paper using the achemso class
%% The document class accepts keyval options, which should include
%% the target journal and optionally the manuscript type.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[journal=jacsat,manuscript=article]{achemso}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Place any additional packages needed here.  Only include packages
%% which are essential, to avoid problems later.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{chemformula} % Formula subscripts using \ch{}
\usepackage[T1]{fontenc} % Use modern font encodings

\include{packages}
\include{commands}
\usepackage{bm}
\usepackage{epstopdf}
\usepackage{graphicx}
\graphicspath{{./figures/}}

%   -sum, -sum=   Make sum of all word and equation counts. May also use
%              -sum=#[,#] with up to 7 numbers to indicate how each of the
%              counts (text words, header words, caption words, #headers,
%              #floats, #inlined formulae, #displayed formulae) are summed.
%              The default sum (if only -sum is used) is the same as
%              -sum=1,1,1,0,0,1,1.


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% If issues arise when submitting your manuscript, you may want to
%% un-comment the next line.  This provides information on the
%% version of every file you have used.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%\listfiles

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Place any additional macros here.  Please use \newcommand* where
%% possible, and avoid layout-changing macros (which are not used
%% when typesetting).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand*\mycommand[1]{\texttt{\emph{#1}}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Meta-data block
%% ---------------
%% Each author should be given as a separate \author command.
%%
%% Corresponding authors should have an e-mail given after the author
%% name as an \email command. Phone and fax numbers can be given
%% using \phone and \fax, respectively; this information is optional.
%%
%% The affiliation of authors is given after the authors; each
%% \affiliation command applies to all preceding authors not already
%% assigned an affiliation.
%%
%% The affiliation takes an option argument for the short name.  This
%% will typically be something like "University of Somewhere".
%%
%% The \altaffiliation macro should be used for new address, etc.
%% On the other hand, \alsoaffiliation is used on a per author basis
%% when authors are associated with multiple institutions.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\author{Stefania Russo}
\email{stefania.russo@eawag.ch}
\affiliation[Eawag]
{Eawag, Swiss Federal Institute of Aquatic Science and Technology, 8600 D{\"u}bendorf, Switzerland}
\author{Guangyu Li}
\email{ligu@student.ethz.ch}
\affiliation[Eawag]
{Eawag, Swiss Federal Institute of Aquatic Science and Technology, 8600 D{\"u}bendorf, Switzerland}
\alsoaffiliation[ETHZ]
{ETH Z{\"u}rich, Institute of Environmental Engineering, 8093 Z{\"u}rich, Switzerland}
\author{Kris Villez}
\email{kris.villez@eawag.ch}
\affiliation[Eawag]
{Eawag, Swiss Federal Institute of Aquatic Science and Technology, 8600 D{\"u}bendorf, Switzerland}
\alsoaffiliation[ETHZ]
{ETH Z{\"u}rich, Institute of Environmental Engineering, 8093 Z{\"u}rich, Switzerland}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% The document title should be given as usual. Some journals require
%% a running title from the author: this should be supplied as an
%% optional argument to \title.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title[Dimensionality selection with ignorance score]
  {Automatic dimensionality selection for principal component analysis models with the ignorance score -- Supporting Information.}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Some journals require a list of abbreviations or keywords to be
%% supplied. These should be set up here, and will be printed after
%% the title and author information, if needed.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\abbreviations{IR,NMR,UV}
%\keywords{American Chemical Society, \LaTeX}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% The manuscript does not need to include \maketitle, which is
%% executed automatically.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}


\section{Data and software package}

The Supporting Information includes a stand-alone data and software package which computes all results and reproduces all figures included the main text.

\newpage

\section{Production of simulated data sets}

We follow the cited procedure exactly \cite{Camacho2014}. This is a two-step procedure consisting of {\em (i)} simulation of noise-free measurements and {\em (ii)} addition of  measurement noise. The first step is specific for each data set type ($s=1\, \ldots \, 4$) while the second step is specific for the noise level ($e=1\, \ldots \, 6$). 

\paragraph{Step 1 -- Data set type 1 ($s=1$)}

For data set type $s=1$, a single $J=10$-dimensional noise-free sample ($\vy$) is obtained with:

\begin{align}
    x_k & \sim \mathcal{N}(0,1) , & k=1\, \ldots \, 4
\\
    y_j & := 
    \begin{cases}
        \sqrt{\frac{j}{5}} \, x_1 + \sqrt{1-\frac{j}{5}} \, x_2 & \text{if: } 1 \leq j \leq 5
        \\
        \sqrt{\frac{1}{2}} \, x_1 + \sqrt{\frac{j}{10}-\frac{1}{2}}  \, x_2 + \sqrt{1-\frac{j}{10}}  \, x_3 & \text{if: } 6 \leq j \leq 9
        \\
        \frac{1}{100} \, x_1 + \frac{1}{100}  \, x_2 + \frac{1}{100}  \, x_3 
        + x_4
        & \text{if: } j=10
    \end{cases}
\end{align}
where $x_k$ is the value for the $k$th latent variable which is sampled from a standard normal distribution.


\paragraph{Step 1 -- Data set type 2 ($s=2$)}

For data set type $s=1$, a single $J=10$-dimensional noise-free sample ($\vy$) is obtained with:

\small{
\begin{align}
    x_k & \sim \mathcal{N}(0,1) , & k=1\, \ldots \, 4
\\
    y_j & := 
    \begin{cases}
        \sqrt{\frac{1}{2}} \, x_k + \sqrt{\frac{1}{2}} \, x_l , 
        \, k \neq l \in \lbrace 1\, \ldots 4 \, \rbrace ,         & \text{if: } 1 \leq j \leq 6
        \\
        \sqrt{\frac{1}{2}} \, x_k + \sqrt{\frac{1}{2}} \, x_l , 
        \, k \neq l \in \lbrace 5\, \ldots \, 7 \rbrace  ,       & \text{if: } 6 \leq j \leq 9
        \\
        x_8 ,       & \text{if: } j=10
    \end{cases}
\end{align}
}
with definitions as above.

\paragraph{Step 1 -- Data set type 3 ($s=3$)}

For data set type $s=1$, a single $J=27$-dimensional noise-free sample ($\vy$) is obtained with:

\begin{align}
    x_k & \sim \mathcal{N}(0,1) , & k=1\, \ldots \, 12
\\
    y_j & := 
    \begin{cases}
        x_j & \text{if: } 1 \leq j \leq 12
        \\
        \sqrt{\frac{1}{2}} \, x_k + \sqrt{\frac{1}{2}} \, x_l , 
        \, k \neq l \in \lbrace 1\, \ldots 6 \rbrace  ,       & \text{if: } 13 \leq j \leq 27
    \end{cases}
\end{align}

with definitions as above.

\paragraph{Step 1 -- Data set type 4 ($s=4$)}

For data set type $s=1$, a single $J=50$-dimensional noise-free sample ($\vy$) is obtained with:

\begin{align}
    x_k & \sim \mathcal{N}(0,1) , & k=1\, \ldots \, 15
\\
    y_j & := 
    \begin{cases}
        \sqrt{\frac{1}{2}} \, x_k + \sqrt{\frac{1}{2}} \, x_l , 
        \, k \neq l \in \lbrace 1\, \ldots \, 10 \rbrace  ,       & \text{if: } 1 \leq j \leq 45
        \\
        x_{11} ,       & \text{if: } j=46
        \\
        x_{12} ,       & \text{if: } j=47
        \\
        \sqrt{\frac{1}{2}} \, x_{11} + \sqrt{\frac{1}{2}} \, x_{13} ,       & \text{if: } j=48
        \\
        \sqrt{\frac{1}{2}} \, x_{12} + \sqrt{\frac{1}{2}} \, x_{14} ,       & \text{if: } j=49
        \\
        x_{15} ,       & \text{if: } j=50
    \end{cases}
\end{align}

with definitions as above.

\paragraph{Step 2 -- Adding noise}

Noise measurements are obtained by adding measurement errors, sampled from a zero-mean normal distribution, to each variable and a normalization to ensure the overall variance data set is constant regardless of the chosen noise variance:

\begin{align}
    e_j & \sim \mathcal{N}(0,\sigma_e)
\\
    \tilde{y}_j & := \frac{ y_j + e_j }{\sqrt{1 + \sigma_e }}
\end{align}
where $\sigma_e$ is the measurement noise variance. We use 6 values for the noise level ($e=1\, \ldots, 6$):  0.05, 0.1, 0.15, 0.2, 0.25, 0.5. The first 5 values are those used by \cite{Camacho2014}. The 6th value is twice as large as the largest one in the first five.

\newpage
\section{Collection of experimental data}

The following graphs depict the complete 16x16 grid of added stock volumes 24 times. Each graph corresponds to a single step of the experiment and contains a red arrow which covers a series of grid points evaluated in the corresponding step. Each step is initiated by starting with nano-filtered water and adding stock solution (both species) to reach the start of the arrow. The points covered by the red arrows are then evaluated sequentially by adding stock solution in steps of 2 mL. The chosen pattern and a randomized selection of the sequences evaluated in each step allow prevention of strong auto-correlation between the samples while enabling an efficient execution of the complete experiment. 
For each point in the grid, 5 UV-vis absorbance spectra are collected at a 1-minute interval. These data are part of the added software package.

\includegraphics[width=.91\textwidth]{./figures_supp/pdf1.pdf}

\includegraphics[width=.91\textwidth]{./figures_supp/pdf2.pdf}


\bibliography{CentralBib}

\end{document}
