tests/testthat/_snaps/weat_test.md

Display mistake

Code
  weat_resampling(sw)
Output

    Resampling approximation of the exact test in Caliskan et al. (2017)

  data:  sw
  bias = 0.024865, p-value = 0.0169
  alternative hypothesis: true bias is greater than -3.669546e-05
  sample estimates:
        bias 
  0.02486533
Code
  weat_resampling(whatever)
Output

    Resampling approximation of the exact test in Caliskan et al. (2017)

  data:  whatever
  bias = 0.024865, p-value = 0.0157
  alternative hypothesis: true bias is greater than 8.26938e-05
  sample estimates:
        bias 
  0.02486533

exact

Code
  weat_exact(sw2)
Output

    The exact test in Caliskan et al. (2017)

  data:  sw2
  p-value < 2.2e-16
  alternative hypothesis: greater

exact., reverse

Code
  weat_exact(sw3)
Output

    The exact test in Caliskan et al. (2017)

  data:  sw3
  p-value = 0.001389
  alternative hypothesis: greater


Try the sweater package in your browser

Any scripts or data that you put into this service are public.

sweater documentation built on Jan. 21, 2022, 1:09 a.m.