diff --git a/.Rbuildignore b/.Rbuildignore
index 4636a56fe..1e472781a 100644
--- a/.Rbuildignore
+++ b/.Rbuildignore
@@ -16,7 +16,7 @@
^vignettes/.
^pkgdown/.
^WIP/.
-^paper/.
+^papers/.
^.github/.
^CODE_OF_CONDUCT\.md$
^revdep$
diff --git a/R/check_outliers.R b/R/check_outliers.R
index 78652d61b..0de79dc93 100644
--- a/R/check_outliers.R
+++ b/R/check_outliers.R
@@ -197,13 +197,13 @@
#'
#' ```
#' list(
-#' zscore = stats::qnorm(p = 1 - 0.001),
-#' zscore_robust = stats::qnorm(p = 1 - 0.001),
+#' zscore = stats::qnorm(p = 1 - 0.001 / 2),
+#' zscore_robust = stats::qnorm(p = 1 - 0.001 / 2),
#' iqr = 1.7,
-#' ci = 0.999,
-#' eti = 0.999,
-#' hdi = 0.999,
-#' bci = 0.999,
+#' ci = 1 - 0.001,
+#' eti = 1 - 0.001,
+#' hdi = 1 - 0.001,
+#' bci = 1 - 0.001,
#' cook = stats::qf(0.5, ncol(x), nrow(x) - ncol(x)),
#' pareto = 0.7,
#' mahalanobis = stats::qchisq(p = 1 - 0.001, df = ncol(x)),
@@ -1248,13 +1248,13 @@ check_outliers.geeglm <- check_outliers.gls
}
.check_outliers_thresholds_nowarn <- function(x) {
- zscore <- stats::qnorm(p = 1 - 0.001)
- zscore_robust <- stats::qnorm(p = 1 - 0.001)
+ zscore <- stats::qnorm(p = 1 - 0.001 / 2)
+ zscore_robust <- stats::qnorm(p = 1 - 0.001 / 2)
iqr <- 1.7
- ci <- 0.999
- eti <- 0.999
- hdi <- 0.999
- bci <- 0.999
+ ci <- 1 - 0.001
+ eti <- 1 - 0.001
+ hdi <- 1 - 0.001
+ bci <- 1 - 0.001
cook <- stats::qf(0.5, ncol(x), nrow(x) - ncol(x))
pareto <- 0.7
mahalanobis <- stats::qchisq(p = 1 - 0.001, df = ncol(x))
@@ -1288,7 +1288,7 @@ check_outliers.geeglm <- check_outliers.gls
# utilities --------------------
.check_outliers_zscore <- function(x,
- threshold = stats::qnorm(p = 1 - 0.001),
+ threshold = stats::qnorm(p = 1 - 0.001 / 2),
robust = TRUE,
method = "max",
ID.names = NULL) {
@@ -1397,7 +1397,7 @@ check_outliers.geeglm <- check_outliers.gls
.check_outliers_ci <- function(x,
- threshold = 0.999,
+ threshold = 1 - 0.001,
method = "ci",
ID.names = NULL) {
# Run through columns
diff --git a/man/check_outliers.Rd b/man/check_outliers.Rd
index f99cc990a..22e12d002 100644
--- a/man/check_outliers.Rd
+++ b/man/check_outliers.Rd
@@ -227,13 +227,13 @@ LOF distance. Requires the \link[dbscan:dbscan]{dbscan::dbscan} package.
Default thresholds are currently specified as follows:
\if{html}{\out{
}}\preformatted{list(
- zscore = stats::qnorm(p = 1 - 0.001),
- zscore_robust = stats::qnorm(p = 1 - 0.001),
+ zscore = stats::qnorm(p = 1 - 0.001 / 2),
+ zscore_robust = stats::qnorm(p = 1 - 0.001 / 2),
iqr = 1.7,
- ci = 0.999,
- eti = 0.999,
- hdi = 0.999,
- bci = 0.999,
+ ci = 1 - 0.001,
+ eti = 1 - 0.001,
+ hdi = 1 - 0.001,
+ bci = 1 - 0.001,
cook = stats::qf(0.5, ncol(x), nrow(x) - ncol(x)),
pareto = 0.7,
mahalanobis = stats::qchisq(p = 1 - 0.001, df = ncol(x)),
diff --git a/paper/apa.csl b/papers/JOSS/apa.csl
similarity index 100%
rename from paper/apa.csl
rename to papers/JOSS/apa.csl
diff --git a/paper/figure1.png b/papers/JOSS/figure1.png
similarity index 100%
rename from paper/figure1.png
rename to papers/JOSS/figure1.png
diff --git a/paper/figure2.png b/papers/JOSS/figure2.png
similarity index 100%
rename from paper/figure2.png
rename to papers/JOSS/figure2.png
diff --git a/paper/figure_workflow.png b/papers/JOSS/figure_workflow.png
similarity index 100%
rename from paper/figure_workflow.png
rename to papers/JOSS/figure_workflow.png
diff --git a/paper/figures.pptx b/papers/JOSS/figures.pptx
similarity index 100%
rename from paper/figures.pptx
rename to papers/JOSS/figures.pptx
diff --git a/paper/make_figs.R b/papers/JOSS/make_figs.R
similarity index 100%
rename from paper/make_figs.R
rename to papers/JOSS/make_figs.R
diff --git a/paper/paper.bib b/papers/JOSS/paper.bib
similarity index 100%
rename from paper/paper.bib
rename to papers/JOSS/paper.bib
diff --git a/paper/paper.md b/papers/JOSS/paper.md
similarity index 100%
rename from paper/paper.md
rename to papers/JOSS/paper.md
diff --git a/paper/paper.pdf b/papers/JOSS/paper.pdf
similarity index 100%
rename from paper/paper.pdf
rename to papers/JOSS/paper.pdf
diff --git a/papers/Mathematics/cover_letter.Rmd b/papers/Mathematics/cover_letter.Rmd
new file mode 100644
index 000000000..700385be2
--- /dev/null
+++ b/papers/Mathematics/cover_letter.Rmd
@@ -0,0 +1,27 @@
+---
+output: pdf_document
+---
+
+Dear Editors,
+
+We are pleased to submit this paper to *Mathematics*, for the special issue "Advances in Statistical Computing".
+
+The paper, titled "Check your outliers! An accessible introduction to identifying statistical outliers in R with *easystats*", provides an overview of current recommendations and best practices regarding the diagnosis and treament of outliers. It demonstrates how these recommendations can be easily and conveniently implemented in the R software using the *{performance}* package of the *easystats* ecosystem. The manuscript covers univariate, multivariate, and model-based statistical outlier detection methods, their recommended threshold, standard output, and plotting method, among other things.
+
+In this sense, the paper fits very well with the special issue "Advances in Statistical Computing", as it essentially communicates to the wider public current advances in the statistical computing of outlier detection algorithms and their implementation in currently available open source and free software. This makes the manuscript relevant to data science, behavioural science, and statistical computing more generally.
+
+Our current submission is original and has been neither published elsewhere nor is currently under consideration for publication elsewhere. All authors have contributed substantially to the software and manuscript. All authors gave final approval to the manuscript and accept to be accountable. We have no conflicts of interest to disclose.
+
+We would also like to use the open peer review option.
+
+Thank you for considering our submission.
+
+Best Regards,
+
+Rémi Thériault
+
+Department of Psychology,
+
+Université du Québec à Montréal,
+
+Montréal, Québec, Canada
\ No newline at end of file
diff --git a/papers/Mathematics/journalnames.tex b/papers/Mathematics/journalnames.tex
new file mode 100644
index 000000000..a3305b818
--- /dev/null
+++ b/papers/Mathematics/journalnames.tex
@@ -0,0 +1,234 @@
+\DeclareOption{acoustics}{ \gdef\@journal{acoustics} \gdef\@journalshort{Acoustics} \gdef\@journalfull{Acoustics} \gdef\@doiabbr{acoustics} \gdef\@ISSN{2624-599X} }
+\DeclareOption{actuators}{ \gdef\@journal{actuators} \gdef\@journalshort{Actuators} \gdef\@journalfull{Actuators} \gdef\@doiabbr{act} \gdef\@ISSN{2076-0825} }
+\DeclareOption{addictions}{ \gdef\@journal{addictions} \gdef\@journalshort{Addictions} \gdef\@journalfull{Addictions} \gdef\@doiabbr{} \gdef\@ISSN{0006-0006} }
+\DeclareOption{admsci}{ \gdef\@journal{admsci} \gdef\@journalshort{Adm. Sci.} \gdef\@journalfull{Administrative Sciences} \gdef\@doiabbr{admsci} \gdef\@ISSN{2076-3387} }
+\DeclareOption{aerospace}{ \gdef\@journal{aerospace} \gdef\@journalshort{Aerospace} \gdef\@journalfull{Aerospace} \gdef\@doiabbr{aerospace} \gdef\@ISSN{2226-4310} }
+\DeclareOption{agriculture}{ \gdef\@journal{agriculture} \gdef\@journalshort{Agriculture} \gdef\@journalfull{Agriculture} \gdef\@doiabbr{agriculture} \gdef\@ISSN{2077-0472} }
+\DeclareOption{agriengineering}{ \gdef\@journal{agriengineering} \gdef\@journalshort{AgriEngineering} \gdef\@journalfull{AgriEngineering} \gdef\@doiabbr{agriengineering} \gdef\@ISSN{2624-7402} }
+\DeclareOption{agronomy}{ \gdef\@journal{agronomy} \gdef\@journalshort{Agronomy} \gdef\@journalfull{Agronomy} \gdef\@doiabbr{agronomy} \gdef\@ISSN{2073-4395} }
+\DeclareOption{algorithms}{ \gdef\@journal{algorithms} \gdef\@journalshort{Algorithms} \gdef\@journalfull{Algorithms} \gdef\@doiabbr{a} \gdef\@ISSN{1999-4893} }
+\DeclareOption{animals}{ \gdef\@journal{animals} \gdef\@journalshort{Animals} \gdef\@journalfull{Animals} \gdef\@doiabbr{ani} \gdef\@ISSN{2076-2615} }
+\DeclareOption{antibiotics}{ \gdef\@journal{antibiotics} \gdef\@journalshort{Antibiotics} \gdef\@journalfull{Antibiotics} \gdef\@doiabbr{antibiotics} \gdef\@ISSN{2079-6382} }
+\DeclareOption{antibodies}{ \gdef\@journal{antibodies} \gdef\@journalshort{Antibodies} \gdef\@journalfull{Antibodies} \gdef\@doiabbr{antib} \gdef\@ISSN{2073-4468} }
+\DeclareOption{antioxidants}{ \gdef\@journal{antioxidants} \gdef\@journalshort{Antioxidants} \gdef\@journalfull{Antioxidants} \gdef\@doiabbr{antiox} \gdef\@ISSN{2076-3921} }
+\DeclareOption{applsci}{ \gdef\@journal{applsci} \gdef\@journalshort{Appl. Sci.} \gdef\@journalfull{Applied Sciences} \gdef\@doiabbr{app} \gdef\@ISSN{2076-3417} }
+\DeclareOption{arts}{ \gdef\@journal{arts} \gdef\@journalshort{Arts} \gdef\@journalfull{Arts} \gdef\@doiabbr{arts} \gdef\@ISSN{2076-0752} }
+\DeclareOption{asc}{ \gdef\@journal{asc} \gdef\@journalshort{Autom. Syst. Control} \gdef\@journalfull{Automatic Systems and Control} \gdef\@doiabbr{} \gdef\@ISSN{} }
+\DeclareOption{asi}{ \gdef\@journal{asi} \gdef\@journalshort{Appl. Syst. Innov.} \gdef\@journalfull{Applied System Innovation} \gdef\@doiabbr{asi} \gdef\@ISSN{2571-5577} }
+\DeclareOption{atmosphere}{ \gdef\@journal{atmosphere} \gdef\@journalshort{Atmosphere} \gdef\@journalfull{Atmosphere} \gdef\@doiabbr{atmos} \gdef\@ISSN{2073-4433} }
+\DeclareOption{atoms}{ \gdef\@journal{atoms} \gdef\@journalshort{Atoms} \gdef\@journalfull{Atoms} \gdef\@doiabbr{atoms} \gdef\@ISSN{2218-2004} }
+\DeclareOption{axioms}{ \gdef\@journal{axioms} \gdef\@journalshort{Axioms} \gdef\@journalfull{Axioms} \gdef\@doiabbr{axioms} \gdef\@ISSN{2075-1680} }
+\DeclareOption{batteries}{ \gdef\@journal{batteries} \gdef\@journalshort{Batteries} \gdef\@journalfull{Batteries} \gdef\@doiabbr{batteries} \gdef\@ISSN{2313-0105} }
+\DeclareOption{bdcc}{ \gdef\@journal{bdcc} \gdef\@journalshort{Big Data Cogn. Comput.} \gdef\@journalfull{Big Data and Cognitive Computing} \gdef\@doiabbr{bdcc} \gdef\@ISSN{2504-2289} }
+\DeclareOption{behavsci}{ \gdef\@journal{behavsci} \gdef\@journalshort{Behav. Sci.} \gdef\@journalfull{Behavioral Sciences} \gdef\@doiabbr{bs} \gdef\@ISSN{2076-328X} }
+\DeclareOption{beverages}{ \gdef\@journal{beverages} \gdef\@journalshort{Beverages} \gdef\@journalfull{Beverages} \gdef\@doiabbr{beverages} \gdef\@ISSN{2306-5710} }
+\DeclareOption{bioengineering}{ \gdef\@journal{bioengineering} \gdef\@journalshort{Bioengineering} \gdef\@journalfull{Bioengineering} \gdef\@doiabbr{bioengineering} \gdef\@ISSN{2306-5354} }
+\DeclareOption{biology}{ \gdef\@journal{biology} \gdef\@journalshort{Biology} \gdef\@journalfull{Biology} \gdef\@doiabbr{biology} \gdef\@ISSN{2079-7737} }
+\DeclareOption{biomedicines}{ \gdef\@journal{biomedicines} \gdef\@journalshort{Biomedicines} \gdef\@journalfull{Biomedicines} \gdef\@doiabbr{biomedicines} \gdef\@ISSN{2227-9059} }
+\DeclareOption{biomimetics}{ \gdef\@journal{biomimetics} \gdef\@journalshort{Biomimetics} \gdef\@journalfull{Biomimetics} \gdef\@doiabbr{biomimetics} \gdef\@ISSN{2313-7673} }
+\DeclareOption{biomolecules}{ \gdef\@journal{biomolecules} \gdef\@journalshort{Biomolecules} \gdef\@journalfull{Biomolecules} \gdef\@doiabbr{biom} \gdef\@ISSN{2218-273X} }
+\DeclareOption{biosensors}{ \gdef\@journal{biosensors} \gdef\@journalshort{Biosensors} \gdef\@journalfull{Biosensors} \gdef\@doiabbr{bios} \gdef\@ISSN{2079-6374} }
+\DeclareOption{brainsci}{ \gdef\@journal{brainsci} \gdef\@journalshort{Brain Sci.} \gdef\@journalfull{Brain Sciences} \gdef\@doiabbr{brainsci} \gdef\@ISSN{2076-3425} }
+\DeclareOption{buildings}{ \gdef\@journal{buildings} \gdef\@journalshort{Buildings} \gdef\@journalfull{Buildings} \gdef\@doiabbr{buildings} \gdef\@ISSN{2075-5309} }
+\DeclareOption{cancers}{ \gdef\@journal{cancers} \gdef\@journalshort{Cancers} \gdef\@journalfull{Cancers} \gdef\@doiabbr{cancers} \gdef\@ISSN{2072-6694} }
+\DeclareOption{carbon}{ \gdef\@journal{carbon} \gdef\@journalshort{C} \gdef\@journalfull{C} \gdef\@doiabbr{c} \gdef\@ISSN{2311-5629} }
+\DeclareOption{catalysts}{ \gdef\@journal{catalysts} \gdef\@journalshort{Catalysts} \gdef\@journalfull{Catalysts} \gdef\@doiabbr{catal} \gdef\@ISSN{2073-4344} }
+\DeclareOption{cells}{ \gdef\@journal{cells} \gdef\@journalshort{Cells} \gdef\@journalfull{Cells} \gdef\@doiabbr{cells} \gdef\@ISSN{2073-4409} }
+\DeclareOption{ceramics}{ \gdef\@journal{ceramics} \gdef\@journalshort{Ceramics} \gdef\@journalfull{Ceramics} \gdef\@doiabbr{ceramics} \gdef\@ISSN{2571-6131} }
+\DeclareOption{challenges}{ \gdef\@journal{challenges} \gdef\@journalshort{Challenges} \gdef\@journalfull{Challenges} \gdef\@doiabbr{challe} \gdef\@ISSN{2078-1547} }
+\DeclareOption{chemengineering}{ \gdef\@journal{chemengineering} \gdef\@journalshort{ChemEngineering} \gdef\@journalfull{ChemEngineering} \gdef\@doiabbr{chemengineering} \gdef\@ISSN{2305-7084} }
+\DeclareOption{chemistry}{ \gdef\@journal{chemistry} \gdef\@journalshort{Chemistry} \gdef\@journalfull{Chemistry} \gdef\@doiabbr{chemistry} \gdef\@ISSN{2624-8549} }
+\DeclareOption{chemosensors}{ \gdef\@journal{chemosensors} \gdef\@journalshort{Chemosensors} \gdef\@journalfull{Chemosensors} \gdef\@doiabbr{chemosensors} \gdef\@ISSN{2227-9040} }
+\DeclareOption{children}{ \gdef\@journal{children} \gdef\@journalshort{Children} \gdef\@journalfull{Children} \gdef\@doiabbr{children} \gdef\@ISSN{2227-9067} }
+\DeclareOption{cleantechnol}{ \gdef\@journal{cleantechnol} \gdef\@journalshort{Clean Technol.} \gdef\@journalfull{Clean Technologies} \gdef\@doiabbr{cleantechnol} \gdef\@ISSN{2571-8797} }
+\DeclareOption{climate}{ \gdef\@journal{climate} \gdef\@journalshort{Climate} \gdef\@journalfull{Climate} \gdef\@doiabbr{cli} \gdef\@ISSN{2225-1154} }
+\DeclareOption{clockssleep}{ \gdef\@journal{clockssleep} \gdef\@journalshort{Clocks\&Sleep} \gdef\@journalfull{Clocks \& Sleep} \gdef\@doiabbr{clockssleep} \gdef\@ISSN{2624-5175} }
+\DeclareOption{cmd}{ \gdef\@journal{cmd} \gdef\@journalshort{Corros. Mater. Degrad.} \gdef\@journalfull{Corrosion and Materials Degradation} \gdef\@doiabbr{cmd} \gdef\@ISSN{2624-5558} }
+\DeclareOption{coatings}{ \gdef\@journal{coatings} \gdef\@journalshort{Coatings} \gdef\@journalfull{Coatings} \gdef\@doiabbr{coatings} \gdef\@ISSN{2079-6412} }
+\DeclareOption{colloids}{ \gdef\@journal{colloids} \gdef\@journalshort{Colloids Interfaces} \gdef\@journalfull{Colloids Interfaces} \gdef\@doiabbr{colloids} \gdef\@ISSN{2504-5377} }
+\DeclareOption{computation}{ \gdef\@journal{computation} \gdef\@journalshort{Computation} \gdef\@journalfull{Computation} \gdef\@doiabbr{computation} \gdef\@ISSN{2079-3197} }
+\DeclareOption{computers}{ \gdef\@journal{computers} \gdef\@journalshort{Computers} \gdef\@journalfull{Computers} \gdef\@doiabbr{computers} \gdef\@ISSN{2073-431X} }
+\DeclareOption{condensedmatter}{ \gdef\@journal{condensedmatter} \gdef\@journalshort{Condens. Matter} \gdef\@journalfull{Condensed Matter} \gdef\@doiabbr{condmat} \gdef\@ISSN{2410-3896} }
+\DeclareOption{cosmetics}{ \gdef\@journal{cosmetics} \gdef\@journalshort{Cosmetics} \gdef\@journalfull{Cosmetics} \gdef\@doiabbr{cosmetics} \gdef\@ISSN{2079-9284} }
+\DeclareOption{cryptography}{ \gdef\@journal{cryptography} \gdef\@journalshort{Cryptography} \gdef\@journalfull{Cryptography} \gdef\@doiabbr{cryptography} \gdef\@ISSN{2410-387X} }
+\DeclareOption{crystals}{ \gdef\@journal{crystals} \gdef\@journalshort{Crystals} \gdef\@journalfull{Crystals} \gdef\@doiabbr{cryst} \gdef\@ISSN{2073-4352} }
+\DeclareOption{dairy}{ \gdef\@journal{dairy} \gdef\@journalshort{Dairy} \gdef\@journalfull{Dairy} \gdef\@doiabbr{dairy} \gdef\@ISSN{2624-862X} }
+\DeclareOption{data}{ \gdef\@journal{data} \gdef\@journalshort{Data} \gdef\@journalfull{Data} \gdef\@doiabbr{data} \gdef\@ISSN{2306-5729} }
+\DeclareOption{dentistry}{ \gdef\@journal{dentistry} \gdef\@journalshort{Dent. J.} \gdef\@journalfull{Dentistry Journal} \gdef\@doiabbr{dj} \gdef\@ISSN{2304-6767} }
+\DeclareOption{designs}{ \gdef\@journal{designs} \gdef\@journalshort{Designs} \gdef\@journalfull{Designs} \gdef\@doiabbr{designs} \gdef\@ISSN{2411-9660} }
+\DeclareOption{diagnostics}{ \gdef\@journal{diagnostics} \gdef\@journalshort{Diagnostics} \gdef\@journalfull{Diagnostics} \gdef\@doiabbr{diagnostics} \gdef\@ISSN{2075-4418} }
+\DeclareOption{diseases}{ \gdef\@journal{diseases} \gdef\@journalshort{Diseases} \gdef\@journalfull{Diseases} \gdef\@doiabbr{diseases} \gdef\@ISSN{2079-9721} }
+\DeclareOption{diversity}{ \gdef\@journal{diversity} \gdef\@journalshort{Diversity} \gdef\@journalfull{Diversity} \gdef\@doiabbr{d} \gdef\@ISSN{1424-2818} }
+\DeclareOption{drones}{ \gdef\@journal{drones} \gdef\@journalshort{Drones} \gdef\@journalfull{Drones} \gdef\@doiabbr{drones} \gdef\@ISSN{2504-446X} }
+\DeclareOption{econometrics}{ \gdef\@journal{econometrics} \gdef\@journalshort{Econometrics} \gdef\@journalfull{Econometrics} \gdef\@doiabbr{econometrics} \gdef\@ISSN{2225-1146} }
+\DeclareOption{economies}{ \gdef\@journal{economies} \gdef\@journalshort{Economies} \gdef\@journalfull{Economies} \gdef\@doiabbr{economies} \gdef\@ISSN{2227-7099} }
+\DeclareOption{education}{ \gdef\@journal{education} \gdef\@journalshort{Educ. Sci.} \gdef\@journalfull{Education Sciences} \gdef\@doiabbr{educsci} \gdef\@ISSN{2227-7102} }
+\DeclareOption{electrochem}{ \gdef\@journal{electrochem} \gdef\@journalshort{Electrochem} \gdef\@journalfull{Electrochem} \gdef\@doiabbr{electrochem} \gdef\@ISSN{} }
+\DeclareOption{electronics}{ \gdef\@journal{electronics} \gdef\@journalshort{Electronics} \gdef\@journalfull{Electronics} \gdef\@doiabbr{electronics} \gdef\@ISSN{2079-9292} }
+\DeclareOption{energies}{ \gdef\@journal{energies} \gdef\@journalshort{Energies} \gdef\@journalfull{Energies} \gdef\@doiabbr{en} \gdef\@ISSN{1996-1073} }
+\DeclareOption{entropy}{ \gdef\@journal{entropy} \gdef\@journalshort{Entropy} \gdef\@journalfull{Entropy} \gdef\@doiabbr{e} \gdef\@ISSN{1099-4300} }
+\DeclareOption{environments}{ \gdef\@journal{environments} \gdef\@journalshort{Environments} \gdef\@journalfull{Environments} \gdef\@doiabbr{environments} \gdef\@ISSN{2076-3298} }
+\DeclareOption{epigenomes}{ \gdef\@journal{epigenomes} \gdef\@journalshort{Epigenomes} \gdef\@journalfull{Epigenomes} \gdef\@doiabbr{epigenomes} \gdef\@ISSN{2075-4655} }
+\DeclareOption{est}{ \gdef\@journal{est} \gdef\@journalshort{Electrochem. Sci. Technol.} \gdef\@journalfull{Electrochemical Science and Technology} \gdef\@doiabbr{} \gdef\@ISSN{} }
+\DeclareOption{fermentation}{ \gdef\@journal{fermentation} \gdef\@journalshort{Fermentation} \gdef\@journalfull{Fermentation} \gdef\@doiabbr{fermentation} \gdef\@ISSN{2311-5637} }
+\DeclareOption{fibers}{ \gdef\@journal{fibers} \gdef\@journalshort{Fibers} \gdef\@journalfull{Fibers} \gdef\@doiabbr{fib} \gdef\@ISSN{2079-6439} }
+\DeclareOption{fire}{ \gdef\@journal{fire} \gdef\@journalshort{Fire} \gdef\@journalfull{Fire} \gdef\@doiabbr{fire} \gdef\@ISSN{2571-6255} }
+\DeclareOption{fishes}{ \gdef\@journal{fishes} \gdef\@journalshort{Fishes} \gdef\@journalfull{Fishes} \gdef\@doiabbr{fishes} \gdef\@ISSN{2410-3888} }
+\DeclareOption{fluids}{ \gdef\@journal{fluids} \gdef\@journalshort{Fluids} \gdef\@journalfull{Fluids} \gdef\@doiabbr{fluids} \gdef\@ISSN{2311-5521} }
+\DeclareOption{foods}{ \gdef\@journal{foods} \gdef\@journalshort{Foods} \gdef\@journalfull{Foods} \gdef\@doiabbr{foods} \gdef\@ISSN{2304-8158} }
+\DeclareOption{forecasting}{ \gdef\@journal{forecasting} \gdef\@journalshort{Forecasting} \gdef\@journalfull{Forecasting} \gdef\@doiabbr{forecast} \gdef\@ISSN{2571-9394} }
+\DeclareOption{forests}{ \gdef\@journal{forests} \gdef\@journalshort{Forests} \gdef\@journalfull{Forests} \gdef\@doiabbr{f} \gdef\@ISSN{1999-4907} }
+\DeclareOption{fractalfract}{ \gdef\@journal{fractalfract} \gdef\@journalshort{Fractal Fract.} \gdef\@journalfull{Fractal and Fractional} \gdef\@doiabbr{fractalfract} \gdef\@ISSN{2504-3110} }
+\DeclareOption{futureinternet}{ \gdef\@journal{futureinternet} \gdef\@journalshort{Future Internet} \gdef\@journalfull{Future Internet} \gdef\@doiabbr{fi} \gdef\@ISSN{1999-5903} }
+\DeclareOption{futurephys}{ \gdef\@journal{futurephys} \gdef\@journalshort{Future Phys.} \gdef\@journalfull{Future Physics} \gdef\@doiabbr{futurephys} \gdef\@ISSN{2624-6503} }
+\DeclareOption{galaxies}{ \gdef\@journal{galaxies} \gdef\@journalshort{Galaxies} \gdef\@journalfull{Galaxies} \gdef\@doiabbr{galaxies} \gdef\@ISSN{2075-4434} }
+\DeclareOption{games}{ \gdef\@journal{games} \gdef\@journalshort{Games} \gdef\@journalfull{Games} \gdef\@doiabbr{g} \gdef\@ISSN{2073-4336} }
+\DeclareOption{gastrointestdisord}{ \gdef\@journal{gastrointestdisord} \gdef\@journalshort{Gastrointest. Disord.} \gdef\@journalfull{Gastrointestinal Disorders} \gdef\@doiabbr{gidisord} \gdef\@ISSN{2624-5647} }
+\DeclareOption{gels}{ \gdef\@journal{gels} \gdef\@journalshort{Gels} \gdef\@journalfull{Gels} \gdef\@doiabbr{gels} \gdef\@ISSN{2310-2861} }
+\DeclareOption{genealogy}{ \gdef\@journal{genealogy} \gdef\@journalshort{Genealogy} \gdef\@journalfull{Genealogy} \gdef\@doiabbr{genealogy} \gdef\@ISSN{2313-5778} }
+\DeclareOption{genes}{ \gdef\@journal{genes} \gdef\@journalshort{Genes} \gdef\@journalfull{Genes} \gdef\@doiabbr{genes} \gdef\@ISSN{2073-4425} }
+\DeclareOption{geohazards}{ \gdef\@journal{geohazards} \gdef\@journalshort{GeoHazards} \gdef\@journalfull{GeoHazards} \gdef\@doiabbr{geohazards} \gdef\@ISSN{2624-795X} }
+\DeclareOption{geosciences}{ \gdef\@journal{geosciences} \gdef\@journalshort{Geosciences} \gdef\@journalfull{Geosciences} \gdef\@doiabbr{geosciences} \gdef\@ISSN{2076-3263} }
+\DeclareOption{geriatrics}{ \gdef\@journal{geriatrics} \gdef\@journalshort{Geriatrics} \gdef\@journalfull{Geriatrics} \gdef\@doiabbr{geriatrics} \gdef\@ISSN{2308-3417} }
+\DeclareOption{hazardousmatters}{ \gdef\@journal{hazardousmatters} \gdef\@journalshort{Hazard. Matters} \gdef\@journalfull{Hazardous Matters} \gdef\@doiabbr{} \gdef\@ISSN{0014-0014} }
+\DeclareOption{healthcare}{ \gdef\@journal{healthcare} \gdef\@journalshort{Healthcare} \gdef\@journalfull{Healthcare} \gdef\@doiabbr{healthcare} \gdef\@ISSN{2227-9032} }
+\DeclareOption{heritage}{ \gdef\@journal{heritage} \gdef\@journalshort{Heritage} \gdef\@journalfull{Heritage} \gdef\@doiabbr{heritage} \gdef\@ISSN{2571-9408} }
+\DeclareOption{highthroughput}{ \gdef\@journal{highthroughput} \gdef\@journalshort{High-Throughput} \gdef\@journalfull{High-Throughput} \gdef\@doiabbr{ht} \gdef\@ISSN{2571-5135} }
+\DeclareOption{horticulturae}{ \gdef\@journal{horticulturae} \gdef\@journalshort{Horticulturae} \gdef\@journalfull{Horticulturae} \gdef\@doiabbr{horticulturae} \gdef\@ISSN{2311-7524} }
+\DeclareOption{humanities}{ \gdef\@journal{humanities} \gdef\@journalshort{Humanities} \gdef\@journalfull{Humanities} \gdef\@doiabbr{h} \gdef\@ISSN{2076-0787} }
+\DeclareOption{hydrology}{ \gdef\@journal{hydrology} \gdef\@journalshort{Hydrology} \gdef\@journalfull{Hydrology} \gdef\@doiabbr{hydrology} \gdef\@ISSN{2306-5338} }
+\DeclareOption{ijerph}{ \gdef\@journal{ijerph} \gdef\@journalshort{Int. J. Environ. Res. Public Health} \gdef\@journalfull{International Journal of Environmental Research and Public Health} \gdef\@doiabbr{ijerph} \gdef\@ISSN{1660-4601} }
+\DeclareOption{ijfs}{ \gdef\@journal{ijfs} \gdef\@journalshort{Int. J. Financial Stud.} \gdef\@journalfull{International Journal of Financial Studies} \gdef\@doiabbr{ijfs} \gdef\@ISSN{2227-7072} }
+\DeclareOption{ijgi}{ \gdef\@journal{ijgi} \gdef\@journalshort{ISPRS Int. J. Geo-Inf.} \gdef\@journalfull{ISPRS International Journal of Geo-Information} \gdef\@doiabbr{ijgi} \gdef\@ISSN{2220-9964} }
+\DeclareOption{ijms}{ \gdef\@journal{ijms} \gdef\@journalshort{Int. J. Mol. Sci.} \gdef\@journalfull{International Journal of Molecular Sciences} \gdef\@doiabbr{ijms} \gdef\@ISSN{1422-0067} }
+\DeclareOption{ijtpp}{ \gdef\@journal{ijtpp} \gdef\@journalshort{Int. J. Turbomach. Propuls. Power} \gdef\@journalfull{International Journal of Turbomachinery, Propulsion and Power} \gdef\@doiabbr{ijtpp} \gdef\@ISSN{2504-186X} }
+\DeclareOption{informatics}{ \gdef\@journal{informatics} \gdef\@journalshort{Informatics} \gdef\@journalfull{Informatics} \gdef\@doiabbr{informatics} \gdef\@ISSN{2227-9709} }
+\DeclareOption{information}{ \gdef\@journal{information} \gdef\@journalshort{Information} \gdef\@journalfull{Information} \gdef\@doiabbr{info} \gdef\@ISSN{2078-2489} }
+\DeclareOption{infrastructures}{ \gdef\@journal{infrastructures} \gdef\@journalshort{Infrastructures} \gdef\@journalfull{Infrastructures} \gdef\@doiabbr{infrastructures} \gdef\@ISSN{2412-3811} }
+\DeclareOption{inorganics}{ \gdef\@journal{inorganics} \gdef\@journalshort{Inorganics} \gdef\@journalfull{Inorganics} \gdef\@doiabbr{inorganics} \gdef\@ISSN{2304-6740} }
+\DeclareOption{insects}{ \gdef\@journal{insects} \gdef\@journalshort{Insects} \gdef\@journalfull{Insects} \gdef\@doiabbr{insects} \gdef\@ISSN{2075-4450} }
+\DeclareOption{instruments}{ \gdef\@journal{instruments} \gdef\@journalshort{Instruments} \gdef\@journalfull{Instruments} \gdef\@doiabbr{instruments} \gdef\@ISSN{2410-390X} }
+\DeclareOption{inventions}{ \gdef\@journal{inventions} \gdef\@journalshort{Inventions} \gdef\@journalfull{Inventions} \gdef\@doiabbr{inventions} \gdef\@ISSN{2411-5134} }
+\DeclareOption{iot}{ \gdef\@journal{iot} \gdef\@journalshort{IoT} \gdef\@journalfull{IoT} \gdef\@doiabbr{iot} \gdef\@ISSN{2624-831X} }
+\DeclareOption{j}{ \gdef\@journal{j} \gdef\@journalshort{J} \gdef\@journalfull{J} \gdef\@doiabbr{j} \gdef\@ISSN{2571-8800} }
+\DeclareOption{jcdd}{ \gdef\@journal{jcdd} \gdef\@journalshort{J. Cardiovasc. Dev. Dis.} \gdef\@journalfull{Journal of Cardiovascular Development and Disease} \gdef\@doiabbr{jcdd} \gdef\@ISSN{2308-3425} }
+\DeclareOption{jcm}{ \gdef\@journal{jcm} \gdef\@journalshort{J. Clin. Med.} \gdef\@journalfull{Journal of Clinical Medicine} \gdef\@doiabbr{jcm} \gdef\@ISSN{2077-0383} }
+\DeclareOption{jcp}{ \gdef\@journal{jcp} \gdef\@journalshort{J. Cybersecur. Priv.} \gdef\@journalfull{Journal of Cybersecurity and Privacy} \gdef\@doiabbr{jcp} \gdef\@ISSN{2624-800X} }
+\DeclareOption{jcs}{ \gdef\@journal{jcs} \gdef\@journalshort{J. Compos. Sci.} \gdef\@journalfull{Journal of Composites Science} \gdef\@doiabbr{jcs} \gdef\@ISSN{2504-477X} }
+\DeclareOption{jdb}{ \gdef\@journal{jdb} \gdef\@journalshort{J. Dev. Biol.} \gdef\@journalfull{Journal of Developmental Biology} \gdef\@doiabbr{jdb} \gdef\@ISSN{2221-3759} }
+\DeclareOption{jfb}{ \gdef\@journal{jfb} \gdef\@journalshort{J. Funct. Biomater.} \gdef\@journalfull{Journal of Functional Biomaterials} \gdef\@doiabbr{jfb} \gdef\@ISSN{2079-4983} }
+\DeclareOption{jfmk}{ \gdef\@journal{jfmk} \gdef\@journalshort{J. Funct. Morphol. Kinesiol.} \gdef\@journalfull{Journal of Functional Morphology and Kinesiology} \gdef\@doiabbr{jfmk} \gdef\@ISSN{2411-5142} }
+\DeclareOption{jimaging}{ \gdef\@journal{jimaging} \gdef\@journalshort{J. Imaging} \gdef\@journalfull{Journal of Imaging} \gdef\@doiabbr{jimaging} \gdef\@ISSN{2313-433X} }
+\DeclareOption{jintelligence}{ \gdef\@journal{jintelligence} \gdef\@journalshort{J. Intell.} \gdef\@journalfull{Journal of Intelligence} \gdef\@doiabbr{jintelligence} \gdef\@ISSN{2079-3200} }
+\DeclareOption{jlpea}{ \gdef\@journal{jlpea} \gdef\@journalshort{J. Low Power Electron. Appl.} \gdef\@journalfull{Journal of Low Power Electronics and Applications} \gdef\@doiabbr{jlpea} \gdef\@ISSN{2079-9268} }
+\DeclareOption{jmmp}{ \gdef\@journal{jmmp} \gdef\@journalshort{J. Manuf. Mater. Process.} \gdef\@journalfull{Journal of Manufacturing and Materials Processing} \gdef\@doiabbr{jmmp} \gdef\@ISSN{2504-4494} }
+\DeclareOption{jmse}{ \gdef\@journal{jmse} \gdef\@journalshort{J. Mar. Sci. Eng.} \gdef\@journalfull{Journal of Marine Science and Engineering} \gdef\@doiabbr{jmse} \gdef\@ISSN{2077-1312} }
+\DeclareOption{jnt}{ \gdef\@journal{jnt} \gdef\@journalshort{J. Nanotheranostics} \gdef\@journalfull{Journal of Nanotheranostics} \gdef\@doiabbr{jnt} \gdef\@ISSN{2624-845X} }
+\DeclareOption{jof}{ \gdef\@journal{jof} \gdef\@journalshort{J. Fungi} \gdef\@journalfull{Journal of Fungi} \gdef\@doiabbr{jof} \gdef\@ISSN{2309-608X} }
+\DeclareOption{joitmc}{ \gdef\@journal{joitmc} \gdef\@journalshort{J. Open Innov. Technol. Mark. Complex.} \gdef\@journalfull{Journal of Open Innovation: Technology, Market, and Complexity} \gdef\@doiabbr{joitmc} \gdef\@ISSN{2199-8531} }
+\DeclareOption{jpm}{ \gdef\@journal{jpm} \gdef\@journalshort{J. Pers. Med.} \gdef\@journalfull{Journal of Personalized Medicine} \gdef\@doiabbr{jpm} \gdef\@ISSN{2075-4426} }
+\DeclareOption{jrfm}{ \gdef\@journal{jrfm} \gdef\@journalshort{J. Risk Financial Manag.} \gdef\@journalfull{Journal of Risk and Financial Management} \gdef\@doiabbr{jrfm} \gdef\@ISSN{1911-8074} }
+\DeclareOption{jsan}{ \gdef\@journal{jsan} \gdef\@journalshort{J. Sens. Actuator Netw.} \gdef\@journalfull{Journal of Sensor and Actuator Networks} \gdef\@doiabbr{jsan} \gdef\@ISSN{2224-2708} }
+\DeclareOption{land}{ \gdef\@journal{land} \gdef\@journalshort{Land} \gdef\@journalfull{Land} \gdef\@doiabbr{land} \gdef\@ISSN{2073-445X} }
+\DeclareOption{languages}{ \gdef\@journal{languages} \gdef\@journalshort{Languages} \gdef\@journalfull{Languages} \gdef\@doiabbr{languages} \gdef\@ISSN{2226-471X} }
+\DeclareOption{laws}{ \gdef\@journal{laws} \gdef\@journalshort{Laws} \gdef\@journalfull{Laws} \gdef\@doiabbr{laws} \gdef\@ISSN{2075-471X} }
+\DeclareOption{life}{ \gdef\@journal{life} \gdef\@journalshort{Life} \gdef\@journalfull{Life} \gdef\@doiabbr{life} \gdef\@ISSN{2075-1729} }
+\DeclareOption{literature}{ \gdef\@journal{literature} \gdef\@journalshort{Literature} \gdef\@journalfull{Literature} \gdef\@doiabbr{} \gdef\@ISSN{2410-9789} }
+\DeclareOption{logistics}{ \gdef\@journal{logistics} \gdef\@journalshort{Logistics} \gdef\@journalfull{Logistics} \gdef\@doiabbr{logistics} \gdef\@ISSN{2305-6290} }
+\DeclareOption{lubricants}{ \gdef\@journal{lubricants} \gdef\@journalshort{Lubricants} \gdef\@journalfull{Lubricants} \gdef\@doiabbr{lubricants} \gdef\@ISSN{2075-4442} }
+\DeclareOption{machines}{ \gdef\@journal{machines} \gdef\@journalshort{Machines} \gdef\@journalfull{Machines} \gdef\@doiabbr{machines} \gdef\@ISSN{2075-1702} }
+\DeclareOption{magnetochemistry}{ \gdef\@journal{magnetochemistry} \gdef\@journalshort{Magnetochemistry} \gdef\@journalfull{Magnetochemistry} \gdef\@doiabbr{magnetochemistry} \gdef\@ISSN{2312-7481} }
+\DeclareOption{make}{ \gdef\@journal{make} \gdef\@journalshort{Mach. Learn. Knowl. Extr.} \gdef\@journalfull{Machine Learning and Knowledge Extraction} \gdef\@doiabbr{make} \gdef\@ISSN{2504-4990} }
+\DeclareOption{marinedrugs}{ \gdef\@journal{marinedrugs} \gdef\@journalshort{Mar. Drugs} \gdef\@journalfull{Marine Drugs} \gdef\@doiabbr{md} \gdef\@ISSN{1660-3397} }
+\DeclareOption{materials}{ \gdef\@journal{materials} \gdef\@journalshort{Materials} \gdef\@journalfull{Materials} \gdef\@doiabbr{ma} \gdef\@ISSN{1996-1944} }
+\DeclareOption{mathematics}{ \gdef\@journal{mathematics} \gdef\@journalshort{Mathematics} \gdef\@journalfull{Mathematics} \gdef\@doiabbr{math} \gdef\@ISSN{2227-7390} }
+\DeclareOption{mca}{ \gdef\@journal{mca} \gdef\@journalshort{Math. Comput. Appl.} \gdef\@journalfull{Mathematical and Computational Applications} \gdef\@doiabbr{mca} \gdef\@ISSN{2297-8747} }
+\DeclareOption{medicina}{ \gdef\@journal{medicina} \gdef\@journalshort{Medicina} \gdef\@journalfull{Medicina} \gdef\@doiabbr{medicina} \gdef\@ISSN{1010-660X} }
+\DeclareOption{medicines}{ \gdef\@journal{medicines} \gdef\@journalshort{Medicines} \gdef\@journalfull{Medicines} \gdef\@doiabbr{medicines} \gdef\@ISSN{2305-6320} }
+\DeclareOption{medsci}{ \gdef\@journal{medsci} \gdef\@journalshort{Med. Sci.} \gdef\@journalfull{Medical Sciences} \gdef\@doiabbr{medsci} \gdef\@ISSN{2076-3271} }
+\DeclareOption{membranes}{ \gdef\@journal{membranes} \gdef\@journalshort{Membranes} \gdef\@journalfull{Membranes} \gdef\@doiabbr{membranes} \gdef\@ISSN{2077-0375} }
+\DeclareOption{metabolites}{ \gdef\@journal{metabolites} \gdef\@journalshort{Metabolites} \gdef\@journalfull{Metabolites} \gdef\@doiabbr{metabo} \gdef\@ISSN{2218-1989} }
+\DeclareOption{metals}{ \gdef\@journal{metals} \gdef\@journalshort{Metals} \gdef\@journalfull{Metals} \gdef\@doiabbr{met} \gdef\@ISSN{2075-4701} }
+\DeclareOption{microarrays}{ \gdef\@journal{microarrays} \gdef\@journalshort{Microarrays} \gdef\@journalfull{Microarrays} \gdef\@doiabbr{} \gdef\@ISSN{2076-3905} }
+\DeclareOption{micromachines}{ \gdef\@journal{micromachines} \gdef\@journalshort{Micromachines} \gdef\@journalfull{Micromachines} \gdef\@doiabbr{mi} \gdef\@ISSN{2072-666X} }
+\DeclareOption{microorganisms}{ \gdef\@journal{microorganisms} \gdef\@journalshort{Microorganisms} \gdef\@journalfull{Microorganisms} \gdef\@doiabbr{microorganisms} \gdef\@ISSN{2076-2607} }
+\DeclareOption{minerals}{ \gdef\@journal{minerals} \gdef\@journalshort{Minerals} \gdef\@journalfull{Minerals} \gdef\@doiabbr{min} \gdef\@ISSN{2075-163X} }
+\DeclareOption{modelling}{ \gdef\@journal{modelling} \gdef\@journalshort{Modelling} \gdef\@journalfull{Modelling} \gdef\@doiabbr{} \gdef\@ISSN{0012-0012} }
+\DeclareOption{molbank}{ \gdef\@journal{molbank} \gdef\@journalshort{Molbank} \gdef\@journalfull{Molbank} \gdef\@doiabbr{M} \gdef\@ISSN{1422-8599} }
+\DeclareOption{molecules}{ \gdef\@journal{molecules} \gdef\@journalshort{Molecules} \gdef\@journalfull{Molecules} \gdef\@doiabbr{molecules} \gdef\@ISSN{1420-3049} }
+\DeclareOption{mps}{ \gdef\@journal{mps} \gdef\@journalshort{Methods Protoc.} \gdef\@journalfull{Methods and Protocols} \gdef\@doiabbr{mps} \gdef\@ISSN{2409-9279} }
+\DeclareOption{mti}{ \gdef\@journal{mti} \gdef\@journalshort{Multimodal Technol. Interact.} \gdef\@journalfull{Multimodal Technologies and Interaction} \gdef\@doiabbr{mti} \gdef\@ISSN{2414-4088} }
+\DeclareOption{nanomaterials}{ \gdef\@journal{nanomaterials} \gdef\@journalshort{Nanomaterials} \gdef\@journalfull{Nanomaterials} \gdef\@doiabbr{nano} \gdef\@ISSN{2079-4991} }
+\DeclareOption{ncrna}{ \gdef\@journal{ncrna} \gdef\@journalshort{Non-coding RNA} \gdef\@journalfull{Non-coding RNA} \gdef\@doiabbr{ncrna} \gdef\@ISSN{2311-553X} }
+\DeclareOption{ijns}{ \gdef\@journal{ijns} \gdef\@journalshort{Int. J. Neonatal Screen.} \gdef\@journalfull{International Journal of Neonatal Screening} \gdef\@doiabbr{ijns} \gdef\@ISSN{2409-515X} }
+\DeclareOption{neuroglia}{ \gdef\@journal{neuroglia} \gdef\@journalshort{Neuroglia} \gdef\@journalfull{Neuroglia} \gdef\@doiabbr{neuroglia} \gdef\@ISSN{2571-6980} }
+\DeclareOption{nitrogen}{ \gdef\@journal{nitrogen} \gdef\@journalshort{Nitrogen} \gdef\@journalfull{Nitrogen} \gdef\@doiabbr{nitrogen} \gdef\@ISSN{2504-3129} }
+\DeclareOption{notspecified}{ \gdef\@journal{notspecified} \gdef\@journalshort{Journal Not Specified} \gdef\@journalfull{Journal Not Specified} \gdef\@doiabbr{} \gdef\@ISSN{} }
+\DeclareOption{nutrients}{ \gdef\@journal{nutrients} \gdef\@journalshort{Nutrients} \gdef\@journalfull{Nutrients} \gdef\@doiabbr{nu} \gdef\@ISSN{2072-6643} }
+\DeclareOption{ohbm}{ \gdef\@journal{ohbm} \gdef\@journalshort{J. Otorhinolaryngol. Hear. Balance Med.} \gdef\@journalfull{Journal of Otorhinolaryngology, Hearing and Balance Medicine} \gdef\@doiabbr{ohbm} \gdef\@ISSN{2504-463X} }
+\DeclareOption{particles}{ \gdef\@journal{particles} \gdef\@journalshort{Particles} \gdef\@journalfull{Particles} \gdef\@doiabbr{particles} \gdef\@ISSN{2571-712X} }
+\DeclareOption{pathogens}{ \gdef\@journal{pathogens} \gdef\@journalshort{Pathogens} \gdef\@journalfull{Pathogens} \gdef\@doiabbr{pathogens} \gdef\@ISSN{2076-0817} }
+\DeclareOption{pharmaceuticals}{ \gdef\@journal{pharmaceuticals} \gdef\@journalshort{Pharmaceuticals} \gdef\@journalfull{Pharmaceuticals} \gdef\@doiabbr{ph} \gdef\@ISSN{1424-8247} }
+\DeclareOption{pharmaceutics}{ \gdef\@journal{pharmaceutics} \gdef\@journalshort{Pharmaceutics} \gdef\@journalfull{Pharmaceutics} \gdef\@doiabbr{pharmaceutics} \gdef\@ISSN{1999-4923} }
+\DeclareOption{pharmacy}{ \gdef\@journal{pharmacy} \gdef\@journalshort{Pharmacy} \gdef\@journalfull{Pharmacy} \gdef\@doiabbr{pharmacy} \gdef\@ISSN{2226-4787} }
+\DeclareOption{philosophies}{ \gdef\@journal{philosophies} \gdef\@journalshort{Philosophies} \gdef\@journalfull{Philosophies} \gdef\@doiabbr{philosophies} \gdef\@ISSN{2409-9287} }
+\DeclareOption{photonics}{ \gdef\@journal{photonics} \gdef\@journalshort{Photonics} \gdef\@journalfull{Photonics} \gdef\@doiabbr{photonics} \gdef\@ISSN{2304-6732} }
+\DeclareOption{physics}{ \gdef\@journal{physics} \gdef\@journalshort{Physics} \gdef\@journalfull{Physics} \gdef\@doiabbr{physics} \gdef\@ISSN{2624-8174} }
+\DeclareOption{plants}{ \gdef\@journal{plants} \gdef\@journalshort{Plants} \gdef\@journalfull{Plants} \gdef\@doiabbr{plants} \gdef\@ISSN{2223-7747} }
+\DeclareOption{plasma}{ \gdef\@journal{plasma} \gdef\@journalshort{Plasma} \gdef\@journalfull{Plasma} \gdef\@doiabbr{plasma} \gdef\@ISSN{2571-6182} }
+\DeclareOption{polymers}{ \gdef\@journal{polymers} \gdef\@journalshort{Polymers} \gdef\@journalfull{Polymers} \gdef\@doiabbr{polym} \gdef\@ISSN{2073-4360} }
+\DeclareOption{polysaccharides}{ \gdef\@journal{polysaccharides} \gdef\@journalshort{Polysaccharides} \gdef\@journalfull{Polysaccharides} \gdef\@doiabbr{} \gdef\@ISSN{} }
+\DeclareOption{preprints}{ \gdef\@journal{preprints} \gdef\@journalshort{Preprints} \gdef\@journalfull{Preprints} \gdef\@doiabbr{} \gdef\@ISSN{} }
+\DeclareOption{proceedings}{ \gdef\@journal{proceedings} \gdef\@journalshort{Proceedings} \gdef\@journalfull{Proceedings} \gdef\@doiabbr{proceedings} \gdef\@ISSN{2504-3900} }
+\DeclareOption{processes}{ \gdef\@journal{processes} \gdef\@journalshort{Processes} \gdef\@journalfull{Processes} \gdef\@doiabbr{pr} \gdef\@ISSN{2227-9717} }
+\DeclareOption{proteomes}{ \gdef\@journal{proteomes} \gdef\@journalshort{Proteomes} \gdef\@journalfull{Proteomes} \gdef\@doiabbr{proteomes} \gdef\@ISSN{2227-7382} }
+\DeclareOption{psych}{ \gdef\@journal{psych} \gdef\@journalshort{Psych} \gdef\@journalfull{Psych} \gdef\@doiabbr{psych} \gdef\@ISSN{2624-8611} }
+\DeclareOption{publications}{ \gdef\@journal{publications} \gdef\@journalshort{Publications} \gdef\@journalfull{Publications} \gdef\@doiabbr{publications} \gdef\@ISSN{2304-6775} }
+\DeclareOption{quantumrep}{ \gdef\@journal{quantumrep} \gdef\@journalshort{Quantum Rep.} \gdef\@journalfull{Quantum Reports} \gdef\@doiabbr{quantum} \gdef\@ISSN{2624-960X} }
+\DeclareOption{quaternary}{ \gdef\@journal{quaternary} \gdef\@journalshort{Quaternary} \gdef\@journalfull{Quaternary} \gdef\@doiabbr{quat} \gdef\@ISSN{2571-550X} }
+\DeclareOption{qubs}{ \gdef\@journal{qubs} \gdef\@journalshort{Quantum Beam Sci.} \gdef\@journalfull{Quantum Beam Science} \gdef\@doiabbr{qubs} \gdef\@ISSN{2412-382X} }
+\DeclareOption{reactions}{ \gdef\@journal{reactions} \gdef\@journalshort{Reactions} \gdef\@journalfull{Reactions} \gdef\@doiabbr{reactions} \gdef\@ISSN{2624-781X} }
+\DeclareOption{recycling}{ \gdef\@journal{recycling} \gdef\@journalshort{Recycling} \gdef\@journalfull{Recycling} \gdef\@doiabbr{recycling} \gdef\@ISSN{2313-4321} }
+\DeclareOption{religions}{ \gdef\@journal{religions} \gdef\@journalshort{Religions} \gdef\@journalfull{Religions} \gdef\@doiabbr{rel} \gdef\@ISSN{2077-1444} }
+\DeclareOption{remotesensing}{ \gdef\@journal{remotesensing} \gdef\@journalshort{Remote Sens.} \gdef\@journalfull{Remote Sensing} \gdef\@doiabbr{rs} \gdef\@ISSN{2072-4292} }
+\DeclareOption{reports}{ \gdef\@journal{reports} \gdef\@journalshort{Reports} \gdef\@journalfull{Reports} \gdef\@doiabbr{reports} \gdef\@ISSN{2571-841X} }
+\DeclareOption{resources}{ \gdef\@journal{resources} \gdef\@journalshort{Resources} \gdef\@journalfull{Resources} \gdef\@doiabbr{resources} \gdef\@ISSN{2079-9276} }
+\DeclareOption{risks}{ \gdef\@journal{risks} \gdef\@journalshort{Risks} \gdef\@journalfull{Risks} \gdef\@doiabbr{risks} \gdef\@ISSN{2227-9091} }
+\DeclareOption{robotics}{ \gdef\@journal{robotics} \gdef\@journalshort{Robotics} \gdef\@journalfull{Robotics} \gdef\@doiabbr{robotics} \gdef\@ISSN{2218-6581} }
+\DeclareOption{safety}{ \gdef\@journal{safety} \gdef\@journalshort{Safety} \gdef\@journalfull{Safety} \gdef\@doiabbr{safety} \gdef\@ISSN{2313-576X} }
+\DeclareOption{sci}{ \gdef\@journal{sci} \gdef\@journalshort{Sci} \gdef\@journalfull{Sci} \gdef\@doiabbr{sci} \gdef\@ISSN{2413-4155} }
+\DeclareOption{scipharm}{ \gdef\@journal{scipharm} \gdef\@journalshort{Sci. Pharm.} \gdef\@journalfull{Scientia Pharmaceutica} \gdef\@doiabbr{scipharm} \gdef\@ISSN{2218-0532} }
+\DeclareOption{sensors}{ \gdef\@journal{sensors} \gdef\@journalshort{Sensors} \gdef\@journalfull{Sensors} \gdef\@doiabbr{s} \gdef\@ISSN{1424-8220} }
+\DeclareOption{separations}{ \gdef\@journal{separations} \gdef\@journalshort{Separations} \gdef\@journalfull{Separations} \gdef\@doiabbr{separations} \gdef\@ISSN{2297-8739} }
+\DeclareOption{sexes}{ \gdef\@journal{sexes} \gdef\@journalshort{Sexes} \gdef\@journalfull{Sexes} \gdef\@doiabbr{} \gdef\@ISSN{2411-5118} }
+\DeclareOption{signals}{ \gdef\@journal{signals} \gdef\@journalshort{Signals} \gdef\@journalfull{Signals} \gdef\@doiabbr{signals} \gdef\@ISSN{2624-6120} }
+\DeclareOption{sinusitis}{ \gdef\@journal{sinusitis} \gdef\@journalshort{Sinusitis} \gdef\@journalfull{Sinusitis} \gdef\@doiabbr{sinusitis} \gdef\@ISSN{2309-107X} }
+\DeclareOption{smartcities}{ \gdef\@journal{smartcities} \gdef\@journalshort{Smart Cities} \gdef\@journalfull{Smart Cities} \gdef\@doiabbr{smartcities} \gdef\@ISSN{2624-6511} }
+\DeclareOption{sna}{ \gdef\@journal{sna} \gdef\@journalshort{Sinusitis Asthma} \gdef\@journalfull{Sinusitis and Asthma} \gdef\@doiabbr{sna} \gdef\@ISSN{2624-7003} }
+\DeclareOption{societies}{ \gdef\@journal{societies} \gdef\@journalshort{Societies} \gdef\@journalfull{Societies} \gdef\@doiabbr{soc} \gdef\@ISSN{2075-4698} }
+\DeclareOption{socsci}{ \gdef\@journal{socsci} \gdef\@journalshort{Soc. Sci.} \gdef\@journalfull{Social Sciences} \gdef\@doiabbr{socsci} \gdef\@ISSN{2076-0760} }
+\DeclareOption{soilsystems}{ \gdef\@journal{soilsystems} \gdef\@journalshort{Soil Syst.} \gdef\@journalfull{Soil Systems} \gdef\@doiabbr{soilsystems} \gdef\@ISSN{2571-8789} }
+\DeclareOption{sports}{ \gdef\@journal{sports} \gdef\@journalshort{Sports} \gdef\@journalfull{Sports} \gdef\@doiabbr{sports} \gdef\@ISSN{2075-4663} }
+\DeclareOption{standards}{ \gdef\@journal{standards} \gdef\@journalshort{Standards} \gdef\@journalfull{Standards} \gdef\@doiabbr{} \gdef\@ISSN{2305-6703} }
+\DeclareOption{stats}{ \gdef\@journal{stats} \gdef\@journalshort{Stats} \gdef\@journalfull{Stats} \gdef\@doiabbr{stats} \gdef\@ISSN{2571-905X} }
+\DeclareOption{surfaces}{ \gdef\@journal{surfaces} \gdef\@journalshort{Surfaces} \gdef\@journalfull{Surfaces} \gdef\@doiabbr{surfaces} \gdef\@ISSN{2571-9637} }
+\DeclareOption{surgeries}{ \gdef\@journal{surgeries} \gdef\@journalshort{Surgeries} \gdef\@journalfull{Surgeries} \gdef\@doiabbr{} \gdef\@ISSN{2017-2017} }
+\DeclareOption{sustainability}{ \gdef\@journal{sustainability} \gdef\@journalshort{Sustainability} \gdef\@journalfull{Sustainability} \gdef\@doiabbr{su} \gdef\@ISSN{2071-1050} }
+\DeclareOption{symmetry}{ \gdef\@journal{symmetry} \gdef\@journalshort{Symmetry} \gdef\@journalfull{Symmetry} \gdef\@doiabbr{sym} \gdef\@ISSN{2073-8994} }
+\DeclareOption{systems}{ \gdef\@journal{systems} \gdef\@journalshort{Systems} \gdef\@journalfull{Systems} \gdef\@doiabbr{systems} \gdef\@ISSN{2079-8954} }
+\DeclareOption{technologies}{ \gdef\@journal{technologies} \gdef\@journalshort{Technologies} \gdef\@journalfull{Technologies} \gdef\@doiabbr{technologies} \gdef\@ISSN{2227-7080} }
+\DeclareOption{test}{ \gdef\@journal{test} \gdef\@journalshort{Test} \gdef\@journalfull{Test} \gdef\@doiabbr{} \gdef\@ISSN{} }
+\DeclareOption{toxics}{ \gdef\@journal{toxics} \gdef\@journalshort{Toxics} \gdef\@journalfull{Toxics} \gdef\@doiabbr{toxics} \gdef\@ISSN{2305-6304} }
+\DeclareOption{toxins}{ \gdef\@journal{toxins} \gdef\@journalshort{Toxins} \gdef\@journalfull{Toxins} \gdef\@doiabbr{toxins} \gdef\@ISSN{2072-6651} }
+\DeclareOption{tropicalmed}{ \gdef\@journal{tropicalmed} \gdef\@journalshort{Trop. Med. Infect. Dis.} \gdef\@journalfull{Tropical Medicine and Infectious Disease} \gdef\@doiabbr{tropicalmed} \gdef\@ISSN{2414-6366} }
+\DeclareOption{universe}{ \gdef\@journal{universe} \gdef\@journalshort{Universe} \gdef\@journalfull{Universe} \gdef\@doiabbr{universe} \gdef\@ISSN{2218-1997} }
+\DeclareOption{urbansci}{ \gdef\@journal{urbansci} \gdef\@journalshort{Urban Sci.} \gdef\@journalfull{Urban Science} \gdef\@doiabbr{urbansci} \gdef\@ISSN{2413-8851} }
+\DeclareOption{vaccines}{ \gdef\@journal{vaccines} \gdef\@journalshort{Vaccines} \gdef\@journalfull{Vaccines} \gdef\@doiabbr{vaccines} \gdef\@ISSN{2076-393X} }
+\DeclareOption{vehicles}{ \gdef\@journal{vehicles} \gdef\@journalshort{Vehicles} \gdef\@journalfull{Vehicles} \gdef\@doiabbr{vehicles} \gdef\@ISSN{2624-8921} }
+\DeclareOption{vetsci}{ \gdef\@journal{vetsci} \gdef\@journalshort{Vet. Sci.} \gdef\@journalfull{Veterinary Sciences} \gdef\@doiabbr{vetsci} \gdef\@ISSN{2306-7381} }
+\DeclareOption{vibration}{ \gdef\@journal{vibration} \gdef\@journalshort{Vibration} \gdef\@journalfull{Vibration} \gdef\@doiabbr{vibration} \gdef\@ISSN{2571-631X} }
+\DeclareOption{viruses}{ \gdef\@journal{viruses} \gdef\@journalshort{Viruses} \gdef\@journalfull{Viruses} \gdef\@doiabbr{v} \gdef\@ISSN{1999-4915} }
+\DeclareOption{vision}{ \gdef\@journal{vision} \gdef\@journalshort{Vision} \gdef\@journalfull{Vision} \gdef\@doiabbr{vision} \gdef\@ISSN{2411-5150} }
+\DeclareOption{water}{ \gdef\@journal{water} \gdef\@journalshort{Water} \gdef\@journalfull{Water} \gdef\@doiabbr{w} \gdef\@ISSN{2073-4441} }
+\DeclareOption{wem}{ \gdef\@journal{wem} \gdef\@journalshort{Wildl. Ecol. Manag.} \gdef\@journalfull{Wildlife Ecology and Management} \gdef\@doiabbr{} \gdef\@ISSN{1234-4321} }
+\DeclareOption{wevj}{ \gdef\@journal{wevj} \gdef\@journalshort{World Electric Vehicle Journal} \gdef\@journalfull{World Electric Vehicle Journal} \gdef\@doiabbr{wevj} \gdef\@ISSN{2032-6653} }
\ No newline at end of file
diff --git a/papers/Mathematics/logo-mdpi.pdf b/papers/Mathematics/logo-mdpi.pdf
new file mode 100644
index 000000000..3791788e9
Binary files /dev/null and b/papers/Mathematics/logo-mdpi.pdf differ
diff --git a/papers/Mathematics/logo-orcid.pdf b/papers/Mathematics/logo-orcid.pdf
new file mode 100644
index 000000000..0c305e3ee
Binary files /dev/null and b/papers/Mathematics/logo-orcid.pdf differ
diff --git a/papers/Mathematics/logo-updates.pdf b/papers/Mathematics/logo-updates.pdf
new file mode 100644
index 000000000..c79d6b5c9
Binary files /dev/null and b/papers/Mathematics/logo-updates.pdf differ
diff --git a/papers/Mathematics/mdpi.bst b/papers/Mathematics/mdpi.bst
new file mode 100644
index 000000000..d259a0b0b
--- /dev/null
+++ b/papers/Mathematics/mdpi.bst
@@ -0,0 +1,1347 @@
+%% Bibliography style for MDPI journals
+
+ENTRY
+ { address
+ archiveprefix %
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ eprint %
+ doi
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ primaryclass %
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ url
+ urldate
+ nationality
+ }
+ {}
+ { label extra.label sort.label short.list }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block after.item }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #4 'after.item :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { output.state after.item =
+ {"; " * write$}
+ {add.period$ " " * write$}
+ if$}
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.checkwoa}
+{ 't :=
+ duplicate$ empty$
+ { pop$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {embolden}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\bf " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {website}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\url{" swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, f{.}}." format.name$ 't :=
+ nameptr #1 >
+ {
+ nameptr #10
+ #1 + =
+ numnames #10
+ > and
+ { "others" 't :=
+ #1 'namesleft := }
+ 'skip$
+ if$
+ namesleft #1 >
+ { "; " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ numnames #2 >
+ { "" * }
+ 'skip$
+ if$
+ t "others" =
+ {"; " * " et~al." * }
+ { "; " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", Eds." * }
+ { ", Ed." * }
+ if$
+ }
+ if$
+}
+
+
+
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title}
+ if$
+}
+
+FUNCTION {format.number.patent}
+{ number empty$
+ { "" }
+ { nationality empty$
+ { number}
+ { nationality " " * number *}
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.full.names}
+{'s :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.full}
+{ author empty$
+ { editor empty$
+ { "" }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+
+
+FUNCTION {author.full}
+{ author empty$
+ { "" }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.full}
+{ editor empty$
+ { "" }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.full
+ { type$ "proceedings" =
+ 'editor.full
+ 'author.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { " " year embolden * }
+ if$
+}
+
+FUNCTION {format.bdate}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { " " year * }
+ if$
+}
+
+FUNCTION {format.pdate}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ { " " year * }
+ { " " month * ", " * year * }
+ if$}
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "Vol." volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { ", " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " ed." * }
+ { edition "t" change.case$ " ed." * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pp." pages n.dashify tie.or.space.connect }
+ { "p." pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume emphasize field.or.null
+ number empty$
+ 'skip$
+ {
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ",~" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { edition empty$
+ {"In " booktitle emphasize *}
+ {"In " booktitle emphasize * ", " * edition * " ed." *}
+ if$
+ }
+ { edition empty$
+ {"In " booktitle emphasize * "; " * format.editors * }
+ {"In " booktitle emphasize * ", " * edition * " ed." * "; " * format.editors * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle.proc}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { edition empty$
+ {"In Proceedings of the " booktitle *}
+ {"In Proceedings of the " booktitle * ", " * edition * " ed." *}
+ if$
+ }
+ { edition empty$
+ {"In Proceedings of the " booktitle * "; " * format.editors * }
+ {"In Proceedings of the " booktitle * ", " * edition * " ed." * "; " * format.editors * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.publisher.and.address}
+{ publisher empty$
+ {""}
+ { address empty$
+ {publisher }
+ {publisher ": " * address *}
+ if$
+ }
+ if$
+}
+
+
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In \emph{" journal * "}" * }
+ if$
+ }
+ { "In " }
+ if$
+ " \citet{" * crossref * "}" *
+}
+
+
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Vol." volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { "" * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.website}
+{ url empty$
+ { "" }
+ { "" url website *
+ urldate empty$
+ {"there is url but no urldate in " cite$ * warning$}
+ { ", accessed on " * urldate *}
+ if$
+ }
+ if$
+}
+
+
+%% the following function is modified from kp.bst at http://arxiv.org/hypertex/bibstyles/
+FUNCTION {format.eprint}
+{eprint empty$
+ { ""}
+ {primaryClass empty$
+ {" \href{http://xxx.lanl.gov/abs/" eprint * "}" * "{{\normalfont " * "[" * eprint * "]" * "}}" *}
+ {archivePrefix empty$
+ {" \href{http://xxx.lanl.gov/abs/" eprint * "}" * "{{\normalfont " * "[" * "arXiv:" * primaryClass * "/" * eprint * "]" * "}}" *}
+ {" \href{http://xxx.lanl.gov/abs/" eprint * "}" * "{{\normalfont " * "[" * archivePrefix * ":" * primaryClass * "/" * eprint * "]" * "}}" *}
+ if$
+ }
+ if$
+ }
+if$
+}
+
+
+%% For printing DOI numbers (it is a hyperlink but printed in black)
+FUNCTION {formatfull.doi}
+{ doi empty$
+ { "" }
+ {"{\url{https://doi.org/" doi * "}}" * }
+ if$
+}
+
+
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.date * format.vol.num.pages "" * output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+format.eprint output
+new.block
+note output
+formatfull.doi output
+fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.edition output
+ after.item 'output.state :=
+ crossref missing$
+ { format.bvolume output
+ format.number.series output
+ format.publisher.and.address "publisher" output.check
+%%% address output
+ }
+ {
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.bdate "year" output.check
+ after.item 'output.state :=
+ format.chapter.pages output
+ format.eprint output
+ new.block
+ note output
+ formatfull.doi output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.bdate output
+ format.eprint output
+ new.block
+ note output
+ formatfull.doi output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+%%% new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ after.item 'output.state :=
+ format.number.series output
+%% new.sentence
+ format.publisher.and.address "publisher" output.check
+ format.bdate "year" output.check
+ after.item 'output.state :=
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ format.bdate "year" output.check
+ }
+ if$
+ format.eprint output
+ new.block
+ note output
+ formatfull.doi output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.sentence
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ after.item 'output.state :=
+ format.number.series output
+% new.sentence
+ format.publisher.and.address "publisher" output.check
+ format.bdate "year" output.check
+ after.item 'output.state :=
+ format.bvolume output
+ format.chapter.pages output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.eprint output
+ new.block
+ note output
+ formatfull.doi output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle.proc "booktitle" output.check
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.bdate "year" output.check
+ }
+ { after.item 'output.state :=
+ organization output
+ format.publisher.and.address output.nonnull
+ format.bdate "year" output.check
+ after.item 'output.state :=
+ }
+ if$
+ format.number.series output
+ format.bvolume output
+ format.pages output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.eprint output
+ new.block
+ note output
+ formatfull.doi output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.bdate output
+ format.eprint output
+ new.block
+ note output
+ formatfull.doi output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.bdate "year" output.check
+ format.eprint output
+ new.block
+ note output
+ formatfull.doi output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.bdate output
+ format.eprint output
+ new.block
+ note output
+ formatfull.doi output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.bdate "year" output.check
+ format.eprint output
+ new.block
+ note output
+ formatfull.doi output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.bdate "year" output.check
+ }
+ { address output.nonnull
+ format.bdate "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ format.eprint output
+ new.block
+ note output
+ formatfull.doi output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.bdate "year" output.check
+ format.eprint output
+ new.block
+ note output
+ formatfull.doi output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ format.eprint output
+ new.block
+ note output
+ formatfull.doi output
+ fin.entry
+}
+
+FUNCTION {www}
+{ output.bibitem
+ format.authors "author" output.checkwoa
+ new.block
+ format.title "title" output.check
+ new.block
+ format.website "url" output.check
+ format.eprint output
+ new.block
+ note output
+ formatfull.doi output
+ fin.entry
+}
+
+FUNCTION {patent}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.number.patent "number" output.check
+ mid.sentence 'output.state :=
+ format.pdate "date" output.check
+ format.eprint output
+ new.block
+ note output
+ formatfull.doi output
+ fin.entry
+}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ " \em{et~al.}" * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " \em{et~al.}" * }
+ { " and " * s #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+INTEGERS { seq.num }
+
+FUNCTION {init.seq}
+{ #0 'seq.num :=}
+
+EXECUTE {init.seq}
+
+FUNCTION {int.to.fix}
+{ "000000000" swap$ int.to.str$ *
+ #-1 #10 substring$
+}
+
+
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ seq.num #1 + 'seq.num :=
+ seq.num int.to.fix
+ 'sort.label :=
+ sort.label *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+
+STRINGS { longest.label last.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num number.label }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{ "\begin{thebibliography}{999}"
+ write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+
+
diff --git a/papers/Mathematics/mdpi.cls b/papers/Mathematics/mdpi.cls
new file mode 100644
index 000000000..aad304f8c
--- /dev/null
+++ b/papers/Mathematics/mdpi.cls
@@ -0,0 +1,1176 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% %% MDPI class for LaTeX files 15.2.2019 b
+%% %% For any information please send an e-mail to:
+%% %% latex@mdpi.com
+%% %%
+%% %% Initial class provided by:
+%% %% Stefano Mariani
+%% %% Modified by:
+%% %% Dietrich Rordorf
+%% %% Peter Harremoes
+%% %% Zeno Schumacher
+%% %% Maddalena Giulini
+%% %% Andres Gartmann
+%% %% Dr. Janine Daum
+%% %% Versions:
+%% %% v1.0 before Dr. Janine Daum
+%% %% v2.0 when Dr. Janine Daum started (March 2013)
+%% %% v3.0 after layout change (September 2015)
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%% IDENTIFICATION
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{mdpi}[15/02/2019 MDPI paper class]
+
+%%%% Copyright and citebox
+ \AtEndDocument{\par \cright}
+
+%% PRELIMINARY DECLARATIONS
+\LoadClass[10pt,a4paper]{article}
+\RequirePackage[T1]{fontenc}
+\RequirePackage[utf8]{inputenc}
+\RequirePackage{calc}
+\RequirePackage{indentfirst}
+\RequirePackage{fancyhdr}
+\RequirePackage{graphicx,epstopdf}
+\RequirePackage{lastpage}
+\RequirePackage{ifthen}
+\RequirePackage{float}
+\RequirePackage{amsmath}
+% TODO: Currently lineno needs to be loaded after amsmath because of conflict
+% https://github.com/latex-lineno/lineno/issues/5
+\RequirePackage{lineno}
+\RequirePackage{setspace}
+\RequirePackage{enumitem}
+\RequirePackage{mathpazo}
+\RequirePackage{booktabs} % For \toprule etc. in tables
+\RequirePackage[largestsep]{titlesec}
+\RequirePackage{etoolbox} % For \AtBeginDocument etc.
+\RequirePackage{tabto} % To use tab for alignment on first page
+\RequirePackage[table]{xcolor} % To provide color for soul (for english editing) and provide coloring for tables (author request)
+\RequirePackage{soul} % To highlight text
+\newcommand{\highlight}[1]{\colorbox{yellow}{#1}}
+\RequirePackage{multirow}
+\RequirePackage{microtype} % For command \textls[]{}
+\RequirePackage{tikz} % For \foreach used for Orcid icon
+\RequirePackage{totcount} % To enable extracting the value of the counter "page"
+
+
+%% OPTIONS
+%% To choose the journal
+% All journals (website name, full name, short name, DOI abbreviation, and ISSN) are defined in an extra file.
+% This is the same as for mdpi.cls.
+\input{journalnames}
+\DeclareOption{journal}{\ClassWarning{mdpi}{You used an invalid journal name or you have not specified the journal. The first option of the documentclass command specifies the journal. The word 'journal' should be replaced by one of the journal names specified in template.tex (in the comment 'Choose between the following MDPI journal').}}
+
+%% To choose the type of manuscript
+\DeclareOption{abstract}{\gdef\@arttype{Abstract}}
+\DeclareOption{addendum}{\gdef\@arttype{Addendum}}
+\DeclareOption{article}{\gdef\@arttype{Article}}
+\DeclareOption{benchmark}{\gdef\@arttype{Benchmark}}
+\DeclareOption{book}{\gdef\@arttype{Book}}
+\DeclareOption{bookreview}{\gdef\@arttype{Book Review}}
+\DeclareOption{briefreport}{\gdef\@arttype{Brief Report}}
+\DeclareOption{casereport}{\gdef\@arttype{Case Report}}
+\DeclareOption{changes}{\gdef\@arttype{Changes}}
+\DeclareOption{comment}{\gdef\@arttype{Comment}}
+\DeclareOption{commentary}{\gdef\@arttype{Commentary}}
+\DeclareOption{communication}{\gdef\@arttype{Communication}}
+\DeclareOption{conceptpaper}{\gdef\@arttype{Concept Paper}}
+\DeclareOption{conferenceproceedings}{\gdef\@arttype{Proceedings}}
+\DeclareOption{correction}{\gdef\@arttype{Correction}}
+\DeclareOption{conferencereport}{\gdef\@arttype{Conference Report}}
+\DeclareOption{expressionofconcern}{\gdef\@arttype{Expression of Concern}}
+\DeclareOption{extendedabstract}{\gdef\@arttype{Extended Abstract}}
+\DeclareOption{meetingreport}{\gdef\@arttype{Meeting Report}}
+\DeclareOption{creative}{\gdef\@arttype{Creative}}
+\DeclareOption{datadescriptor}{\gdef\@arttype{Data Descriptor}}
+\DeclareOption{discussion}{\gdef\@arttype{Discussion}}
+\DeclareOption{editorial}{\gdef\@arttype{Editorial}}
+\DeclareOption{essay}{\gdef\@arttype{Essay}}
+\DeclareOption{erratum}{\gdef\@arttype{Erratum}}
+\DeclareOption{hypothesis}{\gdef\@arttype{Hypothesis}}
+\DeclareOption{interestingimages}{\gdef\@arttype{Interesting Images}}
+\DeclareOption{letter}{\gdef\@arttype{Letter}}
+\DeclareOption{meetingreport}{\gdef\@arttype{Meeting Report}}
+\DeclareOption{newbookreceived}{\gdef\@arttype{New Book Received}}
+\DeclareOption{obituary}{\gdef\@arttype{Obituary}}
+\DeclareOption{opinion}{\gdef\@arttype{Opinion}}
+\DeclareOption{projectreport}{\gdef\@arttype{Project Report}}
+\DeclareOption{reply}{\gdef\@arttype{Reply}}
+\DeclareOption{retraction}{\gdef\@arttype{Retraction}}
+\DeclareOption{review}{\gdef\@arttype{Review}}
+\DeclareOption{perspective}{\gdef\@arttype{Perspective}}
+\DeclareOption{protocol}{\gdef\@arttype{Protocol}}
+\DeclareOption{shortnote}{\gdef\@arttype{Short Note}}
+\DeclareOption{supfile}{\gdef\@arttype{Supfile}}
+\DeclareOption{technicalnote}{\gdef\@arttype{Technical Note}}
+\DeclareOption{viewpoint}{\gdef\@arttype{Viewpoint}}
+
+%% To choose the status of the manuscript
+\DeclareOption{submit}{\gdef\@status{submit}}
+\DeclareOption{accept}{\gdef\@status{accept}}
+
+%% To choose the whether there is one or more authors
+\DeclareOption{oneauthor}{\gdef\@authornum{author}}
+\DeclareOption{moreauthors}{\gdef\@authornum{authors}}
+
+%% Add the chosen options to the class
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
+
+%% Defaults
+\ExecuteOptions{notspecified,10pt,a4paper,article,submit,oneauthor}
+
+%% Process options
+\ProcessOptions\relax
+
+%% MORE DECLARATIONS
+%%%% Maths environments
+\RequirePackage{amsthm}
+\newtheoremstyle{mdpi}% name
+{12pt}% space above
+{12pt}% space below
+{\itshape}% body font
+{}% indent amount 1
+{\bfseries}% theorem head font
+{.}% punctuation after theorem head
+{.5em}% space after theorem head
+{}% theorem head spec (can be left empty, meaning `normal')
+
+\renewcommand{\qed}{\unskip\nobreak\quad\qedsymbol} %% This places the symbol right after the text instead of placing it at the end on the line.
+
+\renewenvironment{proof}[1][\proofname]{\par %% \proofname allows to have "Proof of my theorem"
+ \pushQED{\qed}%
+ \normalfont \topsep6\p@\@plus6\p@\relax
+ \trivlist
+ \item[\hskip\labelsep
+ \bfseries %% "Proof" is bold
+ #1\@addpunct{.}]\ignorespaces %% Period instead of colon
+}{%
+ \popQED\endtrivlist\@endpefalse
+}
+
+ \theoremstyle{mdpi}
+ \newcounter{theorem}
+ \setcounter{theorem}{0}
+ \newtheorem{Theorem}[theorem]{Theorem}
+
+ \newcounter{lemma}
+ \setcounter{lemma}{0}
+ \newtheorem{Lemma}[lemma]{Lemma}
+
+ \newcounter{corollary}
+ \setcounter{corollary}{0}
+ \newtheorem{Corollary}[corollary]{Corollary}
+
+ \newcounter{proposition}
+ \setcounter{proposition}{0}
+ \newtheorem{Proposition}[proposition]{Proposition}
+
+ \newcounter{characterization}
+ \setcounter{characterization}{0}
+ \newtheorem{Characterization}[characterization]{Characterization}
+
+ \newcounter{property}
+ \setcounter{property}{0}
+ \newtheorem{Property}[property]{Property}
+
+ \newcounter{problem}
+ \setcounter{problem}{0}
+ \newtheorem{Problem}[problem]{Problem}
+
+ \newcounter{example}
+ \setcounter{example}{0}
+ \newtheorem{Example}[example]{Example}
+
+ \newcounter{examplesanddefinitions}
+ \setcounter{examplesanddefinitions}{0}
+ \newtheorem{ExamplesandDefinitions}[examplesanddefinitions]{Examples and Definitions}
+
+ \newcounter{remark}
+ \setcounter{remark}{0}
+ \newtheorem{Remark}[remark]{Remark}
+
+ \newcounter{definition}
+ \setcounter{definition}{0}
+ \newtheorem{Definition}[definition]{Definition}
+
+ \newcounter{hypothesis}
+ \setcounter{hypothesis}{0}
+ \newtheorem{Hypothesis}[hypothesis]{Hypothesis}
+
+ \newcounter{notation}
+ \setcounter{notation}{0}
+ \newtheorem{Notation}[notation]{Notation}
+
+%%%% Hyphenation
+\RequirePackage[none]{hyphenat}
+\sloppy
+
+%%%% References
+\RequirePackage[sort&compress,sectionbib]{natbib} % option sectionbib is for optionally organizing references using sections (author request)
+
+\ifthenelse{\equal{\@journal}{admsci}
+\OR \equal{\@journal}{arts}
+\OR \equal{\@journal}{econometrics}
+\OR \equal{\@journal}{economies}
+\OR \equal{\@journal}{genealogy}
+\OR \equal{\@journal}{humanities}
+\OR \equal{\@journal}{ijfs}
+\OR \equal{\@journal}{jrfm}
+\OR \equal{\@journal}{languages}
+\OR \equal{\@journal}{laws}
+\OR \equal{\@journal}{religions}
+\OR \equal{\@journal}{risks}
+\OR \equal{\@journal}{socsci}}{%
+ \bibliographystyle{chicago2}
+ \bibpunct{(}{)}{;}{x}{}{}%
+ }{%
+ \bibliographystyle{mdpi}
+ \bibpunct{[}{]}{,}{n}{}{}%
+ }%
+
+\renewcommand\NAT@set@cites{%
+ \ifNAT@numbers
+ \ifNAT@super \let\@cite\NAT@citesuper
+ \def\NAT@mbox##1{\unskip\nobreak\textsuperscript{##1}}%
+ \let\citeyearpar=\citeyear
+ \let\NAT@space\relax
+ \def\NAT@super@kern{\kern\p@}%
+ \else
+ \let\NAT@mbox=\mbox
+ \let\@cite\NAT@citenum
+ \let\NAT@space\relax
+ \let\NAT@super@kern\relax
+ \fi
+ \let\@citex\NAT@citexnum
+ \let\@biblabel\NAT@biblabelnum
+ \let\@bibsetup\NAT@bibsetnum
+ \renewcommand\NAT@idxtxt{\NAT@name\NAT@spacechar\NAT@open\NAT@num\NAT@close}%
+ \def\natexlab##1{}%
+ \def\NAT@penalty{\penalty\@m}%
+ \else
+ \let\@cite\NAT@cite
+ \let\@citex\NAT@citex
+ \let\@biblabel\NAT@biblabel
+ \let\@bibsetup\NAT@bibsetup
+ \let\NAT@space\NAT@spacechar
+ \let\NAT@penalty\@empty
+ \renewcommand\NAT@idxtxt{\NAT@name\NAT@spacechar\NAT@open\NAT@date\NAT@close}%
+ \def\natexlab##1{##1}%
+ \fi}
+
+%%%%% Hyperlinks
+%% Define color for citations
+\definecolor{bluecite}{HTML}{0875b7}
+
+\ifthenelse{\equal{\@arttype}{Book}}{
+ \RequirePackage[unicode=true,
+ bookmarksopen={true},
+ pdffitwindow=true,
+ colorlinks=true,
+ linkcolor=black,
+ citecolor=black,
+ urlcolor=black,
+ hyperfootnotes=false,
+ pdfstartview={FitH},
+ pdfpagemode=UseNone]{hyperref}
+ }{
+ \RequirePackage[unicode=true,
+ bookmarksopen={true},
+ pdffitwindow=true,
+ colorlinks=true,
+ linkcolor=bluecite,
+ citecolor=bluecite,
+ urlcolor=bluecite,
+ hyperfootnotes=false,
+ pdfstartview={FitH},
+ pdfpagemode= UseNone]{hyperref}
+}
+
+%% To have the possibility to change the urlcolor
+\newcommand{\changeurlcolor}[1]{\hypersetup{urlcolor=#1}}
+
+%% Metadata
+\newcommand{\org@maketitle}{}% LATEX-Check
+\let\org@maketitle\maketitle
+\def\maketitle{%
+ \hypersetup{
+ pdftitle={\@Title},
+ pdfsubject={\@abstract},
+ pdfkeywords={\@keyword},
+ pdfauthor={\@AuthorNames}
+ }%
+ \org@maketitle
+}
+
+%%%% Footnotes
+\RequirePackage[hang]{footmisc}
+\setlength{\skip\footins}{1.2cm}
+\setlength{\footnotemargin}{5mm}
+\def\footnoterule{\kern-14\p@
+\hrule \@width 2in \kern 11.6\p@}
+
+%%%% URL
+\RequirePackage{url}
+\urlstyle{same}
+\g@addto@macro{\UrlBreaks}{\UrlOrds}
+
+%%%% Widows & orphans
+\clubpenalty=10000
+\widowpenalty=10000
+\displaywidowpenalty=10000
+
+%%%% Front matter
+\newcommand{\firstargument}{}
+\newcommand{\Title}[1]{\gdef\@Title{#1}}%
+\newcommand{\Author}[1]{\gdef\@Author{#1}}%
+\def\@AuthorNames{}
+\newcommand{\AuthorNames}[1]{\gdef\@AuthorNames{#1}}%
+\newcommand{\firstpage}[1]{\gdef\@firstpage{#1}}
+\newcommand{\doinum}[1]{\gdef\@doinum{#1}}
+
+% DOI number
+\newcommand\twodigits[1]{%
+\ifnum#1<10
+0\number#1
+ \else
+\number#1
+\fi
+}
+
+\newcommand\fourdigits[1]{%
+\ifnum#1<10 000\number#1
+ \else
+ \ifnum#1<100 00\number#1
+ \else
+ \ifnum#1<1000 0\number#1
+ \else
+ \ifnum#1<10000 \number#1
+ \else
+ error
+ \fi
+ \fi
+ \fi
+ \fi
+}
+
+
+\ifthenelse{\equal{\@journal}{molbank}}{
+ \doinum{10.3390/\@articlenumber}
+ }{
+ \doinum{10.3390/\@doiabbr\@pubvolume\twodigits\@issuenum\fourdigits\@articlenumber}
+}
+
+
+\newcommand{\pubvolume}[1]{\gdef\@pubvolume{#1}}
+\newcommand{\pubyear}[1]{\gdef\@pubyear{#1}}
+\newcommand{\copyrightyear}[1]{\gdef\@copyrightyear{#1}}
+\newcommand{\address}[2][]{\renewcommand{\firstargument}{#1}\gdef\@address{#2}}
+\newcommand{\corresfirstargument}{}
+\def\@corres{}
+\newcommand{\corres}[2][]{\renewcommand{\corresfirstargument}{#1}\gdef\@corres{#2}}
+\def\@conference{}
+\newcommand{\conference}[1]{\gdef\@conference{#1}}%
+\def\@abstract{}
+\renewcommand{\abstract}[1]{\gdef\@abstract{#1}}
+\def\@externaleditor{}
+\newcommand{\externaleditor}[1]{\gdef\@externaleditor{#1}}
+\def\@LSID{}
+\newcommand{\LSID}[1]{\gdef\@LSID{#1}}
+\newcommand{\history}[1]{\gdef\@history{#1}}
+\def\@pacs{}
+\newcommand{\PACS}[1]{\gdef\@pacs{#1}}
+\def\@msc{}
+\newcommand{\MSC}[1]{\gdef\@msc{#1}}
+\def\@jel{}
+\newcommand{\JEL}[1]{\gdef\@jel{#1}}
+\def\@keyword{}
+\newcommand{\keyword}[1]{\gdef\@keyword{#1}}
+\def\@dataset{}
+\newcommand{\dataset}[1]{\gdef\@dataset{#1}}
+\def\@datasetlicense{}
+\newcommand{\datasetlicense}[1]{\gdef\@datasetlicense{#1}}
+\def\@featuredapplication{}
+\newcommand{\featuredapplication}[1]{\gdef\@featuredapplication{#1}}
+\def\@keycontribution{}
+\newcommand{\keycontribution}[1]{\gdef\@keycontribution{#1}}
+
+
+\def\@issuenum{}
+\newcommand{\issuenum}[1]{\gdef\@issuenum{#1}}
+\def\@updates{}
+\newcommand{\updates}[1]{\gdef\@updates{#1}}
+
+\def\@firstnote{}
+\newcommand{\firstnote}[1]{\gdef\@firstnote{#1}}
+\def\@secondnote{}
+\newcommand{\secondnote}[1]{\gdef\@secondnote{#1}}%
+\def\@thirdnote{}
+\newcommand{\thirdnote}[1]{\gdef\@thirdnote{#1}}%
+\def\@fourthnote{}
+\newcommand{\fourthnote}[1]{\gdef\@fourthnote{#1}}%
+\def\@fifthnote{}
+\newcommand{\fifthnote}[1]{\gdef\@fifthnote{#1}}%
+\def\@sixthnote{}
+\newcommand{\sixthnote}[1]{\gdef\@sixthnote{#1}}%
+\def\@seventhnote{}
+\newcommand{\seventhnote}[1]{\gdef\@seventhnote{#1}}%
+\def\@eighthnote{}
+\newcommand{\eighthnote}[1]{\gdef\@eighthnote{#1}}%
+
+\def\@simplesumm{}
+\newcommand{\simplesumm}[1]{\gdef\@simplesumm{#1}}
+\newcommand{\articlenumber}[1]{\gdef\@articlenumber{#1}}
+
+\def\@externalbibliography{}
+\newcommand{\externalbibliography}[1]{\gdef\@externalbibliography{#1}}
+
+\def\@reftitle{}
+\newcommand{\reftitle}[1]{\gdef\@reftitle{#1}}
+
+% For transition period to change back to continuous page numbers
+\def\@continuouspages{}
+\newcommand{\continuouspages}[1]{\gdef\@continuouspages{#1}}
+
+
+%% ORCID
+% Make Orcid icon
+\newcommand{\orcidicon}{\includegraphics[width=0.32cm]{logo-orcid.pdf}}
+
+% Define link and button for each author
+\foreach \x in {A, ..., Z}{%
+\expandafter\xdef\csname orcid\x\endcsname{\noexpand\href{https://orcid.org/\csname orcidauthor\x\endcsname}{\noexpand\orcidicon}}
+}
+
+%%%% Journal name for the header
+\newcommand{\journalname}{\@journalshort}
+
+
+\regtotcounter{page} % to enable extracting the value of the counter "page" using the totcount package
+
+%%%% Header and footer on first page
+%% The plain page style needs to be redefined because with \maketitle in the article class, LaTeX applies the the plain page style automatically to the first page.
+\ifthenelse{\equal{\@journal}{preprints} %
+ \OR \equal{\@arttype}{Book}}{%
+ \fancypagestyle{plain}{%
+ \fancyhf{}
+ \ifthenelse{\equal{\@arttype}{Book}}{
+ \fancyfoot[C]{\footnotesize\thepage}
+ }{%
+ }
+ }
+ }{%
+ \ifthenelse{\equal{\@arttype}{Supfile}}{
+ \fancypagestyle{plain}{
+ \fancyhf{}
+ \fancyhead[R]{
+ \footnotesize %
+ S\thepage{} of S\pageref*{LastPage}%
+ }%
+ \fancyhead[L]{
+ \footnotesize %
+ \ifthenelse{\equal{\@status}{submit}}{%
+ Version {\@ \today} submitted to {\em\journalname}%
+ }{%
+ {\em \journalname} %
+ {\bfseries \@pubyear}, %
+ {\em \@pubvolume}, %
+ \ifthenelse{\equal{\@continuouspages}{\@empty}}{%
+ \@firstpage --\pageref*{LastPage}%
+ }{%
+ \@articlenumber%
+ }%
+ ; doi:{\changeurlcolor{black}%
+ \href{http://dx.doi.org/\@doinum}%
+ {\@doinum}}%
+ }%
+ }%
+ }%
+ }{
+ \fancypagestyle{plain}{
+ \fancyhf{}
+ \fancyfoot[L]{
+ \footnotesize%
+ \ifthenelse{\equal{\@status}{submit}}{%
+ Submitted to {\em\journalname}, %
+ pages \thepage \ -- \color{black}{\pageref*{LastPage}}%
+ }{
+ {\em \journalname}\ %
+ {\bfseries \@pubyear}, %
+ {\em \@pubvolume}, %
+ \ifthenelse{\equal{\@continuouspages}{\@empty}}{%
+ \@articlenumber%
+ }{%
+ \@firstpage\ifnumcomp{\totvalue{page}-1}{=}{\@firstpage}{}{--\pageref*{LastPage}}%
+ }%
+ ; doi:{\changeurlcolor{black}%
+ \href{http://dx.doi.org/\@doinum}%
+ {\@doinum}}%
+ }%
+ }%
+ \fancyfoot[R]{
+ \footnotesize%
+ {\changeurlcolor{black}%
+ \href{http://www.mdpi.com/journal/\@journal}%
+ {www.mdpi.com/journal/\@journal}}%
+ }%
+ \fancyhead{}
+ \renewcommand{\headrulewidth}{0.0pt}%
+ }
+ }%
+ }%
+
+%%%% Maketitle part 1: Logo, Arttype, Title, Author
+\renewcommand{\@maketitle}{
+ \begin{flushleft}
+ \ifthenelse{\equal{\@arttype}{Supfile}}{%
+ \fontsize{18}{18}\selectfont
+ \raggedright
+ \noindent\textbf{Supplementary Materials: \@Title}%
+ \par
+ \vspace{12pt}
+ \fontsize{10}{10}\selectfont
+ \noindent\boldmath\bfseries{\@Author}
+ }{%
+ \ifthenelse{\equal{\@arttype}{Book}}{}{%
+ \vspace*{-1.75cm}
+ }
+ {%0
+ \ifthenelse{\equal{\@journal}{preprints}
+ \OR \equal{\@arttype}{Book}}{}{%
+ \ifthenelse{\equal{\@status}{submit}}{%
+ \hfill \href{http://www.mdpi.com}{%
+ \includegraphics[height=1cm]{logo-mdpi.pdf}}\vspace{0.5cm}%
+ }{
+ \href{http://www.mdpi.com/journal/\@journal}{
+ \includegraphics[height=1.2cm]{\@journal-logo.eps}}%
+ \hfill
+ \ifthenelse{\equal{\@journal}{proceedings}}{
+ \href{http://www.mdpi.com/journal/\@journal}{
+ \includegraphics[height=1.2cm]{logo-conference.eps}
+ \hfill}
+ }{}
+ \ifthenelse{\equal{\@journal}{scipharm}}{%
+ \href{http://www.mdpi.com}{\includegraphics[height=1cm]{logo-mdpi-scipharm.eps}}%
+ }{%
+ \href{http://www.mdpi.com}{\includegraphics[height=1cm]{logo-mdpi.pdf}}%
+ }%
+ }%
+ }%
+ \par
+ }%0
+ {%1
+ \vspace{14pt}
+ \fontsize{10}{10}\selectfont
+ \ifthenelse{\equal{\@arttype}{Book}}{}{
+ \textit{\@arttype}%
+ }%
+ \par%
+ }%1
+ {%2
+ \vspace{-1pt}
+ \fontsize{18}{18}\selectfont
+ \boldmath\bfseries{\@Title}
+ \par
+ \vspace{15pt}
+ }%2
+ {%3
+ \boldmath\bfseries{\@Author}
+ \par
+ \vspace{-4pt}
+ }%3
+ }
+ \end{flushleft}%
+ }
+
+% Commands for hanging indent
+\newcommand{\dist}{1.7em}
+\newcommand{\hang}{\hangafter=1\hangindent=\dist\noindent}
+
+%%%% Maketitle part 2
+\newcommand{\maketitlen}{
+\ifthenelse{\equal{\@arttype}{Book}}{\vspace{12pt}}{
+ \begin{flushleft}
+ \begin{spacing}{1.35}
+ \leftskip0.2cm
+ \fontsize{9}{9}\selectfont
+ {%
+ \ifthenelse{\equal{\firstargument}{1}}{}{%
+ \hang}\@address
+ \par
+ }%
+ {%
+ \ifthenelse{\equal{\@authornum}{author}}{}{%
+ \ifthenelse{\equal{\@corres}{\@empty}}{}{%
+ \hang\textbf{*} \tabto{\dist} \@corres}
+ \par
+ }
+ }%
+ {%
+ \ifthenelse{\equal{\@conference}{\@empty}}{}{%
+ \hang$\dagger$ \tabto{\dist} This paper is an extended version of our paper published in\space \@conference.}
+ \par
+ }%
+ {%
+ \ifthenelse{\equal{\@firstnote}{\@empty}}{}{%
+ \hang\ifthenelse{\equal{\@conference}{\@empty}}{$\dagger$}{$\ddagger$} \tabto{\dist} \@firstnote}
+ \par
+ }%
+ {%
+ \ifthenelse{\equal{\@secondnote}{\@empty}}{}{%
+ \hang \ifthenelse{\equal{\@conference}{\@empty}}{$\ddagger$}{\S} \tabto{\dist} \@secondnote}
+ \par
+ }%
+ {%
+ \ifthenelse{\equal{\@thirdnote}{\@empty}}{}{%
+ \hang \ifthenelse{\equal{\@conference}{\@empty}}{\S}{$\|$} \tabto{\dist} \@thirdnote}
+ \par
+ }%
+ {%
+ \ifthenelse{\equal{\@fourthnote}{\@empty}}{}{%
+ \hang \ifthenelse{\equal{\@conference}{\@empty}}{$\|$}{\P} \tabto{\dist} \@fourthnote}
+ \par
+ }%
+ {%
+ \ifthenelse{\equal{\@fifthnote}{\@empty}}{}{%
+ \hang \ifthenelse{\equal{\@conference}{\@empty}}{\P}{**} \tabto{\dist} \@fifthnote}
+ \par
+ }%
+ {%
+ \ifthenelse{\equal{\@sixthnote}{\@empty}}{}{%
+ \hang \ifthenelse{\equal{\@conference}{\@empty}}{**}{$\dagger\dagger$} \tabto{\dist} \@sixthnote}
+ \par
+ }%
+ {%
+ \ifthenelse{\equal{\@seventhnote}{\@empty}}{}{%
+ \hang \ifthenelse{\equal{\@conference}{\@empty}}{$\dagger\dagger$}{$\ddagger\ddagger$} \tabto{\dist} \@seventhnote}
+ \par
+ }%
+ {%
+ \ifthenelse{\equal{\@eighthnote}{\@empty}}{}{%
+ \hang \ifthenelse{\equal{\@conference}{\@empty}}{$\ddagger\ddagger$}{***} \tabto{\dist} \@eighthnote}
+ \par
+ }%
+ \vspace{6pt}
+ \ifthenelse{\equal{\@updates}{\@empty}}{
+ \ifthenelse{\equal{\@externaleditor}{\@empty}}{}{\@externaleditor}
+ \par
+ \ifthenelse{\equal{\@LSID}{\@empty}}{}{\@LSID}
+ \par
+ \ifthenelse{\equal{\@status}{submit}}{
+ Version {\@ \today} submitted to \journalname
+ }{
+ \mbox{\@history}
+ }
+ }{
+ \parbox[tb]{.79\textwidth}{
+ \ifthenelse{\equal{\@externaleditor}{\@empty}}{}{\@externaleditor}
+ \par
+ \ifthenelse{\equal{\@LSID}{\@empty}}{}{\@LSID}
+ \par
+ \ifthenelse{\equal{\@status}{submit}}{
+ Version {\@ \today} submitted to \journalname
+ }{
+ \mbox{\@history}
+ }
+ }
+ \parbox[b]{.19\textwidth}{
+ \hfill
+ \ifthenelse{\equal{\@updates}{\@empty}}{
+ }{
+ \href{http://www.mdpi.com/\@ISSN/\@pubvolume/\@issuenum/\@articlenumber?type=check_update&version=1}{\includegraphics[height=.6cm]{logo-updates.pdf}}%
+ }%
+ }%
+ }
+ \par
+ \vspace{-4pt}%
+ \end{spacing}
+ \end{flushleft}
+}
+}
+
+%%%% Abstract, keywords, journal data, PACS, MSC, JEL
+\newcommand{\abstractkeywords}{
+\vspace{-8pt}
+{% For journal Applied Sciences:
+\ifthenelse{\equal{\@featuredapplication}{\@empty}}{}{
+\begingroup
+\leftskip0.2cm
+\noindent\textbf{Featured Application:\space\@featuredapplication}
+\vspace{12pt}
+\par
+\endgroup}
+}%
+{%10
+\begingroup
+\leftskip0.2cm
+\ifthenelse{\equal{\@simplesumm}{\@empty}}{}{
+\noindent\textbf{Simple Summary:\space}\@simplesumm
+\vspace{12pt}
+\par
+}
+\ifthenelse{\equal{\@abstract}{\@empty}}{}{
+\noindent\textbf{Abstract:\space}\@abstract
+\vspace{12pt}
+\par
+}
+\endgroup
+}%10
+{% For journal Data:
+\ifthenelse{\equal{\@dataset}{\@empty}}{}{
+\begingroup
+\leftskip0.2cm
+\noindent\textbf{Dataset:\space}\@dataset
+\vspace{12pt}
+\par
+\endgroup}
+}%
+{%For journal Data:
+\ifthenelse{\equal{\@datasetlicense}{\@empty}}{}{
+\begingroup
+\leftskip0.2cm
+\noindent\textbf{Dataset License:\space}\@datasetlicense
+\vspace{12pt}
+\par
+\endgroup}
+}%
+{%11
+\begingroup
+\leftskip0.2cm
+\ifthenelse{\equal{\@keyword}{\@empty}}{}{
+\noindent\textbf{Keywords:\space}\@keyword
+\vspace{12pt}
+\par
+}
+\endgroup
+}%11
+{%For journal Toxins:
+\begingroup
+\leftskip0.2cm
+\ifthenelse{\equal{\@keycontribution}{\@empty}}{}{
+\noindent\textbf{Key Contribution:\space}\@keycontribution
+\vspace{12pt}
+\par
+}
+\endgroup
+}%11
+{%12
+\ifthenelse{\equal{\@pacs}{\@empty}}{}{
+\begingroup
+\leftskip0.2cm
+\noindent\textbf{PACS:\space}\@pacs
+\vspace{12pt}
+\par
+\endgroup}
+}%12
+{%13
+\ifthenelse{\equal{\@msc}{\@empty}}{}{
+\begingroup
+\leftskip0.2cm
+\noindent\textbf{MSC:\space}\@msc
+\vspace{12pt}
+\par
+\endgroup}
+}%13
+{%14
+\ifthenelse{\equal{\@jel}{\@empty}}{}{
+\begingroup
+\leftskip0.2cm
+\noindent\textbf{JEL Classification:\space}\@jel
+\vspace{12pt}
+\par
+\endgroup}
+}%14
+\vspace{4pt}
+\ifthenelse{\equal{\@arttype}{Book}}{}{\hrule}
+\vspace{12pt}
+}
+
+
+%%%% Print maketitle and abstractkeywords
+\ifthenelse{\equal{\@arttype}{Supfile}}{
+ \AfterEndPreamble{
+ \maketitle
+ \let\maketitle\relax
+ \ifthenelse{\equal{\@status}{submit}}{\linenumbers}{}
+ }%
+ }{
+ \AfterEndPreamble{
+ \maketitle
+ \let\maketitle\relax
+ \maketitlen
+ \let\maketitlen\relax
+ \ifthenelse{\equal{\@status}{submit}}{\linenumbers}{}
+ \abstractkeywords
+ }%
+ }
+\AtBeginDocument{
+ \DeclareSymbolFont{AMSb}{U}{msb}{m}{n}
+ \DeclareSymbolFontAlphabet{\mathbb}{AMSb}
+ }
+
+%%%% Font size in Tables
+\AtEndPreamble{
+ \def\@tablesize{}
+ \newcommand{\tablesize}[1]{\gdef\@tablesize{#1}}
+ \let\oldtabular\tabular
+ \renewcommand{\tabular}{\ifthenelse{\equal{\@tablesize}{\@empty}}{\small}{\@tablesize}\oldtabular}
+}
+
+%%%% Section headings
+\setcounter{secnumdepth}{4} %i.e., section numbering depth, which defaults to 3 in the article class. To get paragraphs numbered and counted, increase the default value of secnumdepth to 4
+
+\titleformat {\section} [block] {\raggedright \fontsize{10}{10}\selectfont\bfseries} {\thesection.\space} {0pt} {}
+\titlespacing {\section} {0pt} {12pt} {6pt}
+
+\titleformat {\subsection} [block] {\raggedright \fontsize{10}{10}\selectfont\itshape} {\thesubsection.\space} {0pt} {}
+\titlespacing {\subsection} {0pt} {12pt} {6pt}
+
+\titleformat {\subsubsection} [block] {\raggedright \fontsize{10}{10}\selectfont} {\thesubsubsection.\space} {0pt} {}
+\titlespacing {\subsubsection} {0pt} {12pt} {6pt}
+
+\titleformat {\paragraph} [block] {\raggedright \fontsize{10}{10}\selectfont} {} {0pt} {}
+\titlespacing {\paragraph} {0pt} {12pt} {6pt}
+
+%%%% Special section title style for back matter
+\newcommand{\supplementary}[1]{
+\par\vspace{6pt}\noindent{\fontsize{9}{9}\selectfont\textbf{Supplementary Materials:} {#1}\par}}
+
+\newcommand{\acknowledgments}[1]{
+\vspace{6pt}\noindent{\fontsize{9}{9}\selectfont\textbf{Acknowledgments:} {#1}\par}}
+
+\newcommand{\authorcontributions}[1]{%
+\vspace{6pt}\noindent{\fontsize{9}{9}\selectfont\textbf{Author Contributions:} {#1}\par}}
+
+\newcommand{\funding}[1]{
+\vspace{6pt}\noindent{\fontsize{9}{9}\selectfont\textbf{Funding:} {#1}\par}}
+
+\newcommand{\conflictsofinterest}[1]{%
+\vspace{6pt}\noindent{\fontsize{9}{9}\selectfont\textbf{Conflicts of Interest:} {#1}\par}}
+
+\newcommand{\conflictofinterest}[1]{% Backwards compatibility for book prodcution
+\vspace{6pt}\noindent{\fontsize{9}{9}\selectfont\textbf{Conflicts of Interest:} {#1}\par}}
+
+\newcommand{\conflictofinterests}[1]{% Backwards compatibility for book prodcution
+\vspace{6pt}\noindent{\fontsize{9}{9}\selectfont\textbf{Conflicts of Interest:} {#1}\par}}
+
+\newcommand{\sampleavailability}[1]{%
+\vspace{12pt}\noindent{\fontsize{9}{9}\selectfont\textbf{Sample Availability:} {#1}\par}}
+
+\newcommand{\reviewreports}[1]{%
+\vspace{12pt}\noindent{\fontsize{9}{9}\selectfont\textbf{Review Reports:} {#1}\par}}
+
+\newcommand{\abbreviations}[1]{%
+\vspace{12pt}\noindent{\selectfont\textbf{Abbreviations}\par\vspace{6pt}\noindent {\fontsize{9}{9}\selectfont #1}\par}}
+
+%%%%% Defines the appendix
+\def\@appendixtitles{}
+\newcommand{\appendixtitles}[1]{\gdef\@appendixtitles{#1}}
+
+\def\@appendixsections{}
+\newcommand{\appendixsections}[1]{\gdef\@appendixsections{#1}}
+
+\renewcommand{\appendix}{%
+\setcounter{section}{0}%
+\setcounter{subsection}{0}%
+\setcounter{subsubsection}{0}%
+%
+\gdef\thesection{\@Alph\c@section}%
+\gdef\thesubsection{\@Alph\c@section.\@arabic\c@subsection}%
+%
+\titleformat {\section} [block] {\raggedright \fontsize{10}{10}\selectfont\bfseries} {%
+ \ifthenelse{\equal{\@appendixtitles}{yes}}{%
+ \appendixname~\thesection.%
+ }{%
+ \appendixname~\thesection~%
+ }
+ } {0pt} {}
+\titlespacing {\section} {0pt} {12pt} {6pt}
+%
+\titleformat {\subsection} [block] {\raggedright \fontsize{10}{10}\selectfont\itshape} {%
+ \ifthenelse{\equal{\@appendixtitles}{yes}}{%
+ \appendixname~\thesubsection.%
+ }{%
+ \appendixname~\thesubsection%
+ }
+ } {0pt} {}
+\titlespacing {\subsection} {0pt} {12pt} {6pt}
+%
+\titleformat {\subsubsection} [block] {\raggedright \fontsize{10}{10}\selectfont} {%
+ \ifthenelse{\equal{\@appendixtitles}{yes}}{%
+ \appendixname~\thesubsubsection.%
+ }{%
+ \appendixname~\thesubsubsection%
+ }
+ } {0pt} {}
+\titlespacing {\subsubsection} {0pt} {12pt} {6pt}
+%
+\gdef\theHsection{\@Alph\c@section.}% for hyperref
+\gdef\theHsubsection{\@Alph\c@section.\@arabic\c@subsection}% for hyperref
+\csname appendixmore\endcsname
+\renewcommand{\thefigure}{A\arabic{figure}}
+\setcounter{figure}{0}
+\renewcommand{\thetable}{A\arabic{table}}
+\setcounter{table}{0}
+\renewcommand{\thescheme}{A\arabic{scheme}}
+\setcounter{scheme}{0}
+\renewcommand{\thechart}{A\arabic{chart}}
+\setcounter{chart}{0}
+\renewcommand{\theboxenv}{A\arabic{boxenv}}
+\setcounter{boxenv}{0}
+\renewcommand{\theequation}{A\arabic{equation}}
+\setcounter{equation}{0}
+\renewcommand{\thetheorem}{A\arabic{theorem}}
+\setcounter{theorem}{0}
+\renewcommand{\thelemma}{A\arabic{lemma}}
+\setcounter{lemma}{0}
+\renewcommand{\thecorollary}{A\arabic{corollary}}
+\setcounter{corollary}{0}
+\renewcommand{\theproposition}{A\arabic{proposition}}
+\setcounter{proposition}{0}
+\renewcommand{\thecharacterization}{A\arabic{characterization}}
+\setcounter{characterization}{0}
+\renewcommand{\theproperty}{A\arabic{property}}
+\setcounter{property}{0}
+\renewcommand{\theproblem}{A\arabic{problem}}
+\setcounter{problem}{0}
+\renewcommand{\theexample}{A\arabic{example}}
+\setcounter{example}{0}
+\renewcommand{\theexamplesanddefinitions}{A\arabic{examplesanddefinitions}}
+\setcounter{examplesanddefinitions}{0}
+\renewcommand{\theremark}{A\arabic{remark}}
+\setcounter{remark}{0}
+\renewcommand{\thedefinition}{A\arabic{definition}}
+\setcounter{definition}{0}
+\renewcommand{\thehypothesis}{A\arabic{hypothesis}}
+\setcounter{hypothesis}{0}
+\renewcommand{\thenotation}{A\arabic{notation}}
+\setcounter{notation}{0}
+}
+
+%%%% Layout
+\ifthenelse{\equal{\@arttype}{Book}}{%%
+ \RequirePackage[left=2.05cm,
+ right=2.05cm,
+ top=2.05cm,
+ bottom=2.05cm,
+ paperwidth=170mm,
+ paperheight=244mm,
+ includehead,
+ includefoot]{geometry}
+ }{
+ \RequirePackage[left=2.7cm,
+ right=2.7cm,
+ top=1.8cm,
+ bottom=1.5cm,
+ includehead,
+ includefoot]{geometry}
+ }
+
+\linespread{1.13}
+\setlength{\parindent}{0.75cm}
+
+%%%% Figures and tables
+\RequirePackage{newfloat}
+\DeclareFloatingEnvironment[]{listing}
+\DeclareFloatingEnvironment[name=Box]{boxenv}
+\DeclareFloatingEnvironment[]{chart}
+\DeclareFloatingEnvironment[]{scheme}
+
+\RequirePackage{caption}
+\captionsetup[figure]{position=bottom, margin=0.75cm, labelfont={bf, small, stretch=1.17}, labelsep=period, textfont={small, stretch=1.17}, aboveskip=6pt, belowskip=-6pt, justification=justified}
+
+\captionsetup[scheme]{position=bottom, margin=0.75cm, labelfont={bf, small, stretch=1.17}, labelsep=period, textfont={small, stretch=1.17}, aboveskip=6pt, belowskip=-6pt, justification=justified}
+
+\captionsetup[listing]{position=top, margin=0.75cm, labelfont={bf, small, stretch=1.17}, labelsep=period, textfont={small, stretch=1.17}, aboveskip=6pt, justification=justified}
+
+\captionsetup[chart]{position=bottom, margin=0.75cm, labelfont={bf, small, stretch=1.17}, labelsep=period, textfont={small, stretch=1.17}, aboveskip=6pt, belowskip=-6pt, justification=justified}
+
+\captionsetup[table]{position=top, margin=0.75cm, labelfont={bf, small, stretch=1.17}, labelsep=period, textfont={small, stretch=1.17}, aboveskip=6pt, justification=justified}
+
+\captionsetup[boxenv]{position=top, margin=0.75cm, labelfont={bf, small, stretch=1.17}, labelsep=period, textfont={small, stretch=1.17}, aboveskip=6pt,justification=justified}
+
+
+
+%% For table footnotes
+\newsavebox{\@justcentbox}
+\newcommand{\justifyorcenter}[1]{
+\sbox \@justcentbox{#1}
+\ifdim \wd \@justcentbox >\hsize #1
+\else \centerline{#1} \fi
+}
+
+%%%% Bullet lists
+\newlength{\wideitemsep}
+\setlength{\wideitemsep}{.5\itemsep}
+\addtolength{\wideitemsep}{-7pt}
+\let\olditem\item
+\renewcommand{\item}{\setlength{\itemsep}{\wideitemsep}\olditem}
+
+%%%% Quote environment
+\patchcmd{\quote}{\rightmargin}{\leftmargin 0.75cm \rightmargin}{}{}
+
+%%%% Supplementary file
+\ifthenelse{\equal{\@arttype}{Supfile}}{
+ \renewcommand{\thefigure}{S\arabic{figure}}%
+ \renewcommand{\thetable}{S\arabic{table}}%
+ }{}%
+
+%% Link to supplementary material: www.mdpi.com/ISSN-number/volume-number/issue-number/article-number
+\newcommand{\linksupplementary}[1]{\url{http://www.mdpi.com/\@ISSN/\@pubvolume/\@issuenum/\@articlenumber/#1}}
+
+%%%% Header and footer (all pages except the first)
+\renewcommand\headrule{} %% set line (from fancyhdr) in header to nothing
+\pagestyle{fancy}
+\lhead{
+ \ifthenelse{\equal{\@journal}{preprints}%
+ \OR \equal{\@arttype}{Book}}{%
+ }{%
+ \fontsize{8}{8}\selectfont%
+ \ifthenelse{\equal{\@status}{submit}}{%
+ Version {\@ \today} submitted to {\em \journalname}%
+ }{%
+ \ifthenelse{\equal{\@arttype}{Supfile}}{%
+ {\em \journalname} {\bfseries \@pubyear}, {\em \@pubvolume} %
+ %\ifthenelse{\equal{\@articlenumber}{}}{%
+ %\@firstpage --\pageref*{LastPage}%
+ %}{\@articlenumber}%
+ ; doi:{\changeurlcolor{black}%
+ \href{http://dx.doi.org/\@doinum}%
+ {\@doinum}}%
+ }{%
+ {\em\journalname\ }{\bfseries\@pubyear}, {\em \@pubvolume}%
+ \ifthenelse{\equal{\@continuouspages}{\@empty}}{%
+ , \@articlenumber%
+ }{%
+ }%
+ }%
+ }%
+ }%
+ }
+
+\rhead{%
+\ifthenelse{\equal{\@arttype}{Book}}{}{%
+ \ifthenelse{\equal{\@arttype}{Supfile}}{%
+ \fontsize{8}{8}\selectfont S\thepage{} of S\pageref*{LastPage}%
+ }{%
+ \ifthenelse{\equal{\@continuouspages}{\@empty}}{%
+ \fontsize{8}{8}\selectfont\thepage{} of \pageref*{LastPage}%
+ }{%
+ \fontsize{8}{8}\selectfont\thepage%{} of \pageref*{LastPage}%
+ }%
+ }%
+ }%
+}
+
+\cfoot{
+ \ifthenelse{\equal{\@arttype}{Book}}{%
+ \fontsize{8}{8}\selectfont\thepage
+ }{%
+ }
+}
+
+
+%%%% Bibliography
+\renewcommand\bibname{References} % Backwards compatibility for book production
+\renewcommand\@biblabel[1]{#1.\hfill}
+\def\thebibliography#1{
+\linespread{1.44}
+\section*{\@reftitle}
+\addcontentsline{toc}{section}{References}
+\fontsize{9}{9}\selectfont
+\list{{\arabic{enumi}}}{\def\makelabel##1{\hss{##1}}
+\topsep=0\p@
+\parsep=5\p@
+\partopsep=0\p@
+\itemsep=0\p@
+\labelsep=1.5mm
+\ifthenelse{\equal{\@journal}{admsci}
+\OR \equal{\@journal}{arts}
+\OR \equal{\@journal}{econometrics}
+\OR \equal{\@journal}{economies}
+\OR \equal{\@journal}{genealogy}
+\OR \equal{\@journal}{humanities}
+\OR \equal{\@journal}{ijfs}
+\OR \equal{\@journal}{jrfm}
+\OR \equal{\@journal}{languages}
+\OR \equal{\@journal}{laws}
+\OR \equal{\@journal}{religions}
+\OR \equal{\@journal}{risks}
+\OR \equal{\@journal}{socsci}}{%
+ \ifthenelse{\equal{\@externalbibliography}{\@empty}}{%
+ \itemindent=-7.7mm
+ }{%
+ \itemindent=-3.3mm}%
+ }{%
+ \itemindent=0\p@}
+\settowidth\labelwidth{\footnotesize[#1]}%
+\leftmargin\labelwidth
+\advance\leftmargin\labelsep
+%\advance\leftmargin -\itemindent
+\usecounter{enumi}}
+%\def\newblock{\ }
+%\sloppy\clubpenalty4000\widowpenalty4000
+%\sfcode`\.=1000\relax
+}
+\let\endthebibliography=\endlist
+
+%%%% Copyright info
+\newcommand{\cright}{%
+ \ifthenelse{\equal{\@arttype}{Supfile} \OR \equal{\@journal}{preprints}}{%
+ }{%
+ \vspace{12pt}
+ \noindent
+ \linespread{1.44}
+ \fontsize{9}{9}\selectfont
+ \ifthenelse{\equal{\@status}{submit}}{
+ \noindent \copyright{} {\@ \the\year} by the \@authornum. %
+ Submitted to {\em \journalname} for %
+ possible open access publication %
+ under the terms and conditions of the Creative Commons Attribution %
+ \ifthenelse{\equal{\@journal}{ijtpp}}{NonCommercial NoDerivatives (CC BY-NC-ND)}{(CC BY)} %
+ license %
+ \ifthenelse{\equal{\@journal}{ijtpp}}{
+ (\changeurlcolor{black}%
+ \href{https://creativecommons.org/licenses/by-nc-nd/4.0/.}%
+ {https://creativecommons.org/licenses/by-nc-nd/4.0/}).%
+ }{%
+ (\changeurlcolor{black}%
+ \href{http://creativecommons.org/licenses/by/4.0/.}%
+ {http://creativecommons.org/licenses/by/4.0/}).}
+ }{
+ \begin{minipage}{.2\textwidth}
+ \hspace{-1.2mm}%
+ \vspace{2mm}%
+ \href{http://creativecommons.org/}{%
+ \ifthenelse{\equal{\@journal}{ijtpp}}{%
+ \includegraphics[width=0.94\textwidth]{logo-ccby-nc-nd.eps}%
+ }{%
+ \includegraphics[width=0.94\textwidth]{logo-ccby.pdf}
+ }
+ }
+ \end{minipage}%
+ \begin{minipage}{.79\textwidth}
+ \copyright \ {\@copyrightyear} by the \@authornum. %
+ Licensee MDPI, Basel, Switzerland. %
+ This article is an open access article %
+ distributed under the terms and conditions %
+ of the Creative Commons Attribution %
+ \ifthenelse{\equal{\@journal}{ijtpp}}{NonCommercial NoDerivatives (CC BY-NC-ND)}{(CC BY)} %
+ license %
+ \ifthenelse{\equal{\@journal}{ijtpp}}{
+ (\changeurlcolor{black}%
+ \href{https://creativecommons.org/licenses/by-nc-nd/4.0/.}%
+ {https://creativecommons.org/licenses/by-nc-nd/4.0/}).%
+ }{%
+ (\changeurlcolor{black}%
+ \href{http://creativecommons.org/licenses/by/4.0/.}%
+ {http://creativecommons.org/licenses/by/4.0/}).}
+ \end{minipage}
+ }
+ }
+ }
+
+
+\endinput
diff --git a/papers/Mathematics/mybibfile.bib b/papers/Mathematics/mybibfile.bib
new file mode 100644
index 000000000..463fd9e2b
--- /dev/null
+++ b/papers/Mathematics/mybibfile.bib
@@ -0,0 +1,162 @@
+@article{leys2019outliers,
+ title = {How to Classify, Detect, and Manage Univariate and Multivariate Outliers, With Emphasis on Pre-Registration},author = {Leys, Christophe and Delacre, Marie and Mora, Youri L. and Lakens, Daniël and Ley, Christophe},
+ journal = {International Review of Social Psychology},
+ year = {2019},
+ doi = {10.5334/irsp.289}
+}
+
+@article{leys2013outliers,
+ title = {Detecting outliers: Do not use standard deviation around the mean, use absolute deviation around the median},
+ author = {Christophe Leys and Christophe Ley and Olivier Klein and Philippe Bernard and Laurent Licata},
+ journal = {Journal of Experimental Social Psychology},
+ volume = {49},
+ number = {4},
+ pages = {764-766},
+ year = {2013},
+ doi = {10.1016/j.jesp.2013.03.013},
+ url = {https://doi.org/10.1016/j.jesp.2013.03.013}
+}
+
+@article{leys2018outliers,
+ title = {Detecting multivariate outliers: Use a robust variant of the Mahalanobis distance},
+ journal = {Journal of Experimental Social Psychology},
+ volume = {74},
+ pages = {150-156},
+ year = {2018},
+ issn = {0022-1031},
+ doi = {10.1016/j.jesp.2017.09.011},
+ url = {https://www.sciencedirect.com/science/article/pii/S0022103117302123},
+ author = {Christophe Leys and Olivier Klein and Yves Dominicy and Christophe Ley},
+}
+
+@article{simmons2011false,
+ author = {Joseph P. Simmons and Leif D. Nelson and Uri Simonsohn},
+ title ={False-Positive Psychology: Undisclosed Flexibility in Data Collection and Analysis Allows Presenting Anything as Significant},
+ journal = {Psychological Science},
+ volume = {22},
+ number = {11},
+ pages = {1359-1366},
+ year = {2011},
+ doi = {10.1177/0956797611417632},
+ URL = {https://doi.org/10.1177/0956797611417632},
+}
+
+@Article{easystatspackage,
+ title = {easystats: Framework for Easy Statistical Modeling, Visualization, and Reporting},
+ author = {Daniel Lüdecke and Mattan S. Ben-Shachar and Indrajeet Patil and Brenton M. Wiernik and Etienne Bacher and Rémi Thériault and Dominique Makowski},
+ journal = {CRAN},
+ year = {2022},
+ note = {R package},
+ url = {https://easystats.github.io/easystats/},
+ }
+
+@Article{ludecke2021performance,
+ author = {Daniel Lüdecke and Mattan S. Ben-Shachar and Indrajeet Patil and Philip Waggoner and Dominique Makowski},
+ title = {{performance}: An R package for assessment, comparison and testing of statistical models},
+ volume = {6},
+ number = {60},
+ journal = {Journal of Open Source Software},
+ year = {2021},
+ pages = {3139},
+ doi = {10.21105/joss.03139},
+ url = {https://doi.org/10.21105/joss.03139}
+ }
+
+@Article{patil2022datawizard,
+ title = {{datawizard}: An {R} package for easy data preparation and statistical transformations},
+ author = {Indrajeet Patil and Dominique Makowski and Mattan S. Ben-Shachar and Brenton M. Wiernik and Etienne Bacher and Daniel Lüdecke},
+ journal = {Journal of Open Source Software},
+ year = {2022},
+ volume = {7},
+ number = {78},
+ pages = {4684},
+ doi = {10.21105/joss.04684},
+ }
+
+@article{cook1977detection,
+ author = {R. Dennis Cook},
+ title = {Detection of Influential Observation in Linear Regression},
+ journal = {Technometrics},
+ volume = {19},
+ number = {1},
+ pages = {15-18},
+ year = {1977},
+ publisher = {Taylor & Francis},
+ doi = {10.1080/00401706.1977.10489493}
+}
+
+@book{iglewicz1993outliers,
+ title = {How to detect and handle outliers (Vol. 16)},
+ publisher = {Asq Press},
+ author = {Iglewicz, B. and Hoaglin, D. C},
+ year = {1993}
+}
+
+@article{gnanadesikan1972robust,
+ title = {Robust estimates, residuals, and outlier detection with multiresponse data},
+ author = {Gnanadesikan, R. and Kettenring, J. R},
+ journal = {Biometrics},
+ pages = {81-124},
+ year = {1972}
+}
+
+@article{hubert2018mcd,
+ author = {Hubert, Mia and Debruyne, Michiel and Rousseeuw, Peter J.},
+ title = {Minimum covariance determinant and extensions},
+ journal = {Wiley Interdisciplinary Reviews: Computational Statistics},
+ volume = {10},
+ number = {3},
+ pages = {e1421},
+ doi = {10.1002/wics.1421},
+ url = {https://doi.org/10.1002/wics.1421},
+ year = {2018}
+}
+
+@article{tukey1963less,
+ title={Less vulnerable confidence and significance procedures for location based on a single sample: Trimming/Winsorization 1},
+ author={Tukey, John W and McLaughlin, Donald H},
+ journal={Sankhy{\=a}: The Indian Journal of Statistics, Series A},
+ pages={331--352},
+ year={1963},
+ publisher={JSTOR}
+}
+
+@article{van1995statistical,
+ title={Statistical mimicking of reaction time data: Single-process models, parameter variability, and mixtures},
+ author={Van Zandt, Trisha and Ratcliff, Roger},
+ journal={Psychonomic Bulletin \& Review},
+ volume={2},
+ number={1},
+ pages={20--54},
+ year={1995},
+ publisher={Springer},
+ doi = {10.3758/BF03214411}
+}
+
+@article{ratcliff1993methods,
+ title={Methods for dealing with reaction time outliers.},
+ author={Ratcliff, Roger},
+ journal={Psychological bulletin},
+ volume={114},
+ number={3},
+ pages={510},
+ year={1993},
+ publisher={American Psychological Association},
+ doi = {10.1037/0033-2909.114.3.510}
+}
+
+@book{mcelreath2020statistical,
+ title={Statistical rethinking: A Bayesian course with examples in R and Stan},
+ author={McElreath, Richard},
+ year={2020},
+ publisher={CRC press}
+}
+
+@Manual{rcore,
+ title = {{R}: A Language and Environment for Statistical Computing},
+ author = {{R Core Team}},
+ organization = {R Foundation for Statistical Computing},
+ address = {Vienna, Austria},
+ year = {2021},
+ url = {https://www.R-project.org/}
+}
\ No newline at end of file
diff --git a/papers/Mathematics/paper.Rmd b/papers/Mathematics/paper.Rmd
new file mode 100644
index 000000000..e35b6f02b
--- /dev/null
+++ b/papers/Mathematics/paper.Rmd
@@ -0,0 +1,310 @@
+---
+title: "Check your outliers! An introduction to identifying statistical outliers in R with *easystats*"
+author:
+ - name: Rémi Thériault
+ affil: 1,*
+ orcid: 0000-0003-4315-6788
+ - name: Mattan S. Ben-Shachar
+ affil: 2
+ orcid: 0000-0002-4287-4801
+ - name: Indrajeet Patil
+ affil: 3
+ orcid: 0000-0003-1995-6531
+ - name: Daniel Lüdecke
+ affil: 4
+ orcid: 0000-0002-8895-3206
+ - name: Brenton M. Wiernik
+ affil: 5
+ orcid: 0000-0001-9560-6336
+ - name: Dominique Makowski
+ affil: 6
+ orcid: 0000-0001-5375-9967
+affiliation:
+ - num: 1
+ address: Department of Psychology, Université du Québec à Montréal, Montréal, Québec, Canada
+ - num: 2
+ address: Independent Researcher
+ - num: 3
+ address: Center for Humans and Machines, Max Planck Institute for Human Development, Berlin, Germany
+ - num: 4
+ address: Institute of Medical Sociology, University Medical Center Hamburg-Eppendorf, Germany
+ - num: 5
+ address: Independent Researcher, Tampa, FL, USA
+ - num: 6
+ address: School of Psychology, University of Sussex, Brighton, UK
+correspondence: theriault.remi@courrier.uqam.ca.
+journal: "mathematics"
+type: article
+status: submit
+bibliography: mybibfile.bib
+simplesummary: |
+ The *{performance}* package from the *easystats* ecosystem makes it easy to
+ diagnose outliers in R and according to current best practices thanks to the
+ `check_outiers()` function.
+abstract: |
+ Beyond the challenge of keeping up-to-date with current best practices
+ regarding the diagnosis and treatment of outliers, an additional difficulty
+ arises concerning the mathematical implementation of the recommended methods.
+ In this paper, we provide an overview of current recommandations and best
+ practices and demonstrate how they can easily and conveniently be
+ implemented in the R statistical computing software, using the *{performance}*
+ package of the *easystats* ecosystem. We cover univariate, multivariate, and
+ model-based statistical outlier detection methods, their recommended
+ threshold, standard output, and plotting methods. We conclude with
+ recommendations on the handling of outliers: the different theoretical types
+ of outliers, whether to exclude or winsorize them, and the importance of
+ transparency.
+keywords: |
+ univariate outliers; multivariate outliers; robust detection methods; R; easystats
+acknowledgement: |
+ *{performance}* is part of the collaborative
+ [*easystats*](https://github.com/easystats/easystats) ecosystem
+ [@easystatspackage]. Thus, we thank all
+ [members of easystats](https://github.com/orgs/easystats/people),
+ contributors, and users alike.
+authorcontributions: |
+ R.T. drafted the paper; all authors contributed to both the writing of the
+ paper and the conception of the software.
+funding: |
+ This research received no external funding.
+conflictsofinterest: |
+ The authors declare no conflict of interest.
+abbreviations:
+ - short: SOD
+ long: Statistical outlier detection
+ - short: SEM
+ long: Structural equation modelling
+ - short: SD
+ long: Standard deviation
+ - short: MAD
+ long: Median absolute deviation
+ - short: IQR
+ long: Interquartile range
+ - short: HDI
+ long: Highest density interval
+ - short: BCI
+ long: Bias corrected and accelerated interval
+ - short: MCD
+ long: Minimum covariance determinant
+ - short: ICS
+ long: invariant coordinate selection
+ - short: OSF
+ long: Open Science Framework
+output: rticles::mdpi_article
+---
+
+```{r setup, include=FALSE}
+knitr::opts_chunk$set(
+ echo = TRUE,
+ comment = "#>",
+ out.width = "100%",
+ dpi = 300,
+ warning = FALSE
+)
+
+library(performance)
+library(see)
+library(datawizard)
+```
+
+# Introduction
+
+Real-life data often contain observations that can be considered *abnormal* when compared to the main population. The cause of it---be it because they belong to a different distribution (originating from a different generative process) or simply being extreme cases, statistically rare but not impossible---can be hard to assess, and the boundaries of "abnormal" are hard to define.
+
+Nonetheless, the improper handling of these outliers can substantially affect statistical model estimations, biasing effect estimations and weakening the models' predictive performance.
+It is thus essential to address this problem in a thoughtful manner. Yet, despite the existence of established recommendations and guidelines, many researchers still do not treat outliers in a consistent manner, or do so using inappropriate strategies [@simmons2011false; @leys2013outliers].
+
+One possible reason is that researchers are not aware of the existing recommendations, or do not know how to implement them using their analysis software. In this paper, we show how to follow current best practices for automatic and reproducible statistical outlier detection (SOD) using R and the *{performance}* package [@ludecke2021performance], which is part of the *easystats* ecosystem of packages that build an R framework for easy statistical modeling, visualization, and reporting [@easystatspackage].
+
+# Identifying Outliers
+
+Although many researchers attempt to identify outliers with measures based on the mean (e.g., _z_ scores), those methods are problematic because the mean and standard deviation themselves are not robust to the influence of outliers and they assume normally distributed data (i.e., a Gaussian distribution). Therefore, current guidelines recommend using robust methods to identify outliers, such as those relying on the median as opposed to the mean [@leys2019outliers; @leys2013outliers; @leys2018outliers].
+
+Nonetheless, which exact outlier method to use depends on many factors. In some cases, eye-gauging odd observations can be an appropriate solution, though many researchers will favour algorithmic solutions to detect potential outliers, for example, based on a continuous value expressing the observation stands out from the others.
+
+One of the factors to consider when selecting an algorithmic outlier detection method is the statistical test of interest. When using a regression model, relevant information can be found by identifying observations that do not fit well with the model. This approach, known as model-based outliers detection (as outliers are extracted after the statistical model has been fit), can be contrasted with distribution-based outliers detection, which is based on the distance between an observation and the "center" of its population. Various quantification strategies of this distance exist for the latter, both univariate (involving only one variable at a time) or multivariate (involving multiple variables).
+
+When no method is readily available to detect model-based outliers, such as for structural equation modelling (SEM), looking for multivariate outliers may be of relevance. For simple tests (_t_ tests or correlations) that compare values of the same variable, it can be appropriate to check for univariate outliers. However, univariate methods can give false positives since _t_ tests and correlations, ultimately, are also models/multivariable statistics. They are in this sense more limited, but we show them nonetheless for educational purposes.
+
+Importantly, whatever approach researchers choose remains a subjective decision, which usage (and rationale) must be transparently documented and reproducible [@leys2019outliers]. Researchers should commit (ideally in a preregistration) to an outlier treatment method before collecting the data. They should report in the paper their decisions and details of their methods, as well as any deviation from their original plan. These transparency practices can help reduce false positives due to excessive researchers' degrees of freedom (i.e., choice flexibility throughout the analysis). In the following section, we will go through each of the mentioned methods and provide examples on how to implement them with R.
+
+## Univariate Outliers
+
+Researchers frequently attempt to identify outliers using measures of deviation from the center of a variable's distribution. One of the most popular such procedure is the _z_ score transformation, which computes the distance in standard deviation (SD) from the mean. However, as mentioned earlier, this popular method is not robust. Therefore, for univariate outliers, it is recommended to use the median along with the Median Absolute Deviation (MAD), which are more robust than the interquartile range or the mean and its standard deviation [@leys2019outliers; @leys2013outliers].
+
+Researchers can identify outliers based on robust (i.e., MAD-based) _z_ scores using the `check_outliers()` function of the *{performance}* package, by specifying `method = "zscore_robust"`.^[Note that `check_outliers()` only checks numeric variables.] Although @leys2013outliers suggest a default threshold of 2.5 and @leys2019outliers a threshold of 3, *{performance}* uses by default a less conservative threshold of ~3.29.^[3.29 is an approximation of the two-tailed critical value for _p_ < .001, obtained through `qnorm(p = 1 - 0.001 / 2)`. We chose this threshold for consistency with the thresholds of all our other methods.] That is, data points will be flagged as outliers if they go beyond +/- ~3.29 MAD. Users can adjust this threshold using the `threshold` argument, as demonstrated below.
+
+```{r z_score}
+library(performance)
+
+# Create some artificial outliers and an ID column
+data <- rbind(mtcars[1:4], 42, 55)
+data <- cbind(car = row.names(data), data)
+
+outliers <- check_outliers(data, method = "zscore_robust", ID = "car")
+outliers
+```
+
+The row numbers of the detected outliers can be obtained by using `which()` on the output object, which can be used for exclusions for example:
+
+```{r}
+which(outliers)
+
+data_clean <- data[-which(outliers), ]
+```
+
+All `check_outliers()` output objects possess a `plot()` method, meaning it is also possible to visualize the outliers:
+
+```{r univariate, fig.cap = "Visual depiction of outliers using the robust z-score method."}
+library(see)
+
+plot(outliers)
+```
+
+Other univariate methods are available, such as using the interquartile range (IQR), or based on different intervals, such as the Highest Density Interval (HDI) or the Bias Corrected and Accelerated Interval (BCI). These methods are documented and described in the function's [help page]().
+
+## Multivariate Outliers
+
+Univariate outliers can be useful when the focus is on a particular variable, for instance the reaction time, as extreme values might be indicative of inattention or non-task-related behavior^[ Note that they might not be the optimal way of treating reaction time outliers [@ratcliff1993methods; @van1995statistical]].
+
+However, in many scenarios, variables of a data set are not independent, and an abnormal observation will impact multiple dimensions. For instance, a participant giving random answers to a questionnaire. In this case, computing the _z_ score for each of the questions might not lead to satisfactory results. Instead, one might want to look at these variables together.
+
+One common approach for this is to compute multivariate distance metrics such as the Mahalanobis distance. Although the Mahalanobis distance is very popular, just like the regular _z_ scores method, it is not robust and is heavily influenced by the outliers themselves. Therefore, for multivariate outliers, it is recommended to use the Minimum Covariance Determinant, a robust version of the Mahalanobis distance [MCD, @leys2018outliers; @leys2019outliers].
+
+In *{performance}*'s `check_outliers()`, one can use this approach with `method = "mcd"`.^[Our default threshold for the MCD method is defined by `stats::qchisq(p = 1 - 0.001, df = ncol(x))`, which again is an approximation of the critical value for _p_ < .001 consistent with the thresholds of our other methods.]
+
+```{r multivariate, fig.cap = "Visual depiction of outliers using the Minimum Covariance Determinant (MCD) method, a robust version of the Mahalanobis distance."}
+outliers <- check_outliers(data, method = "mcd")
+outliers
+
+plot(outliers)
+```
+
+Other multivariate methods are available, such as another type of robust Mahalanobis distance that in this case relies on an orthogonalized Gnanadesikan-Kettenring pairwise estimator [@gnanadesikan1972robust]. These methods are documented and described in the function's [help page](https://easystats.github.io/performance/reference/check_outliers.html).
+
+## Model-Based Outliers
+
+Working with regression models creates the possibility of using model-based SOD methods. These methods rely on the concept of *leverage*, that is, how much influence a given observation can have on the model estimates. If few observations have a relatively strong leverage/influence on the model, one can suspect that the model's estimates are biased by these observations, in which case flagging them as outliers could prove helpful (see next section, "Handling Outliers").
+
+In {performance}, two such model-based SOD methods are currently available: Cook's distance, for regular regression models, and Pareto, for Bayesian models. As such, `check_outliers()` can be applied directly on regression model objects, by simply specifying `method = "cook"` (or `method = "pareto"` for Bayesian models).^[Our default threshold for the Cook method is defined by `stats::qf(0.5, ncol(x), nrow(x) - ncol(x))`, which again is an approximation of the critical value for _p_ < .001 consistent with the thresholds of our other methods.]
+
+```{r model, fig.cap = "Visual depiction of outliers based on Cook's distance (leverage and standardized residuals)."}
+model <- lm(disp ~ mpg * disp, data = data)
+outliers <- check_outliers(model, method = "cook")
+outliers
+
+plot(outliers)
+```
+
+Table 1 below summarizes which methods to use in which cases, and with what threshold.
+
+```{r, echo=FALSE}
+df <- data.frame(
+ `Statistical Test` = c(
+ "Supported regression model",
+ "Structural Equation Modeling (or other unsupported model)",
+ "Simple test with few variables (*t* test, correlation, etc.)"),
+ `Diagnosis Method` = c(
+ "**Model-based**: Cook (or Pareto for Bayesian models)",
+ "**Multivariate**: Minimum Covariance Determinant (MCD)",
+ "**Univariate**: robust *z* scores (MAD)"),
+ `Recommended Threshold` = c(
+ "`qf(0.5, ncol(x), nrow(x) - ncol(x))` (or 0.7 for Pareto)",
+ "`qchisq(p = 1 - 0.001, df = ncol(x))`",
+ "`qnorm(p = 1 - 0.001 / 2)`, ~ 3.29")
+)
+knitr::kable(
+ df, col.names = gsub("[.]", " ", names(df)),
+ caption = "Summary of Statistical Outlier Detection Methods Recommendations.", longtable = TRUE)
+```
+
+### Cook's Distance vs. MCD
+
+@leys2018outliers report a preference for the MCD method over Cook's distance. This is because Cook's distance removes one observation at a time and checks its corresponding influence on the model each time [@cook1977detection], and flags any observation that has a large influence. In the view of these authors, when there are several outliers, the process of removing a single outlier at a time is problematic as the model remains "contaminated" or influenced by other possible outliers in the model, rendering this method suboptimal in the presence of multiple outliers.
+
+However, distribution-based approaches are not a silver bullet either, and there are cases where the usage of methods agnostic to theoretical and statistical models of interest might be problematic. For example, a very tall person would be expected to also be much heavier than average, but that would still fit with the expected association between height and weight (i.e., it would be in line with a model such as `weight ~ height`). In contrast, using multivariate outlier detection methods there may flag this person as being an outlier---being unusual on two variables, height and weight---even though the pattern fits perfectly with our predictions.
+
+In the example below, we plot the raw data and see two possible outliers. The first one falls along the regression line, and is therefore "in line" with our hypothesis. The second one clearly diverges from the regression line, and therefore we can conclude that this outlier may have a disproportionate influence on our model.
+
+```{r scatter, fig.cap = "Scatter plot of height and weight, with two extreme observations: one model-consistent (top-right) and the other, model-inconsistent (i.e., an outlier; bottom-right)."}
+data <- women[rep(seq_len(nrow(women)), each = 100), ]
+data <- rbind(data, c(100, 258), c(100, 200))
+model <- lm(weight ~ height, data)
+rempsyc::nice_scatter(data, "height", "weight")
+```
+
+Using either the *z*-score or MCD methods, our model-consistent observation will be incorrectly flagged as an outlier or influential observation.
+
+```{r}
+outliers <- check_outliers(model, method = c("zscore_robust", "mcd"))
+which(outliers)
+```
+
+In contrast, the model-based detection method displays the desired behaviour: it correctly flags the person who is very tall but very light, without flagging the person who is both tall and heavy.
+
+```{r model2, fig.cap = "The leverage method (Cook's distance) correctly distinguishes the true outlier from the model-consistent extreme observation)."}
+outliers <- check_outliers(model, method = "cook")
+which(outliers)
+plot(outliers)
+```
+
+Finally, unusual observations happen naturally: extreme observations are expected even when taken from a normal distribution. While statistical models can integrate this "expectation", multivariate outlier methods might be too conservative, flagging too many observations despite belonging to the right generative process. For these reasons, we believe that model-based methods are still preferable to the MCD when using supported regression models. Additionally, if the presence of multiple outliers is a significant concern, regression methods that are more robust to outliers should be considered---like _t_ regression or quantile regression---as they render their precise identification less critical [@mcelreath2020statistical].
+
+## Multiple Methods
+
+An alternative approach that is possible is to combine several methods, based on the assumption that different methods provide different angles of looking at the problem. By applying a variety of methods, one can hope to "triangulate" the true outliers (those consistently flagged by multiple methods) and thus attempt to minimize false positives.
+
+In practice, this approach computes a composite outlier score, formed of the average of the binary (0 or 1) classification results of each method. It represents the probability that each observation is classified as an outlier by at least one method. The default decision rule classifies rows with composite outlier scores superior or equal to 0.5 as outlier observations (i.e., that were classified as outliers by at least half of the methods). In *{performance}*'s `check_outliers()`, one can use this approach by including all desired methods in the corresponding argument.
+
+```{r multimethod, fig.cap = "Visual depiction of outliers using several different statistical outlier detection methods."}
+outliers <- check_outliers(model, method = c("zscore_robust", "mcd", "cook"))
+which(outliers)
+```
+
+Outliers (counts or per variables) for individual methods can then be obtained through attributes. For example:
+
+```{r}
+attributes(outliers)$outlier_var$zscore_robust
+```
+
+An example sentence for reporting the usage of the composite method could be:
+
+> Based on a composite outlier score (see the 'check_outliers()' function in the 'performance' R package, [@ludecke2021performance]) obtained via the joint application of multiple outliers detection algorithms ((a) median absolute deviation (MAD)-based robust _z_ scores, [@leys2013outliers]; (b) Mahalanobis minimum covariance determinant (MCD), [@leys2019outliers]; and (c) Cook's distance, [@cook1977detection]), we excluded two participants that were classified as outliers by at least half of the methods used.
+
+# Handling Outliers
+
+The above section demonstrated how to identify outliers using the `check_outliers()` function in the *{performance}* package. But what should we do with these outliers once identified? Although it is common to automatically discard any observation that has been marked as "an outlier" as if it might infect the rest of the data with its statistical ailment, we believe that the use of SOD methods is but one step in the get-to-know-your-data pipeline; a researcher or analyst's _domain knowledge_ must be involved in the decision of how to deal with observations marked as outliers by means of SOD. Indeed, automatic tools can help detect outliers, but they are nowhere near perfect. Although they can be useful to flag suspect data, they can have misses and false alarms, and they cannot replace human eyes and proper vigilance from the researcher. If you do end up manually inspecting your data for outliers, it can be helpful to think of outliers as belonging to different types of outliers, or categories, which can help decide what to do with a given outlier.
+
+## Error, Interesting, and Random Outliers
+
+@leys2019outliers distinguish between error outliers, interesting outliers, and random outliers. _Error outliers_ are likely due to human error and should be corrected before data analysis or outright removed since they are invalid observations. _Interesting outliers_ are not due to technical error and may be of theoretical interest; it might thus be relevant to investigate them further even though they should be removed from the current analysis of interest. _Random outliers_ are assumed to be due to chance alone and to belong to the correct distribution and, therefore, should be retained.
+
+It is recommended to _keep_ observations which are expected to be part of the distribution of interest, even if they are outliers [@leys2019outliers]. However, if it is suspected that the outliers belong to an alternative distribution, then those observations could have a large impact on the results and call into question their robustness, especially if significance is conditional on their inclusion.
+
+On the other hand, there are also outliers that cannot be detected by statistical tools, but should be found and removed. For example, if we are studying the effects of X on Y among teenagers and we have one observation from a 20-year-old, this observation might not be a _statistical outlier_, but it is an outlier in the _context_ of our research, and should be discarded to allow for valid inferences.
+
+## Winsorization
+
+_Removing_ outliers can in this case be a valid strategy, and ideally one would report results with and without outliers to see the extent of their impact on results. This approach however can reduce statistical power. Therefore, some propose a _recoding_ approach, namely, winsorization: bringing outliers back within acceptable limits [e.g., 3 MADs, @tukey1963less]. However, if possible, it is recommended to collect enough data so that even after removing outliers, there is still sufficient statistical power without having to resort to winsorization [@leys2019outliers].
+
+The _easystats_ ecosystem makes it easy to incorporate this step into your workflow through the `winsorize()` function of *{datawizard}*, a lightweight R package to facilitate data wrangling and statistical transformations [@patil2022datawizard]. This procedure will bring back univariate outliers within the limits of 'acceptable' values, based either on the percentile, the _z_ score, or its robust alternative based on the MAD.
+
+```{r winsorization}
+data[1501:1502, ] # See outliers rows
+
+# Winsorizing using the MAD
+library(datawizard)
+winsorized_data <- winsorize(data, method = "zscore", robust = TRUE, threshold = 3)
+
+# Values > +/- MAD have been winsorized
+winsorized_data[1501:1502, ]
+```
+
+## The Importance of Transparency
+
+Once again, it is a critical part of a sound outlier treatment that regardless of which SOD method used, it should be reported in a reproducible manner. Ideally, the handling of outliers should be specified *a priori* with as much detail as possible, and preregistered, to limit researchers' degrees of freedom and therefore risks of false positives [@leys2019outliers]. This is especially true given that interesting outliers and random outliers are often times hard to distinguish in practice. Thus, researchers should always prioritize transparency and report all of the following information: (a) how many outliers were identified; (b) according to which method and criteria, (c) using which function of which R package (if applicable), and (d) how they were handled (excluded or winsorized, if the latter, using what threshold). If at all possible, (e) the corresponding code script along with the data should be shared on a public repository like the Open Science Framework (OSF), so that the exclusion criteria can be reproduced precisely.
+
+# Conclusion
+
+In this paper, we have showed how to investigate outliers using the `check_outliers()` function of the *{performance}* package while following current good practices. However, best practice for outlier treatment does not stop at using appropriate statistical algorithms, but entails respecting existing recommendations, such as preregistration, reproducibility, consistency, transparency, and justification. Ideally, one would additionally also report the package, function, and threshold used (linking to the full code when possible). We hope that this paper and the accompanying `check_outlier()` function of *easystats* will help researchers engage in good research practices while providing a smooth outlier detection experience.
+
diff --git a/papers/Mathematics/paper.pdf b/papers/Mathematics/paper.pdf
new file mode 100644
index 000000000..ad9a354e3
Binary files /dev/null and b/papers/Mathematics/paper.pdf differ
diff --git a/papers/Mathematics/paper.tex b/papers/Mathematics/paper.tex
new file mode 100644
index 000000000..79e120cd3
--- /dev/null
+++ b/papers/Mathematics/paper.tex
@@ -0,0 +1,956 @@
+% LaTeX support: latex@mdpi.com
+% In case you need support, please attach all files that are necessary for compiling as well as the log file, and specify the details of your LaTeX setup (which operating system and LaTeX version / tools you are using).
+
+%=================================================================
+\documentclass[mathematics,article,submit,moreauthors,pdftex]{mdpi}
+
+% If you would like to post an early version of this manuscript as a preprint, you may use preprint as the journal and change 'submit' to 'accept'. The document class line would be, e.g., \documentclass[preprints,article,accept,moreauthors,pdftex]{mdpi}. This is especially recommended for submission to arXiv, where line numbers should be removed before posting. For preprints.org, the editorial staff will make this change immediately prior to posting.
+
+%% Some pieces required from the pandoc template
+\setlist[itemize]{leftmargin=*,labelsep=5.8mm}
+\setlist[enumerate]{leftmargin=*,labelsep=4.9mm}
+
+
+%--------------------
+% Class Options:
+%--------------------
+%----------
+% journal
+%----------
+% Choose between the following MDPI journals:
+% acoustics, actuators, addictions, admsci, aerospace, agriculture, agriengineering, agronomy, algorithms, animals, antibiotics, antibodies, antioxidants, applsci, arts, asc, asi, atmosphere, atoms, axioms, batteries, bdcc, behavsci , beverages, bioengineering, biology, biomedicines, biomimetics, biomolecules, biosensors, brainsci , buildings, cancers, carbon , catalysts, cells, ceramics, challenges, chemengineering, chemistry, chemosensors, children, cleantechnol, climate, clockssleep, cmd, coatings, colloids, computation, computers, condensedmatter, cosmetics, cryptography, crystals, dairy, data, dentistry, designs , diagnostics, diseases, diversity, drones, econometrics, economies, education, electrochem, electronics, energies, entropy, environments, epigenomes, est, fermentation, fibers, fire, fishes, fluids, foods, forecasting, forests, fractalfract, futureinternet, futurephys, galaxies, games, gastrointestdisord, gels, genealogy, genes, geohazards, geosciences, geriatrics, hazardousmatters, healthcare, heritage, highthroughput, horticulturae, humanities, hydrology, ijerph, ijfs, ijgi, ijms, ijns, ijtpp, informatics, information, infrastructures, inorganics, insects, instruments, inventions, iot, j, jcdd, jcm, jcp, jcs, jdb, jfb, jfmk, jimaging, jintelligence, jlpea, jmmp, jmse, jnt, jof, joitmc, jpm, jrfm, jsan, land, languages, laws, life, literature, logistics, lubricants, machines, magnetochemistry, make, marinedrugs, materials, mathematics, mca, medicina, medicines, medsci, membranes, metabolites, metals, microarrays, micromachines, microorganisms, minerals, modelling, molbank, molecules, mps, mti, nanomaterials, ncrna, neuroglia, nitrogen, notspecified, nutrients, ohbm, particles, pathogens, pharmaceuticals, pharmaceutics, pharmacy, philosophies, photonics, physics, plants, plasma, polymers, polysaccharides, preprints , proceedings, processes, proteomes, psych, publications, quantumrep, quaternary, qubs, reactions, recycling, religions, remotesensing, reports, resources, risks, robotics, safety, sci, scipharm, sensors, separations, sexes, signals, sinusitis, smartcities, sna, societies, socsci, soilsystems, sports, standards, stats, surfaces, surgeries, sustainability, symmetry, systems, technologies, test, toxics, toxins, tropicalmed, universe, urbansci, vaccines, vehicles, vetsci, vibration, viruses, vision, water, wem, wevj
+
+%---------
+% article
+%---------
+% The default type of manuscript is "article", but can be replaced by:
+% abstract, addendum, article, benchmark, book, bookreview, briefreport, casereport, changes, comment, commentary, communication, conceptpaper, conferenceproceedings, correction, conferencereport, expressionofconcern, extendedabstract, meetingreport, creative, datadescriptor, discussion, editorial, essay, erratum, hypothesis, interestingimages, letter, meetingreport, newbookreceived, obituary, opinion, projectreport, reply, retraction, review, perspective, protocol, shortnote, supfile, technicalnote, viewpoint
+% supfile = supplementary materials
+
+%----------
+% submit
+%----------
+% The class option "submit" will be changed to "accept" by the Editorial Office when the paper is accepted. This will only make changes to the frontpage (e.g., the logo of the journal will get visible), the headings, and the copyright information. Also, line numbering will be removed. Journal info and pagination for accepted papers will also be assigned by the Editorial Office.
+
+%------------------
+% moreauthors
+%------------------
+% If there is only one author the class option oneauthor should be used. Otherwise use the class option moreauthors.
+
+%---------
+% pdftex
+%---------
+% The option pdftex is for use with pdfLaTeX. If eps figures are used, remove the option pdftex and use LaTeX and dvi2pdf.
+
+%=================================================================
+\firstpage{1}
+\makeatletter
+\setcounter{page}{\@firstpage}
+\makeatother
+\pubvolume{xx}
+\issuenum{1}
+\articlenumber{5}
+\pubyear{2019}
+\copyrightyear{2019}
+%\externaleditor{Academic Editor: name}
+\history{Received: date; Accepted: date; Published: date}
+\updates{yes} % If there is an update available, un-comment this line
+
+%% MDPI internal command: uncomment if new journal that already uses continuous page numbers
+%\continuouspages{yes}
+
+%------------------------------------------------------------------
+% The following line should be uncommented if the LaTeX file is uploaded to arXiv.org
+%\pdfoutput=1
+
+%=================================================================
+% Add packages and commands here. The following packages are loaded in our class file: fontenc, calc, indentfirst, fancyhdr, graphicx, lastpage, ifthen, lineno, float, amsmath, setspace, enumitem, mathpazo, booktabs, titlesec, etoolbox, amsthm, hyphenat, natbib, hyperref, footmisc, geometry, caption, url, mdframed, tabto, soul, multirow, microtype, tikz
+
+%=================================================================
+%% Please use the following mathematics environments: Theorem, Lemma, Corollary, Proposition, Characterization, Property, Problem, Example, ExamplesandDefinitions, Hypothesis, Remark, Definition
+%% For proofs, please use the proof environment (the amsthm package is loaded by the MDPI class).
+
+%=================================================================
+% Full title of the paper (Capitalized)
+\Title{Check your outliers! An introduction to identifying statistical
+outliers in R with \emph{easystats}}
+
+% Authors, for the paper (add full first names)
+\Author{Rémi
+Thériault$^{1,*}$\href{https://orcid.org/0000-0003-4315-6788}{\orcidicon}, Mattan
+S.
+Ben-Shachar$^{2}$\href{https://orcid.org/0000-0002-4287-4801}{\orcidicon}, Indrajeet
+Patil$^{3}$\href{https://orcid.org/0000-0003-1995-6531}{\orcidicon}, Daniel
+Lüdecke$^{4}$\href{https://orcid.org/0000-0002-8895-3206}{\orcidicon}, Brenton
+M.
+Wiernik$^{5}$\href{https://orcid.org/0000-0001-9560-6336}{\orcidicon}, Dominique
+Makowski$^{6}$\href{https://orcid.org/0000-0001-5375-9967}{\orcidicon}}
+
+% Authors, for metadata in PDF
+\AuthorNames{Rémi Thériault, Mattan S. Ben-Shachar, Indrajeet
+Patil, Daniel Lüdecke, Brenton M. Wiernik, Dominique Makowski}
+
+% Affiliations / Addresses (Add [1] after \address if there is only one affiliation.)
+\address{%
+$^{1}$ \quad Department of Psychology, Université du Québec à Montréal,
+Montréal, Québec, Canada; \\
+$^{2}$ \quad Independent Researcher; \\
+$^{3}$ \quad Center for Humans and Machines, Max Planck Institute for
+Human Development, Berlin, Germany; \\
+$^{4}$ \quad Institute of Medical Sociology, University Medical Center
+Hamburg-Eppendorf, Germany; \\
+$^{5}$ \quad Independent Researcher, Tampa, FL, USA; \\
+$^{6}$ \quad School of Psychology, University of Sussex, Brighton,
+UK; \\
+}
+% Contact information of the corresponding author
+\corres{Correspondence: \href{mailto:theriault.remi@courrier.uqam.ca}{\nolinkurl{theriault.remi@courrier.uqam.ca}}.}
+
+% Current address and/or shared authorship
+
+
+
+
+
+
+
+
+% The commands \thirdnote{} till \eighthnote{} are available for further notes
+
+% Simple summary
+\simplesumm{The \emph{\{performance\}} package from the \emph{easystats}
+ecosystem makes it easy to diagnose outliers in R and according to
+current best practices thanks to the \texttt{check\_outiers()}
+function.}
+
+% Abstract (Do not insert blank lines, i.e. \\)
+\abstract{Beyond the challenge of keeping up-to-date with current best
+practices regarding the diagnosis and treatment of outliers, an
+additional difficulty arises concerning the mathematical implementation
+of the recommended methods. In this paper, we provide an overview of
+current recommandations and best practices and demonstrate how they can
+easily and conveniently be implemented in the R statistical computing
+software, using the \emph{\{performance\}} package of the
+\emph{easystats} ecosystem. We cover univariate, multivariate, and
+model-based statistical outlier detection methods, their recommended
+threshold, standard output, and plotting methods. We conclude with
+recommendations on the handling of outliers: the different theoretical
+types of outliers, whether to exclude or winsorize them, and the
+importance of transparency.}
+
+% Keywords
+\keyword{univariate outliers; multivariate outliers; robust detection
+methods; R; easystats}
+
+% The fields PACS, MSC, and JEL may be left empty or commented out if not applicable
+%\PACS{J0101}
+%\MSC{}
+%\JEL{}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Only for the journal Diversity
+%\LSID{\url{http://}}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Only for the journal Applied Sciences:
+%\featuredapplication{Authors are encouraged to provide a concise description of the specific application or a potential application of the work. This section is not mandatory.}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Only for the journal Data:
+%\dataset{DOI number or link to the deposited data set in cases where the data set is published or set to be published separately. If the data set is submitted and will be published as a supplement to this paper in the journal Data, this field will be filled by the editors of the journal. In this case, please make sure to submit the data set as a supplement when entering your manuscript into our manuscript editorial system.}
+
+%\datasetlicense{license under which the data set is made available (CC0, CC-BY, CC-BY-SA, CC-BY-NC, etc.)}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Only for the journal Toxins
+%\keycontribution{The breakthroughs or highlights of the manuscript. Authors can write one or two sentences to describe the most important part of the paper.}
+
+%\setcounter{secnumdepth}{4}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Pandoc syntax highlighting
+\usepackage{color}
+\usepackage{fancyvrb}
+\newcommand{\VerbBar}{|}
+\newcommand{\VERB}{\Verb[commandchars=\\\{\}]}
+\DefineVerbatimEnvironment{Highlighting}{Verbatim}{commandchars=\\\{\}}
+% Add ',fontsize=\small' for more characters per line
+\usepackage{framed}
+\definecolor{shadecolor}{RGB}{248,248,248}
+\newenvironment{Shaded}{\begin{snugshade}}{\end{snugshade}}
+\newcommand{\AlertTok}[1]{\textcolor[rgb]{0.94,0.16,0.16}{#1}}
+\newcommand{\AnnotationTok}[1]{\textcolor[rgb]{0.56,0.35,0.01}{\textbf{\textit{#1}}}}
+\newcommand{\AttributeTok}[1]{\textcolor[rgb]{0.77,0.63,0.00}{#1}}
+\newcommand{\BaseNTok}[1]{\textcolor[rgb]{0.00,0.00,0.81}{#1}}
+\newcommand{\BuiltInTok}[1]{#1}
+\newcommand{\CharTok}[1]{\textcolor[rgb]{0.31,0.60,0.02}{#1}}
+\newcommand{\CommentTok}[1]{\textcolor[rgb]{0.56,0.35,0.01}{\textit{#1}}}
+\newcommand{\CommentVarTok}[1]{\textcolor[rgb]{0.56,0.35,0.01}{\textbf{\textit{#1}}}}
+\newcommand{\ConstantTok}[1]{\textcolor[rgb]{0.00,0.00,0.00}{#1}}
+\newcommand{\ControlFlowTok}[1]{\textcolor[rgb]{0.13,0.29,0.53}{\textbf{#1}}}
+\newcommand{\DataTypeTok}[1]{\textcolor[rgb]{0.13,0.29,0.53}{#1}}
+\newcommand{\DecValTok}[1]{\textcolor[rgb]{0.00,0.00,0.81}{#1}}
+\newcommand{\DocumentationTok}[1]{\textcolor[rgb]{0.56,0.35,0.01}{\textbf{\textit{#1}}}}
+\newcommand{\ErrorTok}[1]{\textcolor[rgb]{0.64,0.00,0.00}{\textbf{#1}}}
+\newcommand{\ExtensionTok}[1]{#1}
+\newcommand{\FloatTok}[1]{\textcolor[rgb]{0.00,0.00,0.81}{#1}}
+\newcommand{\FunctionTok}[1]{\textcolor[rgb]{0.00,0.00,0.00}{#1}}
+\newcommand{\ImportTok}[1]{#1}
+\newcommand{\InformationTok}[1]{\textcolor[rgb]{0.56,0.35,0.01}{\textbf{\textit{#1}}}}
+\newcommand{\KeywordTok}[1]{\textcolor[rgb]{0.13,0.29,0.53}{\textbf{#1}}}
+\newcommand{\NormalTok}[1]{#1}
+\newcommand{\OperatorTok}[1]{\textcolor[rgb]{0.81,0.36,0.00}{\textbf{#1}}}
+\newcommand{\OtherTok}[1]{\textcolor[rgb]{0.56,0.35,0.01}{#1}}
+\newcommand{\PreprocessorTok}[1]{\textcolor[rgb]{0.56,0.35,0.01}{\textit{#1}}}
+\newcommand{\RegionMarkerTok}[1]{#1}
+\newcommand{\SpecialCharTok}[1]{\textcolor[rgb]{0.00,0.00,0.00}{#1}}
+\newcommand{\SpecialStringTok}[1]{\textcolor[rgb]{0.31,0.60,0.02}{#1}}
+\newcommand{\StringTok}[1]{\textcolor[rgb]{0.31,0.60,0.02}{#1}}
+\newcommand{\VariableTok}[1]{\textcolor[rgb]{0.00,0.00,0.00}{#1}}
+\newcommand{\VerbatimStringTok}[1]{\textcolor[rgb]{0.31,0.60,0.02}{#1}}
+\newcommand{\WarningTok}[1]{\textcolor[rgb]{0.56,0.35,0.01}{\textbf{\textit{#1}}}}
+
+% tightlist command for lists without linebreak
+\providecommand{\tightlist}{%
+ \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
+
+% From pandoc table feature
+\usepackage{longtable,booktabs,array}
+\usepackage{calc} % for calculating minipage widths
+% Correct order of tables after \paragraph or \subparagraph
+\usepackage{etoolbox}
+\makeatletter
+\patchcmd\longtable{\par}{\if@noskipsec\mbox{}\fi\par}{}{}
+\makeatother
+% Allow footnotes in longtable head/foot
+\IfFileExists{footnotehyper.sty}{\usepackage{footnotehyper}}{\usepackage{footnote}}
+\makesavenoteenv{longtable}
+
+
+
+\begin{document}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\hypertarget{introduction}{%
+\section{Introduction}\label{introduction}}
+
+Real-life data often contain observations that can be considered
+\emph{abnormal} when compared to the main population. The cause of
+it---be it because they belong to a different distribution (originating
+from a different generative process) or simply being extreme cases,
+statistically rare but not impossible---can be hard to assess, and the
+boundaries of ``abnormal'' are hard to define.
+
+Nonetheless, the improper handling of these outliers can substantially
+affect statistical model estimations, biasing effect estimations and
+weakening the models' predictive performance. It is thus essential to
+address this problem in a thoughtful manner. Yet, despite the existence
+of established recommendations and guidelines, many researchers still do
+not treat outliers in a consistent manner, or do so using inappropriate
+strategies \citep{simmons2011false, leys2013outliers}.
+
+One possible reason is that researchers are not aware of the existing
+recommendations, or do not know how to implement them using their
+analysis software. In this paper, we show how to follow current best
+practices for automatic and reproducible statistical outlier detection
+(SOD) using R and the \emph{\{performance\}} package
+\citep{ludecke2021performance}, which is part of the \emph{easystats}
+ecosystem of packages that build an R framework for easy statistical
+modeling, visualization, and reporting \citep{easystatspackage}.
+
+\hypertarget{identifying-outliers}{%
+\section{Identifying Outliers}\label{identifying-outliers}}
+
+Although many researchers attempt to identify outliers with measures
+based on the mean (e.g., \emph{z} scores), those methods are problematic
+because the mean and standard deviation themselves are not robust to the
+influence of outliers and they assume normally distributed data (i.e., a
+Gaussian distribution). Therefore, current guidelines recommend using
+robust methods to identify outliers, such as those relying on the median
+as opposed to the mean
+\citep{leys2019outliers, leys2013outliers, leys2018outliers}.
+
+Nonetheless, which exact outlier method to use depends on many factors.
+In some cases, eye-gauging odd observations can be an appropriate
+solution, though many researchers will favour algorithmic solutions to
+detect potential outliers, for example, based on a continuous value
+expressing the observation stands out from the others.
+
+One of the factors to consider when selecting an algorithmic outlier
+detection method is the statistical test of interest. When using a
+regression model, relevant information can be found by identifying
+observations that do not fit well with the model. This approach, known
+as model-based outliers detection (as outliers are extracted after the
+statistical model has been fit), can be contrasted with
+distribution-based outliers detection, which is based on the distance
+between an observation and the ``center'' of its population. Various
+quantification strategies of this distance exist for the latter, both
+univariate (involving only one variable at a time) or multivariate
+(involving multiple variables).
+
+When no method is readily available to detect model-based outliers, such
+as for structural equation modelling (SEM), looking for multivariate
+outliers may be of relevance. For simple tests (\emph{t} tests or
+correlations) that compare values of the same variable, it can be
+appropriate to check for univariate outliers. However, univariate
+methods can give false positives since \emph{t} tests and correlations,
+ultimately, are also models/multivariable statistics. They are in this
+sense more limited, but we show them nonetheless for educational
+purposes.
+
+Importantly, whatever approach researchers choose remains a subjective
+decision, which usage (and rationale) must be transparently documented
+and reproducible \citep{leys2019outliers}. Researchers should commit
+(ideally in a preregistration) to an outlier treatment method before
+collecting the data. They should report in the paper their decisions and
+details of their methods, as well as any deviation from their original
+plan. These transparency practices can help reduce false positives due
+to excessive researchers' degrees of freedom (i.e., choice flexibility
+throughout the analysis). In the following section, we will go through
+each of the mentioned methods and provide examples on how to implement
+them with R.
+
+\hypertarget{univariate-outliers}{%
+\subsection{Univariate Outliers}\label{univariate-outliers}}
+
+Researchers frequently attempt to identify outliers using measures of
+deviation from the center of a variable's distribution. One of the most
+popular such procedure is the \emph{z} score transformation, which
+computes the distance in standard deviation (SD) from the mean. However,
+as mentioned earlier, this popular method is not robust. Therefore, for
+univariate outliers, it is recommended to use the median along with the
+Median Absolute Deviation (MAD), which are more robust than the
+interquartile range or the mean and its standard deviation
+\citep{leys2019outliers, leys2013outliers}.
+
+Researchers can identify outliers based on robust (i.e., MAD-based)
+\emph{z} scores using the \texttt{check\_outliers()} function of the
+\emph{\{performance\}} package, by specifying
+\texttt{method\ =\ "zscore\_robust"}.\footnote{Note that
+ \texttt{check\_outliers()} only checks numeric variables.} Although
+\citet{leys2013outliers} suggest a default threshold of 2.5 and
+\citet{leys2019outliers} a threshold of 3, \emph{\{performance\}} uses
+by default a less conservative threshold of
+\textasciitilde3.29.\footnote{3.29 is an approximation of the two-tailed
+ critical value for \emph{p} \textless{} .001, obtained through
+ \texttt{qnorm(p\ =\ 1\ -\ 0.001\ /\ 2)}. We chose this threshold for
+ consistency with the thresholds of all our other methods.} That is,
+data points will be flagged as outliers if they go beyond +/-
+\textasciitilde3.29 MAD. Users can adjust this threshold using the
+\texttt{threshold} argument, as demonstrated below.
+
+\begin{Shaded}
+\begin{Highlighting}[]
+\FunctionTok{library}\NormalTok{(performance)}
+
+\CommentTok{\# Create some artificial outliers and an ID column}
+\NormalTok{data }\OtherTok{\textless{}{-}} \FunctionTok{rbind}\NormalTok{(mtcars[}\DecValTok{1}\SpecialCharTok{:}\DecValTok{4}\NormalTok{], }\DecValTok{42}\NormalTok{, }\DecValTok{55}\NormalTok{)}
+\NormalTok{data }\OtherTok{\textless{}{-}} \FunctionTok{cbind}\NormalTok{(}\AttributeTok{car =} \FunctionTok{row.names}\NormalTok{(data), data)}
+
+\NormalTok{outliers }\OtherTok{\textless{}{-}} \FunctionTok{check\_outliers}\NormalTok{(data, }\AttributeTok{method =} \StringTok{"zscore\_robust"}\NormalTok{, }\AttributeTok{ID =} \StringTok{"car"}\NormalTok{)}
+\NormalTok{outliers}
+\end{Highlighting}
+\end{Shaded}
+
+\begin{verbatim}
+#> 2 outliers detected: cases 33, 34.
+#> - Based on the following method and threshold: zscore_robust (3.09).
+#> - For variables: mpg, cyl, disp, hp.
+#>
+#> -----------------------------------------------------------------------------
+#>
+#> The following observations were considered outliers for two or more
+#> variables by at least one of the selected methods:
+#>
+#> Row car n_Zscore_robust
+#> 1 33 33 2
+#> 2 34 34 2
+#>
+#> -----------------------------------------------------------------------------
+#> Outliers per variable (zscore_robust):
+#>
+#> $mpg
+#> Row car Distance_Zscore_robust
+#> 33 33 33 3.709699
+#> 34 34 34 5.848328
+#>
+#> $cyl
+#> Row car Distance_Zscore_robust
+#> 33 33 33 12.14083
+#> 34 34 34 16.52502
+\end{verbatim}
+
+The row numbers of the detected outliers can be obtained by using
+\texttt{which()} on the output object, which can be used for exclusions
+for example:
+
+\begin{Shaded}
+\begin{Highlighting}[]
+\FunctionTok{which}\NormalTok{(outliers)}
+\end{Highlighting}
+\end{Shaded}
+
+\begin{verbatim}
+#> [1] 33 34
+\end{verbatim}
+
+\begin{Shaded}
+\begin{Highlighting}[]
+\NormalTok{data\_clean }\OtherTok{\textless{}{-}}\NormalTok{ data[}\SpecialCharTok{{-}}\FunctionTok{which}\NormalTok{(outliers), ]}
+\end{Highlighting}
+\end{Shaded}
+
+All \texttt{check\_outliers()} output objects possess a \texttt{plot()}
+method, meaning it is also possible to visualize the outliers:
+
+\begin{Shaded}
+\begin{Highlighting}[]
+\FunctionTok{library}\NormalTok{(see)}
+
+\FunctionTok{plot}\NormalTok{(outliers)}
+\end{Highlighting}
+\end{Shaded}
+
+\begin{figure}
+\includegraphics[width=1\linewidth]{paper_files/figure-latex/univariate-1} \caption{Visual depiction of outliers using the robust z-score method.}\label{fig:univariate}
+\end{figure}
+
+Other univariate methods are available, such as using the interquartile
+range (IQR), or based on different intervals, such as the Highest
+Density Interval (HDI) or the Bias Corrected and Accelerated Interval
+(BCI). These methods are documented and described in the function's
+\href{https://easystats.github.io/performance/reference/check_outliers.html}{help
+page}.
+
+\hypertarget{multivariate-outliers}{%
+\subsection{Multivariate Outliers}\label{multivariate-outliers}}
+
+Univariate outliers can be useful when the focus is on a particular
+variable, for instance the reaction time, as extreme values might be
+indicative of inattention or non-task-related behavior\footnote{ Note
+ that they might not be the optimal way of treating reaction time
+ outliers \citep{ratcliff1993methods, van1995statistical}}.
+
+However, in many scenarios, variables of a data set are not independent,
+and an abnormal observation will impact multiple dimensions. For
+instance, a participant giving random answers to a questionnaire. In
+this case, computing the \emph{z} score for each of the questions might
+not lead to satisfactory results. Instead, one might want to look at
+these variables together.
+
+One common approach for this is to compute multivariate distance metrics
+such as the Mahalanobis distance. Although the Mahalanobis distance is
+very popular, just like the regular \emph{z} scores method, it is not
+robust and is heavily influenced by the outliers themselves. Therefore,
+for multivariate outliers, it is recommended to use the Minimum
+Covariance Determinant, a robust version of the Mahalanobis distance
+\citep[MCD,][]{leys2018outliers, leys2019outliers}.
+
+In \emph{\{performance\}}'s \texttt{check\_outliers()}, one can use this
+approach with \texttt{method\ =\ "mcd"}.\footnote{Our default threshold
+ for the MCD method is defined by
+ \texttt{stats::qchisq(p\ =\ 1\ -\ 0.001,\ df\ =\ ncol(x))}, which
+ again is an approximation of the critical value for \emph{p}
+ \textless{} .001 consistent with the thresholds of our other methods.}
+
+\begin{Shaded}
+\begin{Highlighting}[]
+\NormalTok{outliers }\OtherTok{\textless{}{-}} \FunctionTok{check\_outliers}\NormalTok{(data, }\AttributeTok{method =} \StringTok{"mcd"}\NormalTok{)}
+\NormalTok{outliers}
+\end{Highlighting}
+\end{Shaded}
+
+\begin{verbatim}
+#> 9 outliers detected: cases 7, 15, 16, 17, 24, 29, 31, 33, 34.
+#> - Based on the following method and threshold: mcd (20).
+#> - For variables: mpg, cyl, disp, hp.
+\end{verbatim}
+
+\begin{Shaded}
+\begin{Highlighting}[]
+\FunctionTok{plot}\NormalTok{(outliers)}
+\end{Highlighting}
+\end{Shaded}
+
+\begin{figure}
+\includegraphics[width=1\linewidth]{paper_files/figure-latex/multivariate-1} \caption{Visual depiction of outliers using the Minimum Covariance Determinant (MCD) method, a robust version of the Mahalanobis distance.}\label{fig:multivariate}
+\end{figure}
+
+Other multivariate methods are available, such as another type of robust
+Mahalanobis distance that in this case relies on an orthogonalized
+Gnanadesikan-Kettenring pairwise estimator
+\citep{gnanadesikan1972robust}. These methods are documented and
+described in the function's
+\href{https://easystats.github.io/performance/reference/check_outliers.html}{help
+page}.
+
+\hypertarget{model-based-outliers}{%
+\subsection{Model-Based Outliers}\label{model-based-outliers}}
+
+Working with regression models creates the possibility of using
+model-based SOD methods. These methods rely on the concept of
+\emph{leverage}, that is, how much influence a given observation can
+have on the model estimates. If few observations have a relatively
+strong leverage/influence on the model, one can suspect that the model's
+estimates are biased by these observations, in which case flagging them
+as outliers could prove helpful (see next section, ``Handling
+Outliers'').
+
+In \{performance\}, two such model-based SOD methods are currently
+available: Cook's distance, for regular regression models, and Pareto,
+for Bayesian models. As such, \texttt{check\_outliers()} can be applied
+directly on regression model objects, by simply specifying
+\texttt{method\ =\ "cook"} (or \texttt{method\ =\ "pareto"} for Bayesian
+models).\footnote{Our default threshold for the Cook method is defined
+ by \texttt{stats::qf(0.5,\ ncol(x),\ nrow(x)\ -\ ncol(x))}, which
+ again is an approximation of the critical value for \emph{p}
+ \textless{} .001 consistent with the thresholds of our other methods.}
+
+\begin{Shaded}
+\begin{Highlighting}[]
+\NormalTok{model }\OtherTok{\textless{}{-}} \FunctionTok{lm}\NormalTok{(disp }\SpecialCharTok{\textasciitilde{}}\NormalTok{ mpg }\SpecialCharTok{*}\NormalTok{ disp, }\AttributeTok{data =}\NormalTok{ data)}
+\NormalTok{outliers }\OtherTok{\textless{}{-}} \FunctionTok{check\_outliers}\NormalTok{(model, }\AttributeTok{method =} \StringTok{"cook"}\NormalTok{)}
+\NormalTok{outliers}
+\end{Highlighting}
+\end{Shaded}
+
+\begin{verbatim}
+#> 1 outlier detected: case 34.
+#> - Based on the following method and threshold: cook (0.708).
+#> - For variable: (Whole model).
+\end{verbatim}
+
+\begin{Shaded}
+\begin{Highlighting}[]
+\FunctionTok{plot}\NormalTok{(outliers)}
+\end{Highlighting}
+\end{Shaded}
+
+\begin{figure}
+\includegraphics[width=1\linewidth]{paper_files/figure-latex/model-1} \caption{Visual depiction of outliers based on Cook's distance (leverage and standardized residuals).}\label{fig:model}
+\end{figure}
+
+Table 1 below summarizes which methods to use in which cases, and with
+what threshold.
+
+\begin{longtable}[]{@{}
+ >{\raggedright\arraybackslash}p{(\columnwidth - 4\tabcolsep) * \real{0.3506}}
+ >{\raggedright\arraybackslash}p{(\columnwidth - 4\tabcolsep) * \real{0.3161}}
+ >{\raggedright\arraybackslash}p{(\columnwidth - 4\tabcolsep) * \real{0.3333}}@{}}
+\caption{Summary of Statistical Outlier Detection Methods
+Recommendations.}\tabularnewline
+\toprule()
+\begin{minipage}[b]{\linewidth}\raggedright
+Statistical Test
+\end{minipage} & \begin{minipage}[b]{\linewidth}\raggedright
+Diagnosis Method
+\end{minipage} & \begin{minipage}[b]{\linewidth}\raggedright
+Recommended Threshold
+\end{minipage} \\
+\midrule()
+\endfirsthead
+\toprule()
+\begin{minipage}[b]{\linewidth}\raggedright
+Statistical Test
+\end{minipage} & \begin{minipage}[b]{\linewidth}\raggedright
+Diagnosis Method
+\end{minipage} & \begin{minipage}[b]{\linewidth}\raggedright
+Recommended Threshold
+\end{minipage} \\
+\midrule()
+\endhead
+Supported regression model & \textbf{Model-based}: Cook (or Pareto for
+Bayesian models) & \texttt{qf(0.5,\ ncol(x),\ nrow(x)\ -\ ncol(x))} (or
+0.7 for Pareto) \\
+Structural Equation Modeling (or other unsupported model) &
+\textbf{Multivariate}: Minimum Covariance Determinant (MCD) &
+\texttt{qchisq(p\ =\ 1\ -\ 0.001,\ df\ =\ ncol(x))} \\
+Simple test with few variables (\emph{t} test, correlation, etc.) &
+\textbf{Univariate}: robust \emph{z} scores (MAD) &
+\texttt{qnorm(p\ =\ 1\ -\ 0.001\ /\ 2)}, \textasciitilde{} 3.29 \\
+\bottomrule()
+\end{longtable}
+
+\hypertarget{cooks-distance-vs.-mcd}{%
+\subsubsection{Cook's Distance vs.~MCD}\label{cooks-distance-vs.-mcd}}
+
+\citet{leys2018outliers} report a preference for the MCD method over
+Cook's distance. This is because Cook's distance removes one observation
+at a time and checks its corresponding influence on the model each time
+\citep{cook1977detection}, and flags any observation that has a large
+influence. In the view of these authors, when there are several
+outliers, the process of removing a single outlier at a time is
+problematic as the model remains ``contaminated'' or influenced by other
+possible outliers in the model, rendering this method suboptimal in the
+presence of multiple outliers.
+
+However, distribution-based approaches are not a silver bullet either,
+and there are cases where the usage of methods agnostic to theoretical
+and statistical models of interest might be problematic. For example, a
+very tall person would be expected to also be much heavier than average,
+but that would still fit with the expected association between height
+and weight (i.e., it would be in line with a model such as
+\texttt{weight\ \textasciitilde{}\ height}). In contrast, using
+multivariate outlier detection methods there may flag this person as
+being an outlier---being unusual on two variables, height and
+weight---even though the pattern fits perfectly with our predictions.
+
+In the example below, we plot the raw data and see two possible
+outliers. The first one falls along the regression line, and is
+therefore ``in line'' with our hypothesis. The second one clearly
+diverges from the regression line, and therefore we can conclude that
+this outlier may have a disproportionate influence on our model.
+
+\begin{Shaded}
+\begin{Highlighting}[]
+\NormalTok{data }\OtherTok{\textless{}{-}}\NormalTok{ women[}\FunctionTok{rep}\NormalTok{(}\FunctionTok{seq\_len}\NormalTok{(}\FunctionTok{nrow}\NormalTok{(women)), }\AttributeTok{each =} \DecValTok{100}\NormalTok{), ]}
+\NormalTok{data }\OtherTok{\textless{}{-}} \FunctionTok{rbind}\NormalTok{(data, }\FunctionTok{c}\NormalTok{(}\DecValTok{100}\NormalTok{, }\DecValTok{258}\NormalTok{), }\FunctionTok{c}\NormalTok{(}\DecValTok{100}\NormalTok{, }\DecValTok{200}\NormalTok{))}
+\NormalTok{model }\OtherTok{\textless{}{-}} \FunctionTok{lm}\NormalTok{(weight }\SpecialCharTok{\textasciitilde{}}\NormalTok{ height, data)}
+\NormalTok{rempsyc}\SpecialCharTok{::}\FunctionTok{nice\_scatter}\NormalTok{(data, }\StringTok{"height"}\NormalTok{, }\StringTok{"weight"}\NormalTok{)}
+\end{Highlighting}
+\end{Shaded}
+
+\begin{figure}
+\includegraphics[width=1\linewidth]{paper_files/figure-latex/scatter-1} \caption{Scatter plot of height and weight, with two extreme observations: one model-consistent (top-right) and the other, model-inconsistent (i.e., an outlier; bottom-right).}\label{fig:scatter}
+\end{figure}
+
+Using either the \emph{z}-score or MCD methods, our model-consistent
+observation will be incorrectly flagged as an outlier or influential
+observation.
+
+\begin{Shaded}
+\begin{Highlighting}[]
+\NormalTok{outliers }\OtherTok{\textless{}{-}} \FunctionTok{check\_outliers}\NormalTok{(model, }\AttributeTok{method =} \FunctionTok{c}\NormalTok{(}\StringTok{"zscore\_robust"}\NormalTok{, }\StringTok{"mcd"}\NormalTok{))}
+\FunctionTok{which}\NormalTok{(outliers)}
+\end{Highlighting}
+\end{Shaded}
+
+\begin{verbatim}
+#> [1] 1501 1502
+\end{verbatim}
+
+In contrast, the model-based detection method displays the desired
+behaviour: it correctly flags the person who is very tall but very
+light, without flagging the person who is both tall and heavy.
+
+\begin{Shaded}
+\begin{Highlighting}[]
+\NormalTok{outliers }\OtherTok{\textless{}{-}} \FunctionTok{check\_outliers}\NormalTok{(model, }\AttributeTok{method =} \StringTok{"cook"}\NormalTok{)}
+\FunctionTok{which}\NormalTok{(outliers)}
+\end{Highlighting}
+\end{Shaded}
+
+\begin{verbatim}
+#> [1] 1502
+\end{verbatim}
+
+\begin{Shaded}
+\begin{Highlighting}[]
+\FunctionTok{plot}\NormalTok{(outliers)}
+\end{Highlighting}
+\end{Shaded}
+
+\begin{figure}
+\includegraphics[width=1\linewidth]{paper_files/figure-latex/model2-1} \caption{The leverage method (Cook's distance) correctly distinguishes the true outlier from the model-consistent extreme observation).}\label{fig:model2}
+\end{figure}
+
+Finally, unusual observations happen naturally: extreme observations are
+expected even when taken from a normal distribution. While statistical
+models can integrate this ``expectation'', multivariate outlier methods
+might be too conservative, flagging too many observations despite
+belonging to the right generative process. For these reasons, we believe
+that model-based methods are still preferable to the MCD when using
+supported regression models. Additionally, if the presence of multiple
+outliers is a significant concern, regression methods that are more
+robust to outliers should be considered---like \emph{t} regression or
+quantile regression---as they render their precise identification less
+critical \citep{mcelreath2020statistical}.
+
+\hypertarget{multiple-methods}{%
+\subsection{Multiple Methods}\label{multiple-methods}}
+
+An alternative approach that is possible is to combine several methods,
+based on the assumption that different methods provide different angles
+of looking at the problem. By applying a variety of methods, one can
+hope to ``triangulate'' the true outliers (those consistently flagged by
+multiple methods) and thus attempt to minimize false positives.
+
+In practice, this approach computes a composite outlier score, formed of
+the average of the binary (0 or 1) classification results of each
+method. It represents the probability that each observation is
+classified as an outlier by at least one method. The default decision
+rule classifies rows with composite outlier scores superior or equal to
+0.5 as outlier observations (i.e., that were classified as outliers by
+at least half of the methods). In \emph{\{performance\}}'s
+\texttt{check\_outliers()}, one can use this approach by including all
+desired methods in the corresponding argument.
+
+\begin{Shaded}
+\begin{Highlighting}[]
+\NormalTok{outliers }\OtherTok{\textless{}{-}} \FunctionTok{check\_outliers}\NormalTok{(model, }\AttributeTok{method =} \FunctionTok{c}\NormalTok{(}\StringTok{"zscore\_robust"}\NormalTok{, }\StringTok{"mcd"}\NormalTok{, }\StringTok{"cook"}\NormalTok{))}
+\FunctionTok{which}\NormalTok{(outliers)}
+\end{Highlighting}
+\end{Shaded}
+
+\begin{verbatim}
+#> [1] 1501 1502
+\end{verbatim}
+
+Outliers (counts or per variables) for individual methods can then be
+obtained through attributes. For example:
+
+\begin{Shaded}
+\begin{Highlighting}[]
+\FunctionTok{attributes}\NormalTok{(outliers)}\SpecialCharTok{$}\NormalTok{outlier\_var}\SpecialCharTok{$}\NormalTok{zscore\_robust}
+\end{Highlighting}
+\end{Shaded}
+
+\begin{verbatim}
+#> $weight
+#> Row Distance_Zscore_robust
+#> 1501 1501 6.913530
+#> 1502 1502 3.653492
+#>
+#> $height
+#> Row Distance_Zscore_robust
+#> 1501 1501 5.901794
+#> 1502 1502 5.901794
+\end{verbatim}
+
+An example sentence for reporting the usage of the composite method
+could be:
+
+\begin{quote}
+Based on a composite outlier score (see the `check\_outliers()' function
+in the `performance' R package, \citep{ludecke2021performance}) obtained
+via the joint application of multiple outliers detection algorithms ((a)
+median absolute deviation (MAD)-based robust \emph{z} scores,
+\citep{leys2013outliers}; (b) Mahalanobis minimum covariance determinant
+(MCD), \citep{leys2019outliers}; and (c) Cook's distance,
+\citep{cook1977detection}), we excluded two participants that were
+classified as outliers by at least half of the methods used.
+\end{quote}
+
+\hypertarget{handling-outliers}{%
+\section{Handling Outliers}\label{handling-outliers}}
+
+The above section demonstrated how to identify outliers using the
+\texttt{check\_outliers()} function in the \emph{\{performance\}}
+package. But what should we do with these outliers once identified?
+Although it is common to automatically discard any observation that has
+been marked as ``an outlier'' as if it might infect the rest of the data
+with its statistical ailment, we believe that the use of SOD methods is
+but one step in the get-to-know-your-data pipeline; a researcher or
+analyst's \emph{domain knowledge} must be involved in the decision of
+how to deal with observations marked as outliers by means of SOD.
+Indeed, automatic tools can help detect outliers, but they are nowhere
+near perfect. Although they can be useful to flag suspect data, they can
+have misses and false alarms, and they cannot replace human eyes and
+proper vigilance from the researcher. If you do end up manually
+inspecting your data for outliers, it can be helpful to think of
+outliers as belonging to different types of outliers, or categories,
+which can help decide what to do with a given outlier.
+
+\hypertarget{error-interesting-and-random-outliers}{%
+\subsection{Error, Interesting, and Random
+Outliers}\label{error-interesting-and-random-outliers}}
+
+\citet{leys2019outliers} distinguish between error outliers, interesting
+outliers, and random outliers. \emph{Error outliers} are likely due to
+human error and should be corrected before data analysis or outright
+removed since they are invalid observations. \emph{Interesting outliers}
+are not due to technical error and may be of theoretical interest; it
+might thus be relevant to investigate them further even though they
+should be removed from the current analysis of interest. \emph{Random
+outliers} are assumed to be due to chance alone and to belong to the
+correct distribution and, therefore, should be retained.
+
+It is recommended to \emph{keep} observations which are expected to be
+part of the distribution of interest, even if they are outliers
+\citep{leys2019outliers}. However, if it is suspected that the outliers
+belong to an alternative distribution, then those observations could
+have a large impact on the results and call into question their
+robustness, especially if significance is conditional on their
+inclusion.
+
+On the other hand, there are also outliers that cannot be detected by
+statistical tools, but should be found and removed. For example, if we
+are studying the effects of X on Y among teenagers and we have one
+observation from a 20-year-old, this observation might not be a
+\emph{statistical outlier}, but it is an outlier in the \emph{context}
+of our research, and should be discarded to allow for valid inferences.
+
+\hypertarget{winsorization}{%
+\subsection{Winsorization}\label{winsorization}}
+
+\emph{Removing} outliers can in this case be a valid strategy, and
+ideally one would report results with and without outliers to see the
+extent of their impact on results. This approach however can reduce
+statistical power. Therefore, some propose a \emph{recoding} approach,
+namely, winsorization: bringing outliers back within acceptable limits
+\citep[e.g., 3 MADs,][]{tukey1963less}. However, if possible, it is
+recommended to collect enough data so that even after removing outliers,
+there is still sufficient statistical power without having to resort to
+winsorization \citep{leys2019outliers}.
+
+The \emph{easystats} ecosystem makes it easy to incorporate this step
+into your workflow through the \texttt{winsorize()} function of
+\emph{\{datawizard\}}, a lightweight R package to facilitate data
+wrangling and statistical transformations \citep{patil2022datawizard}.
+This procedure will bring back univariate outliers within the limits of
+`acceptable' values, based either on the percentile, the \emph{z} score,
+or its robust alternative based on the MAD.
+
+\begin{Shaded}
+\begin{Highlighting}[]
+\NormalTok{data[}\DecValTok{1501}\SpecialCharTok{:}\DecValTok{1502}\NormalTok{, ] }\CommentTok{\# See outliers rows}
+\end{Highlighting}
+\end{Shaded}
+
+\begin{verbatim}
+#> height weight
+#> 1501 100 258
+#> 1502 100 200
+\end{verbatim}
+
+\begin{Shaded}
+\begin{Highlighting}[]
+\CommentTok{\# Winsorizing using the MAD}
+\FunctionTok{library}\NormalTok{(datawizard)}
+\NormalTok{winsorized\_data }\OtherTok{\textless{}{-}} \FunctionTok{winsorize}\NormalTok{(data, }\AttributeTok{method =} \StringTok{"zscore"}\NormalTok{, }\AttributeTok{robust =} \ConstantTok{TRUE}\NormalTok{, }\AttributeTok{threshold =} \DecValTok{3}\NormalTok{)}
+
+\CommentTok{\# Values \textgreater{} +/{-} MAD have been winsorized}
+\NormalTok{winsorized\_data[}\DecValTok{1501}\SpecialCharTok{:}\DecValTok{1502}\NormalTok{, ]}
+\end{Highlighting}
+\end{Shaded}
+
+\begin{verbatim}
+#> height weight
+#> 1501 82.7912 188.3736
+#> 1502 82.7912 188.3736
+\end{verbatim}
+
+\hypertarget{the-importance-of-transparency}{%
+\subsection{The Importance of
+Transparency}\label{the-importance-of-transparency}}
+
+Once again, it is a critical part of a sound outlier treatment that
+regardless of which SOD method used, it should be reported in a
+reproducible manner. Ideally, the handling of outliers should be
+specified \emph{a priori} with as much detail as possible, and
+preregistered, to limit researchers' degrees of freedom and therefore
+risks of false positives \citep{leys2019outliers}. This is especially
+true given that interesting outliers and random outliers are often times
+hard to distinguish in practice. Thus, researchers should always
+prioritize transparency and report all of the following information: (a)
+how many outliers were identified; (b) according to which method and
+criteria, (c) using which function of which R package (if applicable),
+and (d) how they were handled (excluded or winsorized, if the latter,
+using what threshold). If at all possible, (e) the corresponding code
+script along with the data should be shared on a public repository like
+the Open Science Framework (OSF), so that the exclusion criteria can be
+reproduced precisely.
+
+\hypertarget{conclusion}{%
+\section{Conclusion}\label{conclusion}}
+
+In this paper, we have showed how to investigate outliers using the
+\texttt{check\_outliers()} function of the \emph{\{performance\}}
+package while following current good practices. However, best practice
+for outlier treatment does not stop at using appropriate statistical
+algorithms, but entails respecting existing recommendations, such as
+preregistration, reproducibility, consistency, transparency, and
+justification. Ideally, one would additionally also report the package,
+function, and threshold used (linking to the full code when possible).
+We hope that this paper and the accompanying \texttt{check\_outlier()}
+function of \emph{easystats} will help researchers engage in good
+research practices while providing a smooth outlier detection
+experience.
+
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% %% optional
+% \supplementary{The following are available online at www.mdpi.com/link, Figure S1: title, Table S1: title, Video S1: title.}
+%
+% % Only for the journal Methods and Protocols:
+% % If you wish to submit a video article, please do so with any other supplementary material.
+% % \supplementary{The following are available at www.mdpi.com/link: Figure S1: title, Table S1: title, Video S1: title. A supporting video article is available at doi: link.}
+
+\vspace{6pt}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\acknowledgments{\emph{\{performance\}} is part of the collaborative
+\href{https://github.com/easystats/easystats}{\emph{easystats}}
+ecosystem \citep{easystatspackage}. Thus, we thank all
+\href{https://github.com/orgs/easystats/people}{members of easystats},
+contributors, and users alike.}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\authorcontributions{R.T. drafted the paper; all authors contributed to
+both the writing of the paper and the conception of the software.}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\conflictsofinterest{The authors declare no conflict of interest.}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% optional
+\abbreviations{The following abbreviations are used in this manuscript:\\
+
+\noindent
+\begin{tabular}{@{}ll}
+SOD & Statistical outlier detection \\
+SEM & Structural equation modelling \\
+SD & Standard deviation \\
+MAD & Median absolute deviation \\
+IQR & Interquartile range \\
+HDI & Highest density interval \\
+BCI & Bias corrected and accelerated interval \\
+MCD & Minimum covariance determinant \\
+ICS & invariant coordinate selection \\
+OSF & Open Science Framework \\
+\end{tabular}}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Citations and References in Supplementary files are permitted provided that they also appear in the reference list here.
+
+%=====================================
+% References, variant A: internal bibliography
+%=====================================
+%\reftitle{References}
+%\begin{thebibliography}{999}
+% Reference 1
+%\bibitem[Author1(year)]{ref-journal}
+%Author1, T. The title of the cited article. {\em Journal Abbreviation} {\bf 2008}, {\em 10}, 142--149.
+% Reference 2
+%\bibitem[Author2(year)]{ref-book}
+%Author2, L. The title of the cited contribution. In {\em The Book Title}; Editor1, F., Editor2, A., Eds.; Publishing House: City, Country, 2007; pp. 32--58.
+%\end{thebibliography}
+
+% The following MDPI journals use author-date citation: Arts, Econometrics, Economies, Genealogy, Humanities, IJFS, JRFM, Laws, Religions, Risks, Social Sciences. For those journals, please follow the formatting guidelines on http://www.mdpi.com/authors/references
+% To cite two works by the same author: \citeauthor{ref-journal-1a} (\citeyear{ref-journal-1a}, \citeyear{ref-journal-1b}). This produces: Whittaker (1967, 1975)
+% To cite two works by the same author with specific pages: \citeauthor{ref-journal-3a} (\citeyear{ref-journal-3a}, p. 328; \citeyear{ref-journal-3b}, p.475). This produces: Wong (1999, p. 328; 2000, p. 475)
+
+%=====================================
+% References, variant B: external bibliography
+%=====================================
+\reftitle{References}
+\externalbibliography{yes}
+\bibliography{mybibfile.bib}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% optional
+
+%% for journal Sci
+%\reviewreports{\\
+%Reviewer 1 comments and authors’ response\\
+%Reviewer 2 comments and authors’ response\\
+%Reviewer 3 comments and authors’ response
+%}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+\end{document}
diff --git a/papers/Mathematics/paper_files/figure-latex/model-1.pdf b/papers/Mathematics/paper_files/figure-latex/model-1.pdf
new file mode 100644
index 000000000..981b68318
Binary files /dev/null and b/papers/Mathematics/paper_files/figure-latex/model-1.pdf differ
diff --git a/papers/Mathematics/paper_files/figure-latex/model2-1.pdf b/papers/Mathematics/paper_files/figure-latex/model2-1.pdf
new file mode 100644
index 000000000..09f4b43c0
Binary files /dev/null and b/papers/Mathematics/paper_files/figure-latex/model2-1.pdf differ
diff --git a/papers/Mathematics/paper_files/figure-latex/multimethod-1.pdf b/papers/Mathematics/paper_files/figure-latex/multimethod-1.pdf
new file mode 100644
index 000000000..899d7efff
Binary files /dev/null and b/papers/Mathematics/paper_files/figure-latex/multimethod-1.pdf differ
diff --git a/papers/Mathematics/paper_files/figure-latex/multivariate-1.pdf b/papers/Mathematics/paper_files/figure-latex/multivariate-1.pdf
new file mode 100644
index 000000000..19572182e
Binary files /dev/null and b/papers/Mathematics/paper_files/figure-latex/multivariate-1.pdf differ
diff --git a/papers/Mathematics/paper_files/figure-latex/scatter-1.pdf b/papers/Mathematics/paper_files/figure-latex/scatter-1.pdf
new file mode 100644
index 000000000..ff314a816
Binary files /dev/null and b/papers/Mathematics/paper_files/figure-latex/scatter-1.pdf differ
diff --git a/papers/Mathematics/paper_files/figure-latex/univariate-1.pdf b/papers/Mathematics/paper_files/figure-latex/univariate-1.pdf
new file mode 100644
index 000000000..bd9572308
Binary files /dev/null and b/papers/Mathematics/paper_files/figure-latex/univariate-1.pdf differ
diff --git a/papers/Mathematics/paper_files/figure-latex/unnamed-chunk-3-1.pdf b/papers/Mathematics/paper_files/figure-latex/unnamed-chunk-3-1.pdf
new file mode 100644
index 000000000..23f1cf478
Binary files /dev/null and b/papers/Mathematics/paper_files/figure-latex/unnamed-chunk-3-1.pdf differ
diff --git a/papers/Mathematics/paper_files/figure-latex/unnamed-chunk-4-1.pdf b/papers/Mathematics/paper_files/figure-latex/unnamed-chunk-4-1.pdf
new file mode 100644
index 000000000..3316d1de5
Binary files /dev/null and b/papers/Mathematics/paper_files/figure-latex/unnamed-chunk-4-1.pdf differ
diff --git a/papers/Mathematics/paper_files/figure-latex/unnamed-chunk-5-1.pdf b/papers/Mathematics/paper_files/figure-latex/unnamed-chunk-5-1.pdf
new file mode 100644
index 000000000..74d6134f7
Binary files /dev/null and b/papers/Mathematics/paper_files/figure-latex/unnamed-chunk-5-1.pdf differ
diff --git a/papers/Mathematics/paper_files/figure-latex/unnamed-chunk-5-2.pdf b/papers/Mathematics/paper_files/figure-latex/unnamed-chunk-5-2.pdf
new file mode 100644
index 000000000..ef8134512
Binary files /dev/null and b/papers/Mathematics/paper_files/figure-latex/unnamed-chunk-5-2.pdf differ