Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 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