10. とは何か
• 統計処理を目的とするプログラミング言語
• 無償+オープンソースのソフトウェア
• 作者:Ross Ihaka & Robert Gentleman (R & R)
• Ross Ihaka and Robert Gentleman. R: A language for data analysis and graphics.
Journal of Computational and Graphical Statistics, 5(3):299-314, 1996.
• http://biostat.mc.vanderbilt.edu/twiki/pub/Main/JeffreyHorner/JCGSR.pdf
17. のインストール
• Windows: : http://cran.ism.ac.jp/bin/windows/base/
•「Download R 3.1.1 for Windows」をクリック
• Mac OS X:http://cran.ism.ac.jp/bin/macosx/
•「R-3.1.1-mavericks.pkg」をクリック
134. > t.test(pretest, posttest,var.equal=TRUE)
!
Two Sample t-test
!
data: pretest and posttest
t = -6.3551, df = 58, p-value = 3.516e-08
alternative hypothesis: true difference in
means is not equal to 0 # 両側検定
95 percent confidence interval: # 信頼区間
-28.35969 -14.77364
sample estimates:
mean of x mean of y
51.33333 72.90000
t 検定