R t검정

(R t-검정에서 넘어옴)

1 개요[ | ]

R t.test()

2 1표본 t검정[ | ]

R
CPU
0.3s
MEM
53M
0.3s
Copy
x = c(1:10)
t.test(x)

	One Sample t-test

data:  x
t = 5.7446, df = 9, p-value = 0.0002782
alternative hypothesis: true mean is not equal to 0
95 percent confidence interval:
 3.334149 7.665851
sample estimates:
mean of x 
      5.5 


3 2표본 t검정[ | ]

R
Copy
A1 = c(30.02, 29.99, 30.11, 29.97, 30.01, 29.99)
A2 = c(29.89, 29.93, 29.72, 29.98, 30.02, 29.98)
t.test(A1, A2)
Loading
R
Copy
a = c(1,2,3,4,5,6,7,8,9,10)
b = c(5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20)
t.test(x=a, y=b)
Loading

4 같이 보기[ | ]

5 참고[ | ]