Week4B&5AMTB2304_NPStat

Week4B&5AMTB2304_NPStat - ADM2304: Non-Parametric...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
ADM2304: Non-Parametric Tests Sign, Wilcoxon & Mann-Whitney Tests Dr. Suren Phansalker 1. Non-Parametric Sign Test: MTB > sign c7 c8 5 Negative values 1 Zero values 10 Positive values MTB > code (-1:0)0 (1:1)1 c8 c9 MTB > print c5-c9 Data Display Row Shop$1 Shop$2 Diff2 Signs CodedV 1 334 405 71 1 1 2 150 125 -25 -1 0 3 520 575 55 1 1 4 95 150 55 1 1 5 212 200 -12 -1 0 6 30 30 0 0 0 7 1055 1200 145 1 1 8 300 265 -35 -1 0 9 85 140 55 1 1 10 129 206 77 1 1 11 40 18 -22 -1 0 12 440 495 55 1 1 13 610 590 -20 -1 0 14 208 310 102 1 1 15 880 995 115 1 1 16 25 75 50 1 1 MTB > POne 'CodedV'; SUBC> Confidence 95.0; SUBC> Test 0.5; SUBC> Alternative 0; SUBC> UseZ. Test and Confidence Interval for One Proportion Test of p = 0.5 vs p not = 0.5 Success = 1 Variable X N Sample p 95.0 % CI Z-Value P-Value CodedV 10 16 0.625000 (0.387784, 0.862216) 1.00 0.317 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
MTB > POne 'CodedV'; SUBC> Confidence 95.0; SUBC> Test 0.65; SUBC> Alternative 0; SUBC> UseZ. Test and Confidence Interval for One Proportion Test of p = 0.65 vs p not = 0.65 Success = 1 Variable X N Sample p 95.0 % CI Z-Value P-Value CodedV 10 16 0.625000 (0.387784, 0.862216) -0.21 0.834 MTB > POne 'CodedV'; SUBC> Confidence 95.0; SUBC> Test 0.35; SUBC> Alternative 0; SUBC> UseZ. Test and Confidence Interval for One Proportion Test of p = 0.35 vs p not = 0.35 Success = 1 Variable X N Sample p 95.0 % CI Z-Value P-Value CodedV 10 16 0.625000 (0.387784, 0.862216) 2.31 0.021 MTB > wtest c7 #Non-Parametric Wilcoxon Test on 1 Sample for Median 2. Non-Parametric Signed Rank or Wilcoxon Test: Wilcoxon Signed Rank Test Test of median = 0.000000 versus median not = 0.000000 N for Wilcoxon Estimated N Test Statistic P Median Diff2 16 15 105.0 0.011 43.00 2
Background image of page 2
Wilcoxon Test Test Median: 0 Shopping$1 Shopping$2 Change Test Median Difference AbsDiffer Rank R+ R- 334 405 71 0 71 71 12 12 150 125 -25 0 -25 25 5 5 520 575 55 0 55 55 8 9.5 95 150 55 0 55 55 8 9.5 212 200 -12 0 -12 12 2 2 30 30 0 0 0 0 1 1 1055 1200 145 0 145 145 16 16 300 265 -35 0 -35 35 6 6 85 140 55 0 55 55 8 9.5 129 206 77 0 77 77 13 13 40 18 -22 0 -22 22 4 4 440 495 55 0 55 55 8 9.5 610 590 -20 0 -20 20 3 3 208 310 102 0 102 102 14 14 880 995 115 0 115 115 15 15 25 75 50 0 50 50 7 7 Sum(R+) 116.000 Sum(R-) 20.000 n = 16.000 μ T = 68.000 σ T = 19.339 T = 116.000 Z = 2.482 Here: k k 0 :0 A HM d d = {Two Tailed Test} , ( ) (116,20) 116 TM a x R R M a x +− == ∑∑ = (1 )
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 10

Week4B&5AMTB2304_NPStat - ADM2304: Non-Parametric...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online