Tuesday PM  Presentation of AM results  What are nonparametric tests?  Nonparametric tests for central tendency Mann-Whitney U test (aka Wilcoxon rank-sum.

Slides:



Advertisements
Similar presentations
Independent t -test Features: One Independent Variable Two Groups, or Levels of the Independent Variable Independent Samples (Between-Groups): the two.
Advertisements

Chapter 16 Introduction to Nonparametric Statistics
© 2011 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license.
PSY 307 – Statistics for the Behavioral Sciences Chapter 20 – Tests for Ranked Data, Choosing Statistical Tests.
Ordinal Data. Ordinal Tests Non-parametric tests Non-parametric tests No assumptions about the shape of the distribution No assumptions about the shape.
INTRODUCTION TO NON-PARAMETRIC ANALYSES CHI SQUARE ANALYSIS.
statistics NONPARAMETRIC TEST
Lecture 3: Chi-Sqaure, correlation and your dissertation proposal Non-parametric data: the Chi-Square test Statistical correlation and regression: parametric.
Chapter 12 Chi-Square Tests and Nonparametric Tests
Chapter 14 Analysis of Categorical Data
Chapter 12 Chi-Square Tests and Nonparametric Tests
Test statistic: Group Comparison Jobayer Hossain Larry Holmes, Jr Research Statistics, Lecture 5 October 30,2008.
Statistics 07 Nonparametric Hypothesis Testing. Parametric testing such as Z test, t test and F test is suitable for the test of range variables or ratio.
PSY 1950 Nonparametric Statistics November 24, 2008.
Chi-square Test of Independence
Statistics for Managers Using Microsoft® Excel 5th Edition
Nemours Biomedical Research Statistics March 26, 2009 Tim Bunnell, Ph.D. & Jobayer Hossain, Ph.D. Nemours Bioinformatics Core Facility.
Student’s t statistic Use Test for equality of two means
PSY 307 – Statistics for the Behavioral Sciences Chapter 19 – Chi-Square Test for Qualitative Data Chapter 21 – Deciding Which Test to Use.
Review for Exam 2 Some important themes from Chapters 6-9 Chap. 6. Significance Tests Chap. 7: Comparing Two Groups Chap. 8: Contingency Tables (Categorical.
Chapter 12 Chi-Square Tests and Nonparametric Tests
Mann-Whitney and Wilcoxon Tests.
Nonparametrics and goodness of fit Petter Mostad
Inferential Statistics
Statistics for the Social Sciences Psychology 340 Fall 2013 Thursday, November 21 Review for Exam #4.
Estimation and Hypothesis Testing Faculty of Information Technology King Mongkut’s University of Technology North Bangkok 1.
Inferential Statistics: SPSS
Marketing Research, 2 nd Edition Alan T. Shao Copyright © 2002 by South-Western PPT-1 CHAPTER 17 BIVARIATE STATISTICS: NONPARAMETRIC TESTS.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 12-1 Statistics for Managers Using Microsoft® Excel 5th Edition Chapter.
A Repertoire of Hypothesis Tests  z-test – for use with normal distributions and large samples.  t-test – for use with small samples and when the pop.
TAUCHI – Tampere Unit for Computer-Human Interaction ERIT 2015: Data analysis and interpretation (1 & 2) Hanna Venesvirta Tampere Unit for Computer-Human.
Chapter 9: Non-parametric Tests n Parametric vs Non-parametric n Chi-Square –1 way –2 way.
Statistical analysis Prepared and gathered by Alireza Yousefy(Ph.D)
Chapter 14 Nonparametric Tests Part III: Additional Hypothesis Tests Renee R. Ha, Ph.D. James C. Ha, Ph.D Integrative Statistics for the Social & Behavioral.
Biostatistics, statistical software VII. Non-parametric tests: Wilcoxon’s signed rank test, Mann-Whitney U-test, Kruskal- Wallis test, Spearman’ rank correlation.
Ordinally Scale Variables
Social Science Research Design and Statistics, 2/e Alfred P. Rovai, Jason D. Baker, and Michael K. Ponton Pearson Chi-Square Contingency Table Analysis.
MGT-491 QUANTITATIVE ANALYSIS AND RESEARCH FOR MANAGEMENT OSMAN BIN SAIF Session 26.
© 2014 by Pearson Higher Education, Inc Upper Saddle River, New Jersey All Rights Reserved HLTH 300 Biostatistics for Public Health Practice, Raul.
Nonparametric Statistics
Nonparametric Tests: Chi Square   Lesson 16. Parametric vs. Nonparametric Tests n Parametric hypothesis test about population parameter (  or  2.
Chapter 9 Three Tests of Significance Winston Jackson and Norine Verberg Methods: Doing Social Research, 4e.
Lesson 15 - R Chapter 15 Review. Objectives Summarize the chapter Define the vocabulary used Complete all objectives Successfully answer any of the review.
STATISTICAL ANALYSIS FOR THE MATHEMATICALLY-CHALLENGED Associate Professor Phua Kai Lit School of Medicine & Health Sciences Monash University (Sunway.
CHI SQUARE TESTS.
Chapter 13 CHI-SQUARE AND NONPARAMETRIC PROCEDURES.
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 12-1 Chapter 12 Chi-Square Tests and Nonparametric Tests Statistics for Managers using.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-1 Chapter 11 Chi-Square Tests and Nonparametric Tests Statistics for.
CD-ROM Chap 16-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition CD-ROM Chapter 16 Introduction.
NON-PARAMETRIC STATISTICS
Chapter 15 The Chi-Square Statistic: Tests for Goodness of Fit and Independence PowerPoint Lecture Slides Essentials of Statistics for the Behavioral.
Biostatistics Nonparametric Statistics Class 8 March 14, 2000.
Stats/Methods II JEOPARDY. Jeopardy Chi-Square Single-Factor Designs Factorial Designs Ordinal Data Surprise $100 $200$200 $300 $500 $400 $300 $400 $300.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Chi-Square Analyses.
Outline of Today’s Discussion 1.The Chi-Square Test of Independence 2.The Chi-Square Test of Goodness of Fit.
Copyright c 2001 The McGraw-Hill Companies, Inc.1 Chapter 11 Testing for Differences Differences betweens groups or categories of the independent variable.
Chapter 21prepared by Elizabeth Bauer, Ph.D. 1 Ranking Data –Sometimes your data is ordinal level –We can put people in order and assign them ranks Common.
Chapter Fifteen Chi-Square and Other Nonparametric Procedures.
© 2006 by The McGraw-Hill Companies, Inc. All rights reserved. 1 Chapter 11 Testing for Differences Differences betweens groups or categories of the independent.
HYPOTHESIS TESTING FOR DIFFERENCES BETWEEN MEANS AND BETWEEN PROPORTIONS.
Nonparametric Statistics
 Kolmogor-Smirnov test  Mann-Whitney U test  Wilcoxon test  Kruskal-Wallis  Friedman test  Cochran Q test.
Educational Research Inferential Statistics Chapter th Chapter 12- 8th Gay and Airasian.
Nonparametric statistics. Four levels of measurement Nominal Ordinal Interval Ratio  Nominal: the lowest level  Ordinal  Interval  Ratio: the highest.
Chapter 4 Selected Nonparemetric Techniques: PARAMETRIC VS. NONPARAMETRIC.
Non-parametric Tests Research II MSW PT Class 8. Key Terms Power of a test refers to the probability of rejecting a false null hypothesis (or detect a.
Hypothesis testing. Chi-square test
CS 594: Empirical Methods in HCC Experimental Research in HCI (Part 2)
Presentation transcript:

Tuesday PM  Presentation of AM results  What are nonparametric tests?  Nonparametric tests for central tendency Mann-Whitney U test (aka Wilcoxon rank-sum test) Mann-Whitney U test (aka Wilcoxon rank-sum test) Sign test, Wilcoxon signed-ranks test Sign test, Wilcoxon signed-ranks test Nonparametric ANOVA Nonparametric ANOVA  Chi-squared

Nonparametric tests  As mentioned on Monday, t-tests and ANOVAs are parametric: they make assumptions about the distribution of populations (typically, normal distributions)  Nonparametric tests don’t require normality, but… They are less powerful (require more subjects) They are less powerful (require more subjects) They test slightly different null hypotheses They test slightly different null hypotheses

Mann-Whitney U Test  Goal: Determine whether two groups differ on a variable. “Nonparametric indepedent t-test”  Equivalent to the Wilcoxon rank-sum test  Works by ranking all scores across groups, and computing the sum of the ranks within each group. Those rank-sums should be similar if the distributions are similar in each group.  U or W is reported, with significance.

Mann-Whitney U in SPSS  Analyze…Nonparametric tests…2 independent samples  Enter test (dependent) variable and grouping variable  Do Asian Pacific countries have significant larger populations than Eastern European countries? (t-test might be too sensitive to skew in distribution): Test Statistics Mann-Whitney U Wilcoxon W Z Asymp. Sig. (2-tailed).007 Exact Sig. [2*(1-tailed Sig.)].006  AP countries have significantly larger populations than EE (Mann-Whitney U=51, p<.06)

Sign test  Goal: Determine whether a variable, measured twice, differs between measurements. “Nonparametric paired t-test”  Works by examining the difference between each pair of scores, and categorizing it as positive, negative, or zero.  If the measurements differ, there should be significantly more positive or negative differences.

Sign test  Analyze…Nonparametric tests…2 related samples  Enter pairs of variables Avg male LE - Avg female LE in 109 countries: Negative Differences107 Positive Differences1 Ties1 Total109 Test Statistics Z Asymp. Sig. (2-tailed).000  Female life expectancy exceeds male life expectancy in nearly all countries (sign test, Z=-10.1, p <.05).

Wilcoxon signed-ranks test  Goal: Determine whether a variable, measured twice, differs between measurements. “Nonparametric paired t-test”  Works by ranking absolute differences between measurements, summing them up for positive and negative differences, and comparing the sums.  Unlike sign test, gives more weight to pairs that show large differences than to pairs that show small differences.

Wilcoxon signed-ranks test in SPSS  Analyze…Nonparametric tests…2 related samples  Enter pairs of variables Ranks: Avg male LE - Avg female LE NMean RankSum of Ranks NMean RankSum of Ranks Negative Ranks Positive Ranks Ties1 Test Statistics Z Asymp. Sig. (2-tailed).000  Female LE exceeds male LE across countries (Wilcoxon signed-ranks test, Z=-9.0, p <.05).

Nonparametric ANOVA  SPSS also offers nonparametric tests for: 3+ independent groups (Kruskal-Wallis H) “Nonparametric one-way between-subject ANOVA” 3+ independent groups (Kruskal-Wallis H) “Nonparametric one-way between-subject ANOVA” 3+ repeated measures of same variable (Friedman’s test) “Nonparametric one-way within-subject ANOVA” 3+ repeated measures of same variable (Friedman’s test) “Nonparametric one-way within-subject ANOVA” 3+ measures by different raters (Kendall’s W) 3+ measures by different raters (Kendall’s W)

Chi-squared   2 is one of the most useful nonparametric statistics. It can be applied to many problems: Is an observed distribution of responses different from an expected on? Is an observed distribution of responses different from an expected on? Are there independent or interactive effects of two categorical variables on a distribution of responses? Are there independent or interactive effects of two categorical variables on a distribution of responses? Are there differences in two related proportions (e.g. proportion of students scoring >90% before and after an educational intervention)? Are there differences in two related proportions (e.g. proportion of students scoring >90% before and after an educational intervention)?

One-way  2  Given: a set of observed responses divided into categories a set of observed responses divided into categories a set of expected responses divided into categories (often a null hypothesis of ‘equal distribution’) a set of expected responses divided into categories (often a null hypothesis of ‘equal distribution’)  Goal: Determine if the observed distribution is significantly different than the expected distribution.

One-way  2 : example  Students are asked to choose if they prefer exams in the morning or afternoon. Is there a significant preference?   2 =  (O-E) 2 /E = (39-30) 2 /30 + (21-30) 2 /30 = 5.4  Significantly more students prefer morning to afternoon exams (  2 (1)=5.4, p<.05)

One-way  2 in SPSS  Nonparametric tests…Chi-square  Enter test variable and set expected values if not equally distribute across categories  Example: We are designing an evaluation in which residents are given a case and asked to make a yes or no decision about performing an LP. We don’t expect the residents, on average, to know the right answer, so we expect equal numbers to say yes and no. Did that happen?

One-way  2 output LP Decision Observed NExpected NResidual Observed NExpected NResidual No Yes Total40 Test Statistics Chi-Square6.400 df1 Asymp. Sig..011  Significantly more residents believed they should not do the LP (  2 (1)=6.4, p<.05)

Two-way  2  Given data in a contingency table (relating responses to two categorical variables)  Are the effects of the two categorical variables independent or related?  Same algorithm as one-way (compute expected frequencies based on marginal totals)

Two-way  2 in SPSS  A second case is developed about use of CT (and tested on different residents). Are the distribution of responses to the CT and LP cases the same?  Analyze…Descriptive statistics…Crosstabs  Enter a row and column variable to define the contingency table.  Hit “Options” and check the box for chi-square

Two-way  2 output Form * Prior Decision Crosstabulation Prior DecisionTotal Prior DecisionTotal NoYes NoYes CT LP Total Chi-Square Tests ValuedfAsymp. Sig. (2-sided) ValuedfAsymp. Sig. (2-sided) Pearson Chi-Square Continuity Correction Likelihood Ratio  The distributions of responses to the two items were not significantly different.

McNemar’s test of correlated proportions  Given two related proportions, is one significantly higher than the other?  Example: 85 residents answered the LP case, and were then given a journal abstract that did not support doing LP in the case, and were asked to answer the case again. Did significant fewer do the LP after the evidence?

McNemar’s test in SPSS  Analyze…Nonparametric tests…2 related samples  Enter variable pair and select McNemar checkbox Prior Decision Post Decision Test Statistics N85 Exact Sig. (2-tailed).035  Residents were significantly less likely to order the LP after reading the evidence (McNemar’s test, p < 0.05)

 2 data considerations  Observations are assumed to be independent (except in McNemar’s test)   2 is not reliable if the expected cell frequencies are smaller than about 5.  A “correction for continuity” may be applied when expected frequencies are small, but there is argument about appropriateness (see Howell, p 146).

Tuesday PM assignment  Using the clerksp data set, examine the i1/i1post items (self-rated differential diagnosis skills): Are post-test scores higher than pre-test? Test this question using a paired t-test, a sign test, and the Wilcoxon signed-ranks test. How do the results differ? Are post-test scores higher than pre-test? Test this question using a paired t-test, a sign test, and the Wilcoxon signed-ranks test. How do the results differ? Create a new variable, nastydoc, coded “1” for clerks whose pre- test i1 rating is higher than their pre-test i15 (expresses caring) rating, and “0” for others. Test whether more than half the clerks are nastydocs using one-way  2 Create a new variable, nastydoc, coded “1” for clerks whose pre- test i1 rating is higher than their pre-test i15 (expresses caring) rating, and “0” for others. Test whether more than half the clerks are nastydocs using one-way  2 Create a new variable, IM, coded “1” for clerks whose 1st choice residency before the clerkship was internal medicine, and “0” for all others. Is there a relationship between IM and nastydoc? Test using two-way  2 and interpret. Create a new variable, IM, coded “1” for clerks whose 1st choice residency before the clerkship was internal medicine, and “0” for all others. Is there a relationship between IM and nastydoc? Test using two-way  2 and interpret.