Statistics for Water Science: Hypothesis Testing: Fundamental concepts and a survey of methods Unite 5: Module 17, Lecture 2.

Slides:



Advertisements
Similar presentations
1 COMM 301: Empirical Research in Communication Lecture 15 – Hypothesis Testing Kwan M Lee.
Advertisements

Lecture (11,12) Parameter Estimation of PDF and Fitting a Distribution Function.
Inferential Statistics
PSY 307 – Statistics for the Behavioral Sciences Chapter 20 – Tests for Ranked Data, Choosing Statistical Tests.
Hypothesis testing Week 10 Lecture 2.
Becoming Acquainted With Statistical Concepts CHAPTER CHAPTER 12.
Statistical Significance What is Statistical Significance? What is Statistical Significance? How Do We Know Whether a Result is Statistically Significant?
HYPOTHESIS TESTING Four Steps Statistical Significance Outcomes Sampling Distributions.
Chapter Seventeen HYPOTHESIS TESTING
July, 2000Guang Jin Statistics in Applied Science and Technology Chapter 9_part I ( and 9.7) Tests of Significance.
PSY 307 – Statistics for the Behavioral Sciences
Behavioural Science II Week 1, Semester 2, 2002
What z-scores represent
Cal State Northridge  320 Ainsworth Sampling Distributions and 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.
Statistics for the Social Sciences Psychology 340 Fall 2006 Review For Exam 1.
BCOR 1020 Business Statistics Lecture 21 – April 8, 2008.
T-Tests Lecture: Nov. 6, 2002.
Educational Research by John W. Creswell. Copyright © 2002 by Pearson Education. All rights reserved. Slide 1 Chapter 8 Analyzing and Interpreting Quantitative.
PSY 307 – Statistics for the Behavioral Sciences
Today Concepts underlying inferential statistics
Independent Sample T-test Classical design used in psychology/medicine N subjects are randomly assigned to two groups (Control * Treatment). After treatment,
“There are three types of lies: Lies, Damn Lies and Statistics” - Mark Twain.
Chapter 14 Inferential Data Analysis
Descriptive Statistics
Inferential Statistics
INFERENTIAL STATISTICS – Samples are only estimates of the population – Sample statistics will be slightly off from the true values of its population’s.
Testing Hypotheses.
AM Recitation 2/10/11.
Statistics 11 Hypothesis Testing Discover the relationships that exist between events/things Accomplished by: Asking questions Getting answers In accord.
Hypothesis Testing:.
Overview of Statistical Hypothesis Testing: The z-Test
© 2008 McGraw-Hill Higher Education The Statistical Imagination Chapter 9. Hypothesis Testing I: The Six Steps of Statistical Inference.
Tuesday, September 10, 2013 Introduction to hypothesis testing.
Chapter 8 Introduction to Hypothesis Testing
1/2555 สมศักดิ์ ศิวดำรงพงศ์
Comparing Means From Two Sets of Data
Fall 2013 Lecture 5: Chapter 5 Statistical Analysis of Data …yes the “S” word.
1 Power and Sample Size in Testing One Mean. 2 Type I & Type II Error Type I Error: reject the null hypothesis when it is true. The probability of a Type.
Copyright © 2012 Wolters Kluwer Health | Lippincott Williams & Wilkins Chapter 17 Inferential Statistics.
Chapter 8 Hypothesis Testing I. Chapter Outline  An Overview of Hypothesis Testing  The Five-Step Model for Hypothesis Testing  One-Tailed and Two-Tailed.
Chapter 9 Hypothesis Testing II: two samples Test of significance for sample means (large samples) The difference between “statistical significance” and.
PowerPoint presentations prepared by Lloyd Jaisingh, Morehead State University Statistical Inference: Hypotheses testing for single and two populations.
STA Statistical Inference
Education Research 250:205 Writing Chapter 3. Objectives Subjects Instrumentation Procedures Experimental Design Statistical Analysis  Displaying data.
1 Lecture note 4 Hypothesis Testing Significant Difference ©
Lecture 5: Chapter 5: Part I: pg Statistical Analysis of Data …yes the “S” word.
Inference and Inferential Statistics Methods of Educational Research EDU 660.
Statistical Hypotheses & Hypothesis Testing. Statistical Hypotheses There are two types of statistical hypotheses. Null Hypothesis The null hypothesis,
Introduction to Inferential Statistics Statistical analyses are initially divided into: Descriptive Statistics or Inferential Statistics. Descriptive Statistics.
Educational Research Chapter 13 Inferential Statistics Gay, Mills, and Airasian 10 th Edition.
1 Chapter 8 Introduction to Hypothesis Testing. 2 Name of the game… Hypothesis testing Statistical method that uses sample data to evaluate a hypothesis.
Statistical Inference for the Mean Objectives: (Chapter 9, DeCoursey) -To understand the terms: Null Hypothesis, Rejection Region, and Type I and II errors.
PSY 307 – Statistics for the Behavioral Sciences Chapter 9 – Sampling Distribution of the Mean.
Three Broad Purposes of Quantitative Research 1. Description 2. Theory Testing 3. Theory Generation.
Chapter 10 The t Test for Two Independent Samples
Chapter 6: Analyzing and Interpreting Quantitative Data
Introducing Communication Research 2e © 2014 SAGE Publications Chapter Seven Generalizing From Research Results: Inferential Statistics.
Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population.
Education 793 Class Notes Inference and Hypothesis Testing Using the Normal Distribution 8 October 2003.
Course Overview Collecting Data Exploring Data Probability Intro. Inference Comparing Variables Relationships between Variables Means/Variances Proportions.
Hypothesis test flow chart
Chapter 13 Understanding research results: statistical inference.
Data Analysis. Qualitative vs. Quantitative Data collection methods can be roughly divided into two groups. It is essential to understand the difference.
Educational Research Inferential Statistics Chapter th Chapter 12- 8th Gay and Airasian.
Inferential Statistics Psych 231: Research Methods in Psychology.
Statistical principles: the normal distribution and methods of testing Or, “Explaining the arrangement of things”
McGraw-Hill/Irwin © 2003 The McGraw-Hill Companies, Inc.,All Rights Reserved. Part Four ANALYSIS AND PRESENTATION OF DATA.
Hypothesis testing Chapter S12 Learning Objectives
Hypothesis Testing: Hypotheses
Presentation transcript:

Statistics for Water Science: Hypothesis Testing: Fundamental concepts and a survey of methods Unite 5: Module 17, Lecture 2

Developed by: Host Updated: Jan. 21, 2004 U5-m17b-s2 Statistics  A branch of mathematics dealing with the collection, analysis, interpretation and presentation of masses of numerical data:  Descriptive Statistics (Lecture 1)  Basic description of a variable  Hypothesis Testing (Lecture 2)  Asks the question – is X different from Y?  Predictions (Lecture 3)  What will happen if…

Developed by: Host Updated: Jan. 21, 2004 U5-m17b-s3 Objectives  Introduce the basic concepts and assumptions of significance tests  Distributions on parade  Developing hypotheses  What is “true”?  Survey statistical methods for testing for differences in populations of numbers  Sample size issues  Appropriate tests  What we won’t do:  Elaborate on mathematical underpinnings of tests (take a good stats course for this!)

Developed by: Host Updated: Jan. 21, 2004 U5-m17b-s4  The mean:  A measure of central tendency  The Standard Deviation:  A measure of the ‘spread’ of the data From our last lecture

Developed by: Host Updated: Jan. 21, 2004 U5-m17b-s5 Tales of the normal distribution  Many kinds of data follow this symmetrical, bell-shaped curve, often called a Normal Distribution.  Normal distributions have statistical properties that allow us to predict the probability of getting a certain observation by chance.

Developed by: Host Updated: Jan. 21, 2004 U5-m17b-s6  When sampling a variable, you are most likely to obtain values close to the mean  68% within 1 SD  95% within 2 SD Tales of the normal distribution

Developed by: Host Updated: Jan. 21, 2004 U5-m17b-s7  Note that a couple values are outside the 95th (2 SD) interval  These are improbable Tales of the normal distribution

Developed by: Host Updated: Jan. 21, 2004 U5-m17b-s8  The essence of hypothesis testing:  If an observation appears in one of the tails of a distribution, there is a probability that it is not part of that population. Tales of the normal distribution

Developed by: Host Updated: Jan. 21, 2004 U5-m17b-s9 “Significant Differences”  A difference is considered significant if the probability of getting that difference by random chance is very small.  P value:  The probability of making an error by chance  Historically we use p < 0.05

Developed by: Host Updated: Jan. 21, 2004 U5-m17b-s10  The magnitude of the effect  A big difference is more likely to be significant than a small one The probability of detecting a significant difference is influenced by:

Developed by: Host Updated: Jan. 21, 2004 U5-m17b-s11  The spread of the data  If the Standard Deviation is low, it will be easier to detect a significant difference The probability of detecting a significant difference is influenced by:

Developed by: Host Updated: Jan. 21, 2004 U5-m17b-s12  The number of observations  Large samples more likely to detect a difference than a small sample The probability of detecting a significant difference is influenced by:

Developed by: Host Updated: Jan. 21, 2004 U5-m17b-s13 Hypothesis testing  Hypothesis:  A statement which can be proven false  Null hypothesis HO:  “There is no difference”  Alternative hypothesis (HA):  “There is a difference…”  In statistical testing, we try to “reject the null hypothesis”  If the null hypothesis is false, it is likely that our alternative hypothesis is true  “False” – there is only a small probability that the results we observed could have occurred by chance

Developed by: Host Updated: Jan. 21, 2004 U5-m17b-s14 Alpha Level Reject Null Hypothesis P > 0.05Not significantNo P < in 20SignificantYes P <0.011 in 100SignificantYes P < in 1000 Highly Significant Yes Common probability levels

Developed by: Host Updated: Jan. 21, 2004 U5-m17b-s15 Accept HoReject Ho Ho is TrueCorrect Decision Type I Error Alpha Ho is False Type II Error Beta Correct Decision Types of statistical errors (you could be right, you could be wrong)

Developed by: Host Updated: Jan. 21, 2004 U5-m17b-s Type I Error Type II Error Examples of type I and type II errors

Developed by: Host Updated: Jan. 21, 2004 U5-m17b-s17 Common statistical tests QuestionTest Does a single observation belong to a population of values?Z-test Are two (or more populations) of number different?T-test F-test (ANOVA) Is there a relationship between x and yRegression Is there a trend in the data (special case of aboveRegression

Developed by: Host Updated: Jan. 21, 2004 U5-m17b-s18  On June 26, 2002, a temperature probe reading at 7 m depth in Medicine Lake was C. Is this unusually high for June? Note: this is a “one-tailed test”, we just want to know if it’s high We’re not asking if it is unusually low or high (2- tailed) Does a single observation belong to a population of values: The Z-test

Developed by: Host Updated: Jan. 21, 2004 U5-m17b-s19  The Z-distribution is a Normal Distribution, with special properties:  Mean = 0 Variance = 1  Z = (observed value – mean)/standard error  Standard error = standard deviation * sqrt(n) The Z distribution The z distribution: Standard normal distribution)

Developed by: Host Updated: Jan. 21, 2004 U5-m17b-s20  Calculate the Z-score for the observed data  Compare the Z score with the significant value for a one tailed test (1.645) Medicine lake example

Developed by: Host Updated: Jan. 21, 2004 U5-m17b-s21 The Deep Math…  Since 6.89 > the critical Z value of 1.64  Our deep temperature is significantly higher than the June average temperature.  Further exploration shows that a storm the previous day caused the warmer surface waters to mix into the deeper waters. Z = (observed value – mean)/standard error Standard error = standard deviation * sqrt(n) Z = (20.3 – 19.7) 0.08 = 6.89

Developed by: Host Updated: Jan. 21, 2004 U5-m17b-s22 Are two populations different: The t-test  Also called Student’s t-test. “Student” was a synonym for a statistician that worked for Guinness brewery  Useful for “small” samples (<30)  One of the most basic statistical tests, can be performed in Excel or any common statistical package

Developed by: Host Updated: Jan. 21, 2004 U5-m17b-s23 Are two populations different: The t-test

Developed by: Host Updated: Jan. 21, 2004 U5-m17b-s24 Are two populations different: The t-test  One of the most basic statistical tests, can be performed in Excel or any common statistical package  Same principle as Z-test – calculate a t value, and assess the probability of getting that value

Developed by: Host Updated: Jan. 21, 2004 U5-m17b-s25 In Excel  Formula: Pop2, #Tails, TestType)  Tailed tests: 1 or 2  TestType  1 - paired (if there is a logical pairing of XY data)  2 - equal variance  3 - unequal variance  Test returns exact probability value

Developed by: Host Updated: Jan. 21, 2004 U5-m17b-s26 Pop2, 1, 3) = 1.5 * Example: 1-tailed temperature comparison

Developed by: Host Updated: Jan. 21, 2004 U5-m17b-s27 ANOVA: Tests of multiple populations  ANOVA – analysis of variance  Compare 2 or more populations  Surface temperatures for 3 lakes  Can handle single or multiple factors  One way ANOVA – comparing lakes  Two-way ANOVA – compare two factors  Temperature x Light effects on algal populations  Repeated measures ANOVA – compare factors over time

Developed by: Host Updated: Jan. 21, 2004 U5-m17b-s28 Next Time: Regression - Finding relationships among variables