Guest User

Untitled

a guest
May 16th, 2018
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. x=c(7.6,9.6,10.4,10.7,11.9,14.1,14.6,18.5)
  2. mean(x); sd(x)
  3. [1] 12.175
  4. [1] 3.434177
  5. 1 - pnorm(20, mean(x), sd(x))
  6. [1] 0.01134643
  7.  
  8. t.test(x)
  9.  
  10. One Sample t-test
  11.  
  12. data: x
  13. t = 10.027, df = 7, p-value = 2.101e-05
  14. alternative hypothesis: true mean is not equal to 0
  15. 95 percent confidence interval:
  16. 9.303956 15.046044
  17. sample estimates:
  18. mean of x
  19. 12.175
  20.  
  21. sqrt(7*var(x)/qchisq(c(.975,.025), 7))
  22. [1] 2.270589 6.989485
  23.  
  24. MTB > OneVariance 'x';
  25. SUBC> Confidence 95.0.
  26.  
  27. Test and CI for One Variance: x
  28.  
  29. Method
  30.  
  31. The chi-square method is only for the normal distribution.
  32.  
  33. Statistics
  34.  
  35. Variable N StDev Variance
  36. x 8 3.43 11.8
  37.  
  38. 95% Confidence Interval
  39.  
  40. CI for CI for
  41. Variable Method StDev Variance
  42. x Chi-Square (2.27, 6.99) (5.2, 48.9)
Add Comment
Please, Sign In to add comment