十无母数统计法NonparametricMethods课件_第1页
十无母数统计法NonparametricMethods课件_第2页
十无母数统计法NonparametricMethods课件_第3页
十无母数统计法NonparametricMethods课件_第4页
十无母数统计法NonparametricMethods课件_第5页
已阅读5页,还剩26页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、1Learning ObjectivesLearn advantages and disadvantages of nonparametric statistics.Nonparametric tests:Testing randomness of a single sample: Run testTesting differenceTwo independent samples: Mann-Whitney-Wilcoxon Rank Sum testTwo-sample z/t testTwo dependent samples. Wilcoxon signed rank testPaire

2、d sample t test2 independent samples. Kruskal-Wallis testOne-way ANOVA2 samples with blocking: Friedman testRCBDCorrelation: Spearmans rank correlation coefficient2022/7/24Copyright by Jen-pei Liu, PhD2IntroductionAssumption for t-test or correlation (regression) coefficientsNormality Equal variance

3、Independence Not all data satisfy these assumptions!3Parametric v.s. Nonparametric statisticsParametric statistics mainly are based on assumptions about the populationEx. X has normal population for t-test, or ANOVA.Requires interval or ratio level data.Nonparametric statistics depend on fewer assum

4、ptions about the population and parameters. “distribution-free” statistics.Most analysis are based on rank.Valid for ordinal data.4Advantages and Disadvantages of Nonparametric TechniquesAdvantages There is no parametric alternativeNominal data or ordinal data are analyzedLess complicated computatio

5、ns for small sample sizeExact method. Not approximation.DisadvantagesLess powerful if parametric tests are available.Not widely available and less well knowFor large samples, calculations can be tedious.2022/7/24Copyright by Jen-pei Liu, PhD5Wilcoxon Signed-rank TestExample:脊柱後側凸病患,其平均Pimax值是否小於110

6、cm H2O Ho: 110 vs. Ha: W1-/2, n or TSR 30) Test statistic: 2022/7/24Copyright by Jen-pei Liu, PhD9Wilcoxon Signed-rank TestExample: X=pimax Rank of sign*rankXX-110abs(X-110) abs(X-110)sign abs(X-110)54.8-55.255.230062.0-48.048.020063.3-46.746.710044.2-65.865.840040.3-69.769.750036.3-73.773.360019.3-

7、90.790.790024.6-85.485.480026.6-83.483.4700Sum02022/7/24Copyright by Jen-pei Liu, PhD10Wilcoxon Signed-rank TestN=930 Exact MethodTSR = 0=0.05, T0.025,9=6 TSR = 0 T0.025,9=6Reject H0 at the 0.05 level.2022/7/24Copyright by Jen-pei Liu, PhD11Quantiles of the Wilcoxon Signed Ranks Test Statistic2022/7

8、/24Copyright by Jen-pei Liu, PhD12Mann-Whitney-Wilcoxon Rank Sum TestTwo independent random samplesExample: Weight gain at one month by two baby formulas A: 6.9, 7.6, 7.3, 7.6, 6.8, 7.2, 8.0, 5.5, 7.3 B: 6.4, 6.7, 5.4, 8.2, 5.3, 6.6, 5.8, 5.7 6.2, 7.1 2022/7/24Copyright by Jen-pei Liu, PhD13Mann-Whi

9、tney-Wilcoxon Rank Sum TestMethodRank the observations in the combined sample from the smallest (1) to the largest (n1+n2)In case of ties, use the averaged rank Compute the sum of ranks for each sample 2022/7/24Copyright by Jen-pei Liu, PhD14Mann-Whitney-Wilcoxon Rank Sum Test A B WeightRankWeightRa

10、nk 6.9116.477.616.56.797.314.55.427.616.58.2196.8105.317.2136.688.0185.855.535.747.314.56.26 7.112sum117732022/7/24Copyright by Jen-pei Liu, PhD15Mann-Whitney-Wilcoxon Rank Sum TestExact Method for Small Samples(n1+n2 30)Null hypothesis: H0: The location of population distributions for 1 and 2 are i

11、dentical. Alternative hypothesis: Ha: The location of the population distributions are shifted in either directions(a two-tailed test). 2022/7/24Copyright by Jen-pei Liu, PhD16Mann-Whitney-Wilcoxon Rank Sum TestTest statistics: For a two-tailed test, use U, where T1 is the rank sums for samples 1. 2

12、022/7/24Copyright by Jen-pei Liu, PhD17Mann-Whitney-Wilcoxon Rank Sum TestRejection rule: For the two-tailed test and a given value of significance , reject the null hypothesis of no difference ifU w1-/2,n1,n2 w1-/2,n1,n2 =n1n2 - w/2,n1,n2 2022/7/24Copyright by Jen-pei Liu, PhD18Mann-Whitney-Wilcoxo

13、n Rank Sum TestMethod for larger Samples (n1+n230 ) Test Statistics: 2022/7/24Copyright by Jen-pei Liu, PhD19Mann-Whitney-Wilcoxon Rank Sum TestExample: reject H0 that no difference exists between two baby formulas on weight gain2022/7/24Copyright by Jen-pei Liu, PhD20Critical Values for the Wilcoxo

14、n/Mann-Whitney Test (U)2022/7/24Copyright by Jen-pei Liu, PhD21Kruskal-Wallis TestK independent samplesExample: body weights in gram of Wistar rats in a repeated dose toxicity study 2022/7/24Copyright by Jen-pei Liu, PhD22Kruskal-Wallis TestData set: body weights in gram of Wistar rats in a repeated

15、 dose toxicity study Control:295.1 277.9 299.4 280.6 285.7 299.2 279.7 277.4 299.2 287.8 292.0 318.8 280.8 292.9 305.2Low dose: 287.3 289.5 278.4 281.8 264.9 252.0 284.7 268.9 305.6 295.7 287.6 254.7 292.7 267.9 300.8Middle dose: 247.5 281.1 284.5 295.0 285.9 273.7 244.1 272.7 262.1 278.8 298.3 298.

16、5 293.5 259.6 275.3High dose: 263.8 255.6 267.2 259.6 238.2 240.4 255.6 255.5 242.5 296.6 246.0 282.7 254.0 280.6 268.2 2022/7/24Copyright by Jen-pei Liu, PhD2312.4 Kruskal-Wallis TestMethods:Rank the combined sample from the smallest (1) to the largest(n1+ n2+ + nt )In case of ties, use the average

17、d rankCompute the sums of ranks for each samples, Ri 2022/7/24Copyright by Jen-pei Liu, PhD2412.4 Kruskal-Wallis TestMethods:Null hypothesis: H0: The locations of the distributions of all of the k2 populations are identical.Alternative hypothesis: Ha: The locations of at least two of the k frequency

18、 distributions differ2022/7/24Copyright by Jen-pei Liu, PhD2512.4 Kruskal-Wallis TestTest statistics: Rejection region: Reject H0 if with (k-1) degrees of freedom2022/7/24Copyright by Jen-pei Liu, PhD26Kruskal-Wallis TestControl:295.1(49) 277.9(26) 299.4(56) 280.6(30.5) 285.7(38) 299.2(54.5) 279.7(2

19、9) 277.4(25) 299.2(54.5) 287.8(42) 292.0(44) 318.8(60) 280.8(32) 292.9(46) 305.2(58); sum = 644.5Low dose: 287.3(40) 289.5(43) 278.4(27) 281.8(34) 264.9(17) 252.0(7) 284.7(37) 268.9(21) 305.6(59) 295.7(50) 287.6(41) 254.7(9) 292.7(45) 267.9(19) 300.8(57); sum = 506.5Middle dose: 247.5(6) 281.1(33) 2

20、84.5(36) 295.0(48) 285.9(39) 273.7(23) 244.1(4) 272.7(22) 262.1(15) 278.8(28) 298.3(52) 298.5(53) 293.5(47) 259.6(13.5) 275.3(24); sum = 443.5High dose: 263.8(16) 255.6(11.5) 267.2(18) 259.6(13.5) 238.2(1) 240.4(2) 255.6(11.5) 255.5(10) 242.5(3) 296.6(51) 246.0(5) 282.7(35) 254.0(8) 280.6(30.5) 268.

21、2(20); sum = 236.0 2022/7/24Copyright by Jen-pei Liu, PhD2712.4 Kruskal-Wallis TestExample:Reject H0 that weights are the same for all groups2022/7/24Copyright by Jen-pei Liu, PhD28Quantiles of the Kruskal-Wallis Test Statistic for Small Sample Sizes2022/7/24Copyright by Jen-pei Liu, PhD29統計歷史人物小傳Frank Wilcoxon (1892-1965)PhD in organic chemistry from Cornell in 1924Research in fungicide

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论