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 = 0.15
  alternative hypothesis: greater

exact., reverse

Code
  weat_exact(sw3)
Output

    The exact test in Caliskan et al. (2017)

  data:  sw3
  p-value = 0.8
  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 Nov. 7, 2023, 5:08 p.m.