Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # A tibble: 26 x 2
- condition value
- <fctr> <int>
- 1 sim 99
- 2 sim 100
- 3 con 242
- 4 con 255
- 5 con 194
- 6 sim 135
- 7 con 504
- 8 sim 131
- 9 sim 115
- 10 sim 159
- # ... with 16 more rows
- wilcox.test(value ~ condition, data = q)
- Wilcoxon rank sum test with continuity correction
- data: value by condition
- W = 165, p-value = 3.445e-05
- alternative hypothesis: true location shift is not equal to 0
- qsim <- q$value[q$condition == "sim"]
- > qsim
- [1] 99 100 135 131 115 159 105 77 178 131 120 175 191 130
- qcon <- q$value[q$condition == "con"]
- > qcon
- [1] 242 255 194 504 545 344 194 198 208 173 349 280
- wilcox.test(qsim, qcon)
- Wilcoxon rank sum test with continuity correction
- data: qsim and qcon
- W = 3, p-value = 3.445e-05
- alternative hypothesis: true location shift is not equal to 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement