tasks a-s
This commit is contained in:
parent
47bf37c096
commit
b83f433714
12433 changed files with 156208 additions and 123 deletions
8
Task/Permutation-test/J/permutation-test-1.j
Normal file
8
Task/Permutation-test/J/permutation-test-1.j
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
require'stats'
|
||||
trmt=: 0.85 0.88 0.75 0.66 0.25 0.29 0.83 0.39 0.97
|
||||
ctrl=: 0.68 0.41 0.1 0.49 0.16 0.65 0.32 0.92 0.28 0.98
|
||||
difm=: -&mean
|
||||
result=: trmt difm ctrl
|
||||
all=: trmt(#@[ ({. difm }.) |:@([ (comb ~.@,"1 i.@])&# ,) { ,) ctrl
|
||||
smoutput 'under: ','%',~":100*mean all <: result
|
||||
smoutput 'over: ','%',~":100*mean all > result
|
||||
2
Task/Permutation-test/J/permutation-test-2.j
Normal file
2
Task/Permutation-test/J/permutation-test-2.j
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
under: 87.1972%
|
||||
over: 12.8028%
|
||||
Loading…
Add table
Add a link
Reference in a new issue