Skip to content

Commit

Permalink
Update npvp name
Browse files Browse the repository at this point in the history
  • Loading branch information
koenderks committed Dec 9, 2024
1 parent 5ca5934 commit 0fb2a8d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: jfa
Title: Statistical Methods for Auditing
Version: 0.7.3
Date: 2024-12-02
Date: 2024-12-09
Authors@R: c(
person("Koen", "Derks", email = "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = '0000-0002-5533-9349')),
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-fairness-selection.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ test_that(desc = "Validation of fairness selection", {
# Accuracy parity
outcome <- fairness_selection(q1 = 1, q2 = 1, q3 = 3)
expect_equal(outcome$measure, "ap")
# Negative predictive rate parity
# Negative predictive value parity
outcome <- fairness_selection(q1 = 1, q2 = 1, q3 = 2, q4 = 2)
expect_equal(outcome$measure, "npvp")
# Specificity parity
Expand Down
2 changes: 1 addition & 1 deletion vignettes/articles/model-fairness.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ tailored to a specific context and dataset by answering the questions in the
developed decision-making workflow. The fairness measure that can be selected
include disparate impact, equalized odds, false positive rate parity, false
negative rate parity, predictive rate parity, equal opportunity, specificity
parity, negative predictive rate parity, accuracy parity [@castelnovo_2022;
parity, negative predictive value parity, accuracy parity [@castelnovo_2022;
@feldman_2015; @friedler_2019; @hardt_2016, @verma_2018]. After answering the
questions in the decision-making workflow and selecting the fairness measure to
apply, a graphical representation of the followed path can be created based
Expand Down

0 comments on commit 0fb2a8d

Please sign in to comment.