Some Nonparametric Methods

Slides:



Advertisements
Similar presentations
Irwin/McGraw-Hill © Andrew F. Siegel, 1997 and l Chapter 16 l Nonparametrics: Testing with Ordinal Data or Nonnormal Distributions.
Advertisements

McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Nonparametric Methods Chapter 15.
EPI 809 / Spring 2008 Chapter 9 Nonparametric Statistics.
Likelihood ratio tests
Lecture 10 Non Parametric Testing STAT 3120 Statistical Methods I.
Statistical Significance What is Statistical Significance? What is Statistical Significance? How Do We Know Whether a Result is Statistically Significant?
MARE 250 Dr. Jason Turner Hypothesis Testing II To ASSUME is to make an… Four assumptions for t-test hypothesis testing: 1. Random Samples 2. Independent.
MARE 250 Dr. Jason Turner Hypothesis Testing II. To ASSUME is to make an… Four assumptions for t-test hypothesis testing:
Statistical Significance What is Statistical Significance? How Do We Know Whether a Result is Statistically Significant? How Do We Know Whether a Result.
Lesson #25 Nonparametric Tests for a Single Population.
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.
Chapter 11: Inference for Distributions
15-1 Introduction Most of the hypothesis-testing and confidence interval procedures discussed in previous chapters are based on the assumption that.
Non-parametric statistics
Statistical Methods II
Nonparametric or Distribution-free Tests
Choosing Statistical Procedures
NONPARAMETRIC STATISTICS
Chapter 14 Nonparametric Statistics. 2 Introduction: Distribution-Free Tests Distribution-free tests – statistical tests that don’t rely on assumptions.
9 Mar 2007 EMBnet Course – Introduction to Statistics for Biologists Nonparametric tests, Bootstrapping
Lesson Inferences about the Differences between Two Medians: Dependent Samples.
What are Nonparametric Statistics? In all of the preceding chapters we have focused on testing and estimating parameters associated with distributions.
Previous Lecture: Categorical Data Methods. Nonparametric Methods This Lecture Judy Zhong Ph.D.
Nonparametric Statistics aka, distribution-free statistics makes no assumption about the underlying distribution, other than that it is continuous the.
© Copyright McGraw-Hill CHAPTER 13 Nonparametric Statistics.
1/23 Ch10 Nonparametric Tests. 2/23 Outline Introduction The sign test Rank-sum tests Tests of randomness The Kolmogorov-Smirnov and Anderson- Darling.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics S eventh Edition By Brase and Brase Prepared by: Lynn Smith.
Ordinally Scale Variables
Nonparametric Tests IPS Chapter 15 © 2009 W.H. Freeman and Company.
ANOVA Assumptions 1.Normality (sampling distribution of the mean) 2.Homogeneity of Variance 3.Independence of Observations - reason for random assignment.
Chapter 15 – Analysis of Variance Math 22 Introductory Statistics.
Ch11: Comparing 2 Samples 11.1: INTRO: This chapter deals with analyzing continuous measurements. Later, some experimental design ideas will be introduced.
Kruskal-Wallis H TestThe Kruskal-Wallis H Test is a nonparametric procedure that can be used to compare more than two populations in a completely randomized.
Friedman F r TestThe Friedman F r Test is the nonparametric equivalent of the randomized block design with k treatments and b blocks. All k measurements.
Nonparametric Statistics
Biostatistics Nonparametric Statistics Class 8 March 14, 2000.
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.
13 Nonparametric Methods Introduction So far the underlying probability distribution functions (pdf) are assumed to be known, such as SND, t-distribution,
Nonparametric Statistics Overview. Objectives Understand Difference between Parametric and Nonparametric Statistical Procedures Nonparametric methods.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Nonparametric Statistics
Nonparametric Tests IPS Chapter : The Wilcoxon Rank Sum Test
Chapter 10 Inferences for Two Population Means
Hypothesis testing. Chi-square test
Parametric vs Non-Parametric
Nonparametric Statistical Methods: Overview and Examples
Lesson Inferences about the Differences between Two Medians: Dependent Samples.
Environmental Modeling Basic Testing Methods - Statistics
SA3202 Statistical Methods for Social Sciences
Nonparametric Statistical Methods: Overview and Examples
STAT120C: Final Review.
Test for Mean of a Non-Normal Population – small n
Lecture 11 Nonparametric Statistics Introduction
Nonparametric Statistics Overview
Nonparametric Statistical Methods: Overview and Examples
Non-parametric tests.
Nonparametric Tests BPS 7e Chapter 28 © 2015 W. H. Freeman and Company.
Nonparametric Statistical Methods: Overview and Examples
BOOTSTRAPPING: LEARNING FROM THE SAMPLE
Hypothesis testing. Chi-square test
Nonparametric Statistical Methods: Overview and Examples
Non – Parametric Test Dr. Anshul Singh Thapa.
Chapter 24 Comparing Two Means.
Statistical Inference
Nonparametric Statistics
Non-parametric methods in statistical testing
UNIT-4.
pairing data values (before-after, method1 vs
Exposing Students to Statistical Methods Based on Counts and Ranks
For a permutation test, we have H0: F1(x) = F2(x) vs
Presentation transcript:

Some Nonparametric Methods stat120C UCI

Introduction: Why use nonparametric methods? A statistical model usually has several assumptions. Parametric models make more assumptions than nonparametric models As an example, consider one-sample t-test. What would happen if The normality assumption does not hold? There are several outliers?

Parametric vs Nonparametric Nonparametric methods are usually more robust to violations of assumptions and outliers When assumptions hold, parametric methods are usually more powerful Nonparametric methods do not assume that the data follow any particular distribution In many tests, data values are replaced by ranks. The results are invariant under any monotonic transformation

A nonparametric test for comparing paired samples – Wilcoxon signed rank test An example: measurements before and after a treatment Before: 25 29 60 27 After: 27 25 59 37 Question: is this treatment efficient? If normality can be assumed, we can consider paired t-test. What if the distributional assumptions underlying t-test cannot be satisfied?

The Wilcoxon signed rank test An example: measurements before and after a treatment Before: 25 29 60 27 After: 27 25 59 37 Step 1: calculate Di Step 2: Rank |Di| Step 3: Calculate W+, which is defined as Step 4: make statistical inference Based on exact distributions Based on asymptotic distributions (for large n)

The example W+=2+4=6 Under the null, the sign is random and W+ W+=2+4=6 Under the null, the sign is random and W+ should not be too large or too small.

Based on exact distributions Probabilities under the null hypothesis: signed ranks w+ prob 2 3 1 4 10 0.0625 2 3 -1 4 9 0.0625 -2 3 1 4 8 0.0625 2 -3 1 4 7 0.0625 -2 3 -1 4 7 0.0625 2 3 1 -4 6 0.0625 2 -3 -1 4 6 0.0625 (observed) -2 -3 1 4 5 0.0625 2 3 -1 -4 5 0.0625 -2 3 1 -4 4 0.0625 -2 -3 -1 4 4 0.0625 2 -3 1 -4 3 0.0625 -2 3 -1 -4 3 0.0625 2 -3 -1 -4 2 0.0625 -2 -3 1 -4 1 0.0625 -2 -3 -1 -4 0 0.0625 Evidence of positive change P-value = 0.875 Evidence of positive change

What is the null hypothesis H0: the random sample is drawn from a distribution with zero median H1: the random sample is drawn from a distribution whose median is not zero

Inference based on exact distribution We can use the R function “wilcox.test” to obtain p-values > wilcox.test(c(2,-4,-1,10)) Wilcoxon signed rank test data: c(2, -4, -1, 10) V = 6, p-value = 0.875 alternative hypothesis: true location is not equal to 0

Inference based on asymptotic distributions The asymptotic distribution of W+ under the null hypothesis of zero median

Proof

Asymptotic Wilcoxon signed rank test

A nonparametric test for comparing two samples: the Mann-Whitney-Wilcoxon test In a study of four subjects, two are randomly assigned to the treatment group and two to the control group. The following values are observed When sample size is small (such as the above example) or the normality assumption does not hold, the two-sample t-test is not accurate

An example

An example Two-sided p-value= 1/6+1/6+1/6+1/6=2/3

The null hypothesis of the Mann-Whitney-Wilcoxon test The null hypothesis for the two-sample t-test says that the two populations means are the same The null hypothesis for the Mann-Whitney-Wilcoxon test says that the two random samples were drawn from the same distribution

A nonparametric test for comparing two samples: the Mann-Whitney-Wilcoxon test

Asymptotic Mann-Whitney-Wilcoxon test

Asymptotic Mann-Whitney-Wilcoxon test