Skip to content

Commit

Permalink
reduce tol
Browse files Browse the repository at this point in the history
  • Loading branch information
philchalmers committed Nov 12, 2024
1 parent 230b6e2 commit 9e68e4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-17-DIF_DRF.R
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ test_that('DIF', {
dif <- DRF(model2, DIF = TRUE)
expect_equal(as.numeric(dif$sDIF[-c(1:5)]),
c(-0.04435560, 0.02738697, -0.02307566, -0.01429807, 0.01397205),
tolerance = 1e-4)
tolerance = 1e-2)
expect_equal(as.numeric(dif$uDIF[-c(1:5)]),
c(0.04448119, 0.06111498, 0.04441609, 0.04817261, 0.01960173),
tolerance = 1e-4)
tolerance = 1e-2)

set.seed(1234)
drf <- DRF(model2, draws = 100)
Expand Down

0 comments on commit 9e68e4a

Please sign in to comment.