Copyright, Gerry Quinn & Mick Keough, 1998 Please do not copy or distribute this file without the authors’ permission Experimental design and analysis.

Slides:



Advertisements
Similar presentations
Hypothesis Testing Steps in Hypothesis Testing:
Advertisements

PTP 560 Research Methods Week 9 Thomas Ruediger, PT.
CHAPTER 21 Inferential Statistical Analysis. Understanding probability The idea of probability is central to inferential statistics. It means the chance.
Hypothesis: It is an assumption of population parameter ( mean, proportion, variance) There are two types of hypothesis : 1) Simple hypothesis :A statistical.
Parametric/Nonparametric Tests. Chi-Square Test It is a technique through the use of which it is possible for all researchers to:  test the goodness.
Inferential Statistics & Hypothesis Testing
ANALYSIS OF VARIANCE  Gerry Quinn & Mick Keough, 1998 Do not copy or distribute without permission of authors. One factor.
Chapter Seventeen HYPOTHESIS TESTING
PSY 307 – Statistics for the Behavioral Sciences
Independent Sample T-test Formula
MARE 250 Dr. Jason Turner Hypothesis Testing II. To ASSUME is to make an… Four assumptions for t-test hypothesis testing:
Chapter 14 Conducting & Reading Research Baumgartner et al Chapter 14 Inferential Data Analysis.
PSY 307 – Statistics for the Behavioral Sciences
Lecture 9: One Way ANOVA Between Subjects
C82MCP Diploma Statistics School of Psychology University of Nottingham 1 Overview of Lecture Independent and Dependent Variables Between and Within Designs.
Chapter 2 Simple Comparative Experiments
IENG 486 Statistical Quality & Process Control
Statistical Methods in Computer Science Hypothesis Testing I: Treatment experiment designs Ido Dagan.
PSY 307 – Statistics for the Behavioral Sciences Chapter 19 – Chi-Square Test for Qualitative Data Chapter 21 – Deciding Which Test to Use.
Hypothesis Testing Using The One-Sample t-Test
Hypothesis Testing.
Statistical Analysis. Purpose of Statistical Analysis Determines whether the results found in an experiment are meaningful. Answers the question: –Does.
Chapter 12 Inferential Statistics Gay, Mills, and Airasian
Hypothesis Testing and T-Tests. Hypothesis Tests Related to Differences Copyright © 2009 Pearson Education, Inc. Chapter Tests of Differences One.
Choosing Statistical Procedures
AM Recitation 2/10/11.
Hypothesis Testing:.
Overview of Statistical Hypothesis Testing: The z-Test
1 © Lecture note 3 Hypothesis Testing MAKE HYPOTHESIS ©
Jeopardy Hypothesis Testing T-test Basics T for Indep. Samples Z-scores Probability $100 $200$200 $300 $500 $400 $300 $400 $300 $400 $500 $400.
Chapter 8 Introduction to Hypothesis Testing
Education 793 Class Notes T-tests 29 October 2003.
The paired sample experiment The paired t test. Frequently one is interested in comparing the effects of two treatments (drugs, etc…) on a response variable.
Copyright © 2012 Wolters Kluwer Health | Lippincott Williams & Wilkins Chapter 17 Inferential Statistics.
Copyright © 2008 Wolters Kluwer Health | Lippincott Williams & Wilkins Chapter 22 Using Inferential Statistics to Test Hypotheses.
Hypothesis Testing. Steps for Hypothesis Testing Fig Draw Marketing Research Conclusion Formulate H 0 and H 1 Select Appropriate Test Choose Level.
Chapter 11 HYPOTHESIS TESTING USING THE ONE-WAY ANALYSIS OF VARIANCE.
Learning Objectives In this chapter you will learn about the t-test and its distribution t-test for related samples t-test for independent samples hypothesis.
Educational Research: Competencies for Analysis and Application, 9 th edition. Gay, Mills, & Airasian © 2009 Pearson Education, Inc. All rights reserved.
PSY 307 – Statistics for the Behavioral Sciences Chapter 16 – One-Factor Analysis of Variance (ANOVA)
Hypothesis Testing A procedure for determining which of two (or more) mutually exclusive statements is more likely true We classify hypothesis tests in.
Inference and Inferential Statistics Methods of Educational Research EDU 660.
Educational Research Chapter 13 Inferential Statistics Gay, Mills, and Airasian 10 th Edition.
Chapter 13 - ANOVA. ANOVA Be able to explain in general terms and using an example what a one-way ANOVA is (370). Know the purpose of the one-way ANOVA.
Experimental Design and Statistics. Scientific Method
Statistical Inference for the Mean Objectives: (Chapter 9, DeCoursey) -To understand the terms: Null Hypothesis, Rejection Region, and Type I and II errors.
Copyright © Cengage Learning. All rights reserved. 12 Analysis of Variance.
© Copyright McGraw-Hill 2004
- We have samples for each of two conditions. We provide an answer for “Are the two sample means significantly different from each other, or could both.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
Copyright © 1998, Triola, Elementary Statistics Addison Wesley Longman 1 Assumptions 1) Sample is large (n > 30) a) Central limit theorem applies b) Can.
Chapter Eleven Performing the One-Sample t-Test and Testing Correlation.
T tests comparing two means t tests comparing two means.
Chapter 13 Understanding research results: statistical inference.
HYPOTHESIS TESTING FOR DIFFERENCES BETWEEN MEANS AND BETWEEN PROPORTIONS.
Hypothesis Tests. An Hypothesis is a guess about a situation that can be tested, and the test outcome can be either true or false. –The Null Hypothesis.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
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”
Hypothesis Testing. Steps for Hypothesis Testing Fig Draw Marketing Research Conclusion Formulate H 0 and H 1 Select Appropriate Test Choose Level.
McGraw-Hill/Irwin © 2003 The McGraw-Hill Companies, Inc.,All Rights Reserved. Part Four ANALYSIS AND PRESENTATION OF DATA.
Hypothesis Testing. Steps for Hypothesis Testing Fig Draw Marketing Research Conclusion Formulate H 0 and H 1 Select Appropriate Test Choose Level.
The 2 nd to last topic this year!!.  ANOVA Testing is similar to a “two sample t- test except” that it compares more than two samples to one another.
Logic of Hypothesis Testing
Lecture Nine - Twelve Tests of Significance.
Part Four ANALYSIS AND PRESENTATION OF DATA
Environmental Modeling Basic Testing Methods - Statistics
What are their purposes? What kinds?
Presentation transcript:

Copyright, Gerry Quinn & Mick Keough, 1998 Please do not copy or distribute this file without the authors’ permission Experimental design and analysis Testing statistical hypotheses

Simple null hypothesis Test of hypothesis that population mean equals a particular value (H O :  =  ) –eg. Population mean density of limpets per quadrat at Cheviot Beach is 17 –eg. Population mean diameter of mountain ash seedlings in Sherbrook forest is 20cm These values may be from literature or other research

Example Take a sample (size n) from population and calculate sample mean –eg. A sample of 15 quadrats from Cheviot Beach Calculate –sample mean11.33 –sample standard deviation10.03 –standard error2.59

Testing H O How do we test H O that  = 17? Set up normally-distributed population with  = 17 and known variance (  2 ) –generate this population with random number generator on computer Repeatedly sample (n = 15) from this population –eg. Take 1000 samples of size 15

Calculate mean for each sample –eg sample means Probability (frequency) distribution of sample means –sampling distribution of sample means –probability distribution of sample means when H O is true

Sampling distribution of sample means Pr( y ) 17 Normal distribution with mean of 17 and standard deviation of  /  n (standard error)

Testing H O If H O is true, what is probability of getting sample with mean of 11.3 from a population with mean of 17? What is probability of getting sample mean of 11.3 from previous sampling distribution of sample means? –If probability is small, then reject H O –If probability is large, then do not reject H O

Pr( y ) 17 Normal distribution with mean of 17 and standard deviation of  /  n (standard error) 11.3

Sampling distributions? Can we work out sampling distribution of sample means without repeated sampling? –Does this sampling distribution have a mathematical basis? Not easily –Infinite number of sampling distributions for each combination of  and .

t statistic Modify sample mean: This statistic (sample mean - population mean divided by standard error of sample mean) is t statistic and follows t distribution. Value of mean specified in H O

t statistic General form of t statistic: where S t is sample statistic,  is parameter value specified in H O and SE is standard error of sample statistic. Specific form for population mean: Value of mean specified in H O

Statistical hypothesis testing Statistical null hypothesis (H O ): –an hypothesis of no difference (or no relationship or no effect). H O refers to population parameters: –e.g. no difference between population means or no correlation in the population. If H O is false, then H A (alternative hypothesis) must be true.

Test statistics Sampling distributions of t, one for each sample size, when H O true –use degrees of freedom (df = n - 1) Sampling (probability) distributions of t when H O is true Probabilities of obtaining particular values of test statistic when H O is true

Sampling distribution of t  df   Pr(t) t = 0t > 0t < 0

Decision criterion How low a probability should make us reject H O ? If probability is less than significance level (  ), then reject H O ; otherwise do not reject. Convention sets significance level:  = 0.05 (5%) Arbitrary: –other significance levels are valid.

One tailed tests H O :  0 So only reject H O for large +ve values of t, i.e. when sample mean is much greater than 0.  = 0.05 Pr(t) t = 0t > 0t < 0

Two tailed tests H O :  = 0 H A :  > 0 or  < 0 So reject H O for large +ve or -ve values of t, i.e. when sample mean is much greater than or less than 0. Pr(t) t = 0t > 0t < 0  / 2 =  = 0.05

t-tests H O :  = 0 (or any other pre-specified value) single population df = n - 1

H O :  1 =  2, i.e.  1 -  2 = 0 two populations with independent observations df = (n 1 - 1) + (n 2 - 1) = n 1 + n 2 - 2

Examples No difference in mean breathing rate of buccal breathing toads and lung breathing toads No difference in mean needle length between red and white spruce trees (Parrish 1995)

H O :  d = 0 d is difference between between paired observations df = n - 1 where n is number of pairs

Examples No difference in size of webs of orb- spinning spiders in light compared to dark - same spiders used in both light regimes (Elgar et al. 1996). No difference in annual leaf production between 2 years for same trees of a tropical palm (Olmsted & Alvarez-Buylla 1995).

Copyright, Gerry Quinn & Mick Keough, 1998 Please do not copy or distribute this file without the authors’ permission Testing a statistical null hypothesis

Worked example Breathing rate of cane toads: –sample of 8 lung breathing toads and sample of 13 buccal breathing toads. Breathing rate (no. breaths per minute) recorded for each toad. Null hypothesis: –No difference in breathing rate between lung-breathing toads and buccal-breathing toads.

Specify Ho and choose test statistic: Ho:  L =  B, i.e. population mean breathing rate for lung-breathing toads and buccal-breathing toads are equal. Appropriate test statistic for comparing population means - t statistic.

Specify a priori significance (probability) level (  ): By convention, use  = 0.05 (5%).

Do experiment - calculate test statistic from sample data: MeanSDn Lung: Buccal: t = 3.74, df = 19

Compare value of t statistic to its sampling distribution, the probability distribution of statistic when H O is true: What is probability of obtaining t value of 3.74 or bigger when H O is true? What is probability of obtaining t value of 3.74 or bigger from t distribution with 19df?

Probability (from SYSTAT) P = Look up in t table P < 0.05

If probability of obtaining this value or larger is less than , conclude H O is “unlikely” to be true and reject it: –statistically significant result Our probability (0.001) is less than 0.05 so reject H O : –statistically significant result.

If probability of obtaining this value or larger is greater than , conclude that H O is “likely” to be true and do not reject it: –statistically non-significant result

Presenting results of t test Methods: –An independent t test was used to compare breathing rates of buccal and lung breathing toads. Assumptions were checked with…. Results: –The breathing rate of buccal breathing toads was significantly faster than that of lung breathing toads (t = 3.74, df = 19, P = 0.001; see Fig. 2).

P values Not the probability that H O is true! Probability of obtaining our sample data if H O is true [P(data|H O )]. Strictly, long run probability from repeated sampling of obtaining sample result if H O is true. Probability of sample result occurring by chance in the long run if H O is true.

Assumptions of t test The t test is a parametric test The t statistic only follows t distribution if: –variable has normal distribution (normality assumption) –two groups have equal population variances (homogeneity of variance assumption) –observations are independent or specifically paired (independence assumption)

Normality assumption Data in each group are normally distributed Checks: –frequency distributions –boxplots –formal tests for normality

Homogeneity of variance Population variances equal in 2 groups Checks: –subjective comparison of sample variances –boxplots –F-test of H O :  1 2 =  2 2

F-test on variances H O :  1 2 =  2 2 F statistic (F-ratio) = ratio of 2 sample variances –F = s 1 2 / s 2 2 –Reject H O if F 1 If H O is true, F-ratio follows F distribution Usual logic of statistical test

Nonparametric tests Usually based on ranks of the data. H O : samples come from populations with identical distributions –equal means or medians Don’t assume particular underlying distribution of data –normal distributions not necessary. Equal variances and independence still required.

Mann-Whitney-Wilcoxon test Calculates sum of ranks in 2 samples –should be similar if H O is true Comapres rank sum to sampling distribution of rank sums –distribution of rank sums when H O true Equivalent to t test on data transformed to ranks.