Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check_outliers paper #544

Merged
merged 44 commits into from
Mar 31, 2023
Merged
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
100b784
[skip ci] first draft
rempsyc Jan 12, 2023
943a62a
change to apa style 7th edition
rempsyc Jan 12, 2023
fcec630
check_outliers paper first official draft
rempsyc Jan 18, 2023
2b62498
Merge branch 'easystats:main' into check_outliers_paper
rempsyc Jan 18, 2023
7d15cd9
edits and comments [skip ci]
IndrajeetPatil Jan 21, 2023
47e79ae
Update paper.Rmd
mattansb Jan 22, 2023
bb6ed24
forgot to add myself
IndrajeetPatil Jan 22, 2023
e45b204
integrate comments [skip ci]
rempsyc Feb 5, 2023
f66f9f2
typos [skip ci]
rempsyc Feb 5, 2023
eb90ad0
attributes, restructure, datawizard citation [skip ci]
rempsyc Feb 5, 2023
c2151c7
paragraph on cook distance and mcd [skip ci]
rempsyc Feb 12, 2023
e368c2e
comments / edits on the intro
DominiqueMakowski Feb 12, 2023
f1e2ec9
Univariate methods edit
DominiqueMakowski Feb 12, 2023
d19aad5
mention reference
DominiqueMakowski Feb 12, 2023
48e71ec
restore example with data to make multivariate example work
DominiqueMakowski Feb 12, 2023
f192655
tone down a bit + more hypotheticals
DominiqueMakowski Feb 12, 2023
0a170df
restore example [skip ci]
DominiqueMakowski Feb 12, 2023
c5bc6d9
more edits [skip ci]
DominiqueMakowski Feb 13, 2023
b959161
actually can probably add meself? [skip ci]
DominiqueMakowski Feb 13, 2023
f84823d
Merge branch 'main' into check_outliers_paper
rempsyc Feb 18, 2023
f8d3bbb
almost-final version [skip ci]
rempsyc Feb 18, 2023
09b2300
Merge branch 'check_outliers_paper' of https://github.com/rempsyc/per…
rempsyc Feb 18, 2023
6adc39e
minor code formatting [skip ci]
rempsyc Feb 18, 2023
e744e84
Update papers/Mathematics/paper.Rmd
bwiernik Feb 19, 2023
252c26f
Update papers/Mathematics/paper.Rmd
bwiernik Feb 19, 2023
e603b26
abstract [skip ci]
rempsyc Feb 20, 2023
b1e737e
remove duplicate
strengejacke Feb 20, 2023
8278db8
minor
strengejacke Feb 20, 2023
8931926
wording
strengejacke Feb 20, 2023
d31d6b4
wording - you may accept or not :-)
strengejacke Feb 20, 2023
6c4da36
more personal
strengejacke Feb 20, 2023
61f1f8d
add me to whichever position you like
strengejacke Feb 20, 2023
99080e6
code style
strengejacke Feb 20, 2023
e1c0847
bit more details on easystats
strengejacke Feb 20, 2023
fcd50e9
integration of Daniel's comments [skip ci]
rempsyc Feb 20, 2023
0e99433
knit PDF [skip ci]
rempsyc Feb 20, 2023
1adbca0
Merge branch 'main' into check_outliers_paper
strengejacke Mar 7, 2023
2cf6f72
start addressing reviewer comments [skip ci]
rempsyc Mar 26, 2023
cfbe186
Merge branch 'easystats:main' into check_outliers_paper
rempsyc Mar 26, 2023
e3e842f
integrate reviewer comments first round [skip ci]
rempsyc Mar 26, 2023
89addc5
address editor comment with real-life example [skip ci]
rempsyc Mar 26, 2023
2f92088
add figure captions [skip ci]
rempsyc Mar 26, 2023
ee67ee5
correct figure caption typo [skip ci]
rempsyc Mar 26, 2023
b8148e5
add robust reference McElreath 2020 [skip ci]
rempsyc Mar 27, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -1233,13 +1233,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))
Expand Down Expand Up @@ -1273,7 +1273,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) {
Expand Down Expand Up @@ -1382,7 +1382,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
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.
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