Size: 74
Comment: added about RPy
|
Size: 537
Comment: converted to 1.6 markup
|
Deletions are marked like this. | Additions are marked like this. |
Line 4: | Line 4: |
다음처럼 쉽게 p-value를 구할 수 있다. * T-Test {{{#!python from rpy import * x = [1,2,3,4,5,6,7,8,9,10] y = [2,2,3,3,4,4] result = r.t_test(x,y) print result['p.value'] }}} * F-Test {{{#!python from rpy import * x = [1,2,3,4,5,6,7,8,9,10] y = [2,2,3,3,4,4] result = r.var_test(x,y,alternative='greater') # alternative가 없으면 default로 two-sided test가 된다. print result['p.value'] }}} ---- CategoryProgramLibrary |
RPy is a [Python] interface to [R] package
다음처럼 쉽게 p-value를 구할 수 있다.
- T-Test
- F-Test