Skip to content

Commit

Permalink
check_outliers paper (#544)
Browse files Browse the repository at this point in the history
Co-authored-by: Indrajeet Patil <[email protected]>
Co-authored-by: Mattan S. Ben-Shachar <[email protected]>
Co-authored-by: Dominique Makowski <[email protected]>
Co-authored-by: Brenton M. Wiernik <[email protected]>
Co-authored-by: Daniel <[email protected]>
  • Loading branch information
6 people authored Mar 31, 2023
1 parent 1ff1e20 commit c09c190
Show file tree
Hide file tree
Showing 33 changed files with 4,233 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
^vignettes/.
^pkgdown/.
^WIP/.
^paper/.
^papers/.
^.github/.
^CODE_OF_CONDUCT\.md$
^revdep$
Expand Down
28 changes: 14 additions & 14 deletions R/check_outliers.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
Expand Down Expand Up @@ -1416,13 +1416,13 @@ check_outliers.metabin <- check_outliers.metagen
}

.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))
Expand Down Expand Up @@ -1456,7 +1456,7 @@ check_outliers.metabin <- check_outliers.metagen
# 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) {
Expand Down Expand Up @@ -1565,7 +1565,7 @@ check_outliers.metabin <- check_outliers.metagen


.check_outliers_ci <- function(x,
threshold = 0.999,
threshold = 1 - 0.001,
method = "ci",
ID.names = NULL) {
# Run through columns
Expand Down
12 changes: 6 additions & 6 deletions man/check_outliers.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
27 changes: 27 additions & 0 deletions papers/Mathematics/cover_letter.Rmd
Original file line number Diff line number Diff line change
@@ -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
234 changes: 234 additions & 0 deletions papers/Mathematics/journalnames.tex

Large diffs are not rendered by default.

Binary file added papers/Mathematics/logo-mdpi.pdf
Binary file not shown.
Binary file added papers/Mathematics/logo-orcid.pdf
Binary file not shown.
Binary file added papers/Mathematics/logo-updates.pdf
Binary file not shown.
Loading

0 comments on commit c09c190

Please sign in to comment.