Nonparametric tests, Bootstrapping

Similar documents
HYPOTHESIS TESTING II TESTS ON MEANS. Sorana D. Bolboacă

Analysis of variance (ANOVA) Comparing the means of more than two groups

Lecture 30. DATA 8 Summer Regression Inference

Introduction to Nonparametric Statistics

Rank-Based Methods. Lukas Meier

Lecture 7: Hypothesis Testing and ANOVA

Inferences About the Difference Between Two Means

What is a Hypothesis?

Statistical Inference: Estimation and Confidence Intervals Hypothesis Testing

Bootstrap tests. Patrick Breheny. October 11. Bootstrap vs. permutation tests Testing for equality of location

Introduction to Statistical Analysis

Lecture Slides for INTRODUCTION TO. Machine Learning. ETHEM ALPAYDIN The MIT Press,

ST4241 Design and Analysis of Clinical Trials Lecture 9: N. Lecture 9: Non-parametric procedures for CRBD

CHI SQUARE ANALYSIS 8/18/2011 HYPOTHESIS TESTS SO FAR PARAMETRIC VS. NON-PARAMETRIC

My data doesn t look like that..

Performance Evaluation and Comparison

Non-Parametric Statistics: When Normal Isn t Good Enough"

Chapter 18 Resampling and Nonparametric Approaches To Data

Nonparametric Statistics

Hypothesis Testing. Hypothesis: conjecture, proposition or statement based on published literature, data, or a theory that may or may not be true

Resampling Methods. Lukas Meier

Power and nonparametric methods Basic statistics for experimental researchersrs 2017

Module 9: Nonparametric Statistics Statistics (OA3102)

CHAPTER 17 CHI-SQUARE AND OTHER NONPARAMETRIC TESTS FROM: PAGANO, R. R. (2007)

Introduction and Descriptive Statistics p. 1 Introduction to Statistics p. 3 Statistics, Science, and Observations p. 5 Populations and Samples p.

ST4241 Design and Analysis of Clinical Trials Lecture 7: N. Lecture 7: Non-parametric tests for PDG data

Non-parametric (Distribution-free) approaches p188 CN

STAT 135 Lab 5 Bootstrapping and Hypothesis Testing

Intuitive Biostatistics: Choosing a statistical test

MATH Notebook 3 Spring 2018

SEVERAL μs AND MEDIANS: MORE ISSUES. Business Statistics

4/6/16. Non-parametric Test. Overview. Stephen Opiyo. Distinguish Parametric and Nonparametric Test Procedures

Non-parametric tests, part A:

Chapter 15: Nonparametric Statistics Section 15.1: An Overview of Nonparametric Statistics

PSY 307 Statistics for the Behavioral Sciences. Chapter 20 Tests for Ranked Data, Choosing Statistical Tests

STAT Section 2.1: Basic Inference. Basic Definitions

Lecture Slides. Elementary Statistics. by Mario F. Triola. and the Triola Statistics Series

Lecture Slides. Section 13-1 Overview. Elementary Statistics Tenth Edition. Chapter 13 Nonparametric Statistics. by Mario F.

Business Statistics: Lecture 8: Introduction to Estimation & Hypothesis Testing

Contents. Acknowledgments. xix

Data Analysis: Agonistic Display in Betta splendens I. Betta splendens Research: Parametric or Non-parametric Data?

Stat 427/527: Advanced Data Analysis I

Everything is not normal

Agonistic Display in Betta splendens: Data Analysis I. Betta splendens Research: Parametric or Non-parametric Data?

STATS 200: Introduction to Statistical Inference. Lecture 29: Course review

Hypothesis testing. Data to decisions

Machine Learning. Lecture Slides for. ETHEM ALPAYDIN The MIT Press, h1p://

STAT Chapter 8: Hypothesis Tests

3. Nonparametric methods

Testing Statistical Hypotheses

Big Data Analysis with Apache Spark UC#BERKELEY

Parametric versus Nonparametric Statistics-when to use them and which is more powerful? Dr Mahmoud Alhussami

Topic 23: Diagnostics and Remedies

Nonparametric tests. Mark Muldoon School of Mathematics, University of Manchester. Mark Muldoon, November 8, 2005 Nonparametric tests - p.

Dr. Maddah ENMG 617 EM Statistics 10/12/12. Nonparametric Statistics (Chapter 16, Hines)

Data Mining. CS57300 Purdue University. March 22, 2018

Data are sometimes not compatible with the assumptions of parametric statistical tests (i.e. t-test, regression, ANOVA)

robustness, efficiency, breakdown point, outliers, rank-based procedures, least absolute regression

STAT Section 5.8: Block Designs

Fish SR P Diff Sgn rank Fish SR P Diff Sng rank

Business Statistics. Lecture 5: Confidence Intervals

How do we compare the relative performance among competing models?

Unit 14: Nonparametric Statistical Methods

z and t tests for the mean of a normal distribution Confidence intervals for the mean Binomial tests

Wednesday, 20 November 13. p<0.05

Interval Estimation III: Fisher's Information & Bootstrapping

Non-parametric Tests

(Foundation of Medical Statistics)

Hypothesis Testing with the Bootstrap. Noa Haas Statistics M.Sc. Seminar, Spring 2017 Bootstrap and Resampling Methods

Biostatistics Quantitative Data

Permutation Tests. Noa Haas Statistics M.Sc. Seminar, Spring 2017 Bootstrap and Resampling Methods

Correlation and Simple Linear Regression

Testing Statistical Hypotheses

3 Joint Distributions 71

An Analysis of College Algebra Exam Scores December 14, James D Jones Math Section 01

Nonparametric Statistics Notes

NONPARAMETRICS. Statistical Methods Based on Ranks E. L. LEHMANN HOLDEN-DAY, INC. McGRAW-HILL INTERNATIONAL BOOK COMPANY

Statistics for Managers Using Microsoft Excel Chapter 10 ANOVA and Other C-Sample Tests With Numerical Data

What Is ANOVA? Comparing Groups. One-way ANOVA. One way ANOVA (the F ratio test)

One-sample categorical data: approximate inference

Discussion Paper Series

Intro to Parametric & Nonparametric Statistics

Degrees of freedom df=1. Limitations OR in SPSS LIM: Knowing σ and µ is unlikely in large

Hypothesis testing, part 2. With some material from Howard Seltman, Blase Ur, Bilge Mutlu, Vibha Sazawal

Foundations of Probability and Statistics

8 Comparing Two Independent Populations

Comparison of Two Population Means

Introduction to hypothesis testing

Review of Statistics 101

Research Article A Nonparametric Two-Sample Wald Test of Equality of Variances

6 Single Sample Methods for a Location Parameter

Glossary for the Triola Statistics Series

This is particularly true if you see long tails in your data. What are you testing? That the two distributions are the same!

STAT 135 Lab 8 Hypothesis Testing Review, Mann-Whitney Test by Normal Approximation, and Wilcoxon Signed Rank Test.

Advanced Statistics II: Non Parametric Tests

Data Mining Chapter 4: Data Analysis and Uncertainty Fall 2011 Ming Li Department of Computer Science and Technology Nanjing University

Math 494: Mathematical Statistics

Power Analysis. Introduction to Power

N Utilization of Nursing Research in Advanced Practice, Summer 2008

Distribution-Free Procedures (Devore Chapter Fifteen)

Transcription:

Nonparametric tests, Bootstrapping http://www.isrec.isb-sib.ch/~darlene/embnet/ Hypothesis testing review 2 competing theories regarding a population parameter: NULL hypothesis H ( straw man ) ALTERNATIVEhypothesis A ( claim, or theory you wish to test) H: NO DIFFERENCE any observed deviation from what we expect to see is due to chance variability A: THE DIFFERENCE IS REAL

Test statistic Measure how far the observed data are from what is expected assuming the NULL H by computing the value of a test statistic (TS) from the data The particular TS computed depends on the parameter For example, to test the population mean, the TS is the sample mean (or standardized sample mean) Testing a population mean We have already learned how to test the mean of a population for a variable with a normal distribution when the sample size is small and the population SD is unknown What test is this??

t-test assumption of normality The t-test was developed for samples that have normally distributed values This is an example of a parametric test a (parametric) form of the distribution is assumed (here, a normal distribution) The t-test is fairly robust against departures from normality if the sample size is not too small BUT if the values are extremely non-normal, it might be better to use a procedure which does not make this assumption Nonparametric hypothesis tests Nonparametric (or distribution-free) hypothesis tests do not make assumptions about the form of the distribution of the data values These tests are usually based on the ranks of the values, rather than the actual values themselves There are nonparametric analogues of many parametric test procedures

One-sample Wilcoxon test Nonparametric alternative to the t-test Tests value of the center of a distribution Based on sum of the (positive or negative) ranks of the differences between observed and expected center Test statistic corresponds to selecting each number from 1 to n with probability ½ and calculating the sum In R: wilcox.test() Two-sample Wilcoxon test Nonparametric alternative to the 2-sample t-test Tests for differences in location (center) of 2 distributions Based on replacing the data values by their ranks (without regard to grouping) and calculating the sum of the ranks in a group Corresponds to sampling n 1 values without replacement from 1 to n 1 + n 2 In R: wilcox.test()

Matched-pairs Wilcoxon Nonparametric alternative to the paired t-test Analogous to paired t-test, same as onesample Wilcoxon but on the differences between paired values In R: wilcox.test() ANOVA and the Kruskal-Wallis test Nonparametric alternative to one-way ANOVA Mechanics similar to 2-sample Wilcoxon test Based on between group sum of squares calculated from the average ranks In R: kruskal.test()

Issues in nonparametric testing Some (mistakenly) assume that using a nonparametric test means that you don t make any assumptions at all THIS IS NOT TRUE!! In fact, there is really only one assumption that you are relaxing, and that is of the form that the distribution of sample values takes A major reason that nonparametric tests are avoided if possible is their relative lack of power compared to (appropriate) parametric tests Parameter estimation Have an unknown population parameter of interest Want to use a sample to make a guess (estimate) for the value of the parameter Point estimation : Choose a single value (a point ) to estimate the parameter value Methods of point estimation include: ML, MOM, Least squares, Bayesian methods... (Confidence) Interval estimation : Use the data to find a range of values (an interval) that seems likely to contain the true parameter value

CI mechanics When the CLT applies, a CI for the population mean looks like sample mean +/- z* σ/ n, where z is a number from the standard normal chosen so the confidence level is a specified size (e.g. 95%, 90%, etc.) For small samples from a normal distribution, use CI based on t-distribution sample mean +/- t* s/ n Example To set a standard for what is to be considered a normal calcium reading, a random sample of 100 apparently healthy adults is obtained. A blood sample is drawn from each adult. The variable studied is X = number of mg of calcium per dl of blood. sample mean = 9.5 sample SD = 0.5 Find an approximate 95% CI for the (population) average number of mg of calcium per dl of blood...

Russian dolls analogy* Père Noël dolls... Outermost is doll 0, next is doll 1, etc. We are not allowed to observe doll 0, which represents the population in a sampling scheme) Want to estimate some characteristic of doll 0 (e.g. number of points on the beard) Key assumption : the relationship (e.g. ratio) between dolls 1 and 2 is the same as that between dolls 0 and 1 * from The Bootstrap and Edgeworth Expansion, by Peter Hall, Springer 1992 From dolls to statistics Say you want to estimate some function of a population distribution e.g. the population mean It makes sense, when possible, to use the same function of the sample distribution We can do this same thing for many other types of functions A common example is that we might wish to obtain the sampling distribution of an estimator in order to make a CI, say, in cases where large sample approximations might not hold

An idea Where exact calculations are difficult to obtain, they may be approximated by resampling from the observed distribution of sample values That is, pretend that the sample is the population The bootstrap procedure is to draw some number (R ) of samples with replacement from the bootstrap population (i.e. the original sample values) You need a computer to do this! Bootstrap procedure For each bootstrap sample, compute the value of the desired statistic At the end, you will have R values of the statistic You can use standard data summary procedures to summarize or explore the distribution of the statistic (histogram, QQ plot, compute the mean, SD, etc.) For example, to make a bootstrap CI for the sample mean based on the normal distribution, you could use the bootstrap SD (instead of the sample SD)...

Versions of the bootstrap Nonparametric Bootstrap : as just described, draw bootstrap samples from the original data Parametric Bootstrap : assume that your original data came from some particular distribution (for example, a normal distribution, or exponential, etc.) In this case, samples are simulated from that assumed distribution Distribution parameters (for example, the mean and SD for the normal) are estimated from the original sample R: bootstrap demo You will have some practice with this in the TP Let s go to the demo...