Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. a b
  2. 1 3.6162 3.6808
  3. 2 3.8967 4.0155
  4. 3 4.0669 4.2945
  5. 4 4.3680 4.4321
  6. 5 4.0558 4.2071
  7. 6 3.9234 3.9131
  8. 7 3.7467 3.9533
  9.  
  10. data
  11. x name
  12. 1 3.6162 a
  13. 2 3.6808 b
  14. 3 3.7467 a
  15. 4 3.8967 a
  16. 5 3.9131 b
  17. 6 3.9234 a
  18. 7 3.9533 b
  19. 8 4.0155 b
  20. 9 4.0558 a
  21. 10 4.0669 a
  22. 11 4.2071 b
  23. 12 4.2945 b
  24. 13 4.3680 a
  25. 14 4.4321 b
  26.  
  27. oneway.test(x~name, data = data)
  28.  
  29. One-way analysis of means (not assuming equal variances)
  30.  
  31. data: x and name
  32. F = 0.77477, num df = 1.00, denom df = 11.97, p-value = 0.3961
  33.  
  34. a<-c(3.6162,3.8967,4.0669,4.368,4.0558,3.9234,3.7467)
  35. b<-c(3.6808,4.0155,4.2945,4.4321,4.2071,3.9131,3.9533)
  36.  
  37. t.test(a,b,paired=T)
  38.  
  39. Paired t-test
  40.  
  41. data: a and b
  42. t = -3.6651, df = 6, p-value = 0.01052
  43. alternative hypothesis: true difference in means is not equal to 0
  44. 95 percent confidence interval:
  45. -0.19599321 -0.03906393
  46. sample estimates:
  47. mean of the differences
  48. -0.1175286
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement