Hypothesis testing 5th - 9th December 2011, Rome.

Slides:



Advertisements
Similar presentations
ANALYSIS OF VARIANCE (ONE WAY)
Advertisements

Multiple Analysis of Variance – MANOVA
SPSS Session 5: Association between Nominal Variables Using Chi-Square Statistic.
LEARNING PROGRAMME Hypothesis testing Part 2: Categorical variables Intermediate Training in Quantitative Analysis Bangkok November 2007.
Independent t -test Features: One Independent Variable Two Groups, or Levels of the Independent Variable Independent Samples (Between-Groups): the two.
Inference for Regression
Analysis of variance (ANOVA)-the General Linear Model (GLM)
5/15/2015Slide 1 SOLVING THE PROBLEM The one sample t-test compares two values for the population mean of a single variable. The two-sample test of a population.
Chapter 11 Contingency Table Analysis. Nonparametric Systems Another method of examining the relationship between independent (X) and dependant (Y) variables.
C82MST Statistical Methods 2 - Lecture 4 1 Overview of Lecture Last Week Per comparison and familywise error Post hoc comparisons Testing the assumptions.
Conceptual Review Conceptual Formula, Sig Testing Calculating in SPSS
Chi-square Test of Independence
Lecture 9: One Way ANOVA Between Subjects
Today Concepts underlying inferential statistics
Data Analysis Statistics. Levels of Measurement Nominal – Categorical; no implied rankings among the categories. Also includes written observations and.
Relationships Among Variables
Statistical Analysis. Purpose of Statistical Analysis Determines whether the results found in an experiment are meaningful. Answers the question: –Does.
Two-Way Analysis of Variance STAT E-150 Statistical Methods.
Chapter 12 Inferential Statistics Gay, Mills, and Airasian
Inferential Statistics
Statistics for the Social Sciences Psychology 340 Fall 2013 Thursday, November 21 Review for Exam #4.
Psy B07 Chapter 1Slide 1 ANALYSIS OF VARIANCE. Psy B07 Chapter 1Slide 2 t-test refresher  In chapter 7 we talked about analyses that could be conducted.
Estimation and Hypothesis Testing Faculty of Information Technology King Mongkut’s University of Technology North Bangkok 1.
Inferential Statistics: SPSS
LEARNING PROGRAMME Hypothesis testing Intermediate Training in Quantitative Analysis Bangkok November 2007.
Part IV Significantly Different: Using Inferential Statistics
ANOVA Analysis of Variance.  Basics of parametric statistics  ANOVA – Analysis of Variance  T-Test and ANOVA in SPSS  Lunch  T-test in SPSS  ANOVA.
QNT 531 Advanced Problems in Statistics and Research Methods
SPSS Series 1: ANOVA and Factorial ANOVA
Week 10 Chapter 10 - Hypothesis Testing III : The Analysis of Variance
Srinivasulu Rajendran Centre for the Study of Regional Development (CSRD) Jawaharlal Nehru University (JNU) New Delhi India
Comparing Several Means: One-way ANOVA Lesson 15.
T-TEST Statistics The t test is used to compare to groups to answer the differential research questions. Its values determines the difference by comparing.
Statistical Analysis. Statistics u Description –Describes the data –Mean –Median –Mode u Inferential –Allows prediction from the sample to the population.
Chi-square (χ 2 ) Fenster Chi-Square Chi-Square χ 2 Chi-Square χ 2 Tests of Statistical Significance for Nominal Level Data (Note: can also be used for.
Basic concept Measures of central tendency Measures of central tendency Measures of dispersion & variability.
Chapter 16 The Chi-Square Statistic
Hypothesis testing Intermediate Food Security Analysis Training Rome, July 2010.
PCB 3043L - General Ecology Data Analysis. OUTLINE Organizing an ecological study Basic sampling terminology Statistical analysis of data –Why use statistics?
6/2/2016Slide 1 To extend the comparison of population means beyond the two groups tested by the independent samples t-test, we use a one-way analysis.
6/4/2016Slide 1 The one sample t-test compares two values for the population mean of a single variable. The two-sample t-test of population means (aka.
Recap of data analysis and procedures Food Security Indicators Training Bangkok January 2009.
Chapter 9 Three Tests of Significance Winston Jackson and Norine Verberg Methods: Doing Social Research, 4e.
Educational Research Chapter 13 Inferential Statistics Gay, Mills, and Airasian 10 th Edition.
ANOVA: Analysis of Variance.
Analysis of Variance (One Factor). ANOVA Analysis of Variance Tests whether differences exist among population means categorized by only one factor or.
1 ANALYSIS OF VARIANCE (ANOVA) Heibatollah Baghi, and Mastee Badii.
Chapter 12 Introduction to Analysis of Variance PowerPoint Lecture Slides Essentials of Statistics for the Behavioral Sciences Eighth Edition by Frederick.
Chapter 15 The Chi-Square Statistic: Tests for Goodness of Fit and Independence PowerPoint Lecture Slides Essentials of Statistics for the Behavioral.
One-way ANOVA Example Analysis of Variance Hypotheses Model & Assumptions Analysis of Variance Multiple Comparisons Checking Assumptions.
Chi-Square Analyses.
Kin 304 Inferential Statistics Probability Level for Acceptance Type I and II Errors One and Two-Tailed tests Critical value of the test statistic “Statistics.
Research Methods and Data Analysis in Psychology Spring 2015 Kyle Stephenson.
PART 2 SPSS (the Statistical Package for the Social Sciences)
Chapter 13 Understanding research results: statistical inference.
HYPOTHESIS TESTING FOR DIFFERENCES BETWEEN MEANS AND BETWEEN PROPORTIONS.
Chapter 7: Hypothesis Testing. Learning Objectives Describe the process of hypothesis testing Correctly state hypotheses Distinguish between one-tailed.
Educational Research Inferential Statistics Chapter th Chapter 12- 8th Gay and Airasian.
NURS 306, Nursing Research Lisa Broughton, MSN, RN, CCRN RESEARCH STATISTICS.
Analysis of Variance l Chapter 8 l 8.1 One way ANOVA
I. ANOVA revisited & reviewed
Logic of Hypothesis Testing
One-way ANALYSIS OF VARIANCE (ANOVA)
PCB 3043L - General Ecology Data Analysis.
Kin 304 Inferential Statistics
One way ANOVA One way Analysis of Variance (ANOVA) is used to test the significance difference of mean of one dependent variable across more than two.
Hypothesis Testing Part 2: Categorical variables
Some statistics questions answered:
Understanding Statistical Inferences
BUS-221 Quantitative Methods
Presentation transcript:

Hypothesis testing 5th - 9th December 2011, Rome

Hypothesis testing Hypothesis testing involves: 1. defining research questions and 2. assessing whether changes in an independent variable are associated with changes in the dependent variable by conducting a statistical test Dependent and independent variables  Dependent variables are the outcome variables  Independent variables are the predictive/ explanatory variables

Examples…  Research question: Is educational level of the mother related to birthweight?  What is the dependent and independent variable?  Research question: Is access to roads related to educational level of mothers?  Now?

Tests statistics  To test hypotheses, we rely on test statistics…  Test statistics are simply the result of a particular statistical test  The most common include:  T-tests calculate T-statistics  ANOVAs calculate F-statistics  Correlations calculate the pearson correlation coefficient

Significant test statistic  Is the relationship observed by chance, or because there actually is a relationship between the variables???  This probability is referred to as a p-value and is expressed a decimal percent (ie. p=0.05)  If the probability of obtaining the value of our test statistic by chance is less than 5% then we generally accept the experimental hypothesis as true: there is an effect on the population  Ex: if p=0.1-- What does this mean? Do we accept the experimental hypothesis?  This probability is also referred to as significance level (sig.)

Statistical significance

Hypothesis testing Part 1: Continuous variables

Topics to be covered in this presentation  T- test  One way analysis of variance (ANOVA)  Correlation

Hypothesis testing… WFP tests a variety of hypothesis… Some of the most common include: 1. Looking at differences between groups of people (comparisons of means) Ex. Are different livelihood groups more likely to have different levels food consumption?? 2. Looking at the relationship between two variables… Ex. Is asset wealth associated with food consumption??

How to assess differences in two means statistically T-tests

T-test A test using the t-statistic that establishes whether two means differ significantly. Independent means t-test:  It is used in situations in which there are two experimental conditions and different participants have been used in each condition. Dependent or paired means t-test:  This test is used when there are two experimental conditions and the same participants took part in both conditions of experiment.

T-test: assumptions Independent T-tests works well if:  continuous variables  groups to compare are composed of different people  within each group, variable’s values are normally distributed  there is the same level of homogeneity in the 2 groups.

Normal distribution Normal distributions are perfect symmetrical around the mean (mean is equal to zero) Values close to the mean (zero) have higher frequency. Values very far from the mean are less likely to occur (lower frequency)

Variance Variance measures how cases are similar on a specific variable (level of homogeneity) V = sum of all the squared distances from the Mean / N Variance is low → cases are very similar to the mean of the distribution (and to each other). The group of cases is therefore homogeneous (on this variable) Variance is high → cases tend to be very far from the mean (and different from each other). The group of cases is therefore heterogeneous (on this variable)

Homogeneity of Variance T-test works well if the two groups have the same homogeneity (variance) on the variable. If one group is very homogeneous and the another is not, T-test fails.

The independent t-test  The independent t-test compares two means, when those means have come from different groups of people;

T-tests formulas Quite simply, the T-test formula is a ratio of the: Difference between the two means or averages/ the variability or dispersion of the scores Statistically this formula is:

Example T-tests Difference in weight for age z-scores between males and females in Kenya T-test = T-test = 5.56

To conduct an independent t-test in SPSS 1. Click on “Analyze” drop down menu 2. Click on “Compare Means” 3. Click on “Independent- Sample T-Test…” 4. Move the independent and dependent variable into proper boxes 5. Click “OK”

T-test: SPSS procedure  Drag the variables into the proper boxes  define values for the independent variable

One note of caution about independent t-tests It is important to ensure that the assumption of homogeneity of variance is met: To do so: Look at the column labelled Levene’s Test for Equality of Variance. If the Sig. value is less than.05 then the assumption of homogeneity of variance has been broken and you should look at the row in the table labelled Equal variances not assumed. If the Sig. value of Levene’s test is bigger than.05 then you should look at the row in the table labelled Equal variances assumed.

T-test: SPSS output Look at the Levene’s Test …  If the Sig. value of the test is less than.05, groups have different variance. Read the row “Equal variances not assumed”  If the Sig. value of test is bigger than.05, read the row labelled “Equal variances assumed”

What to do if we want to statistically compare differences in three means? Analysis of variance (ANOVA)

Analysis of Variance (ANOVA)  ANOVAs test tells us if there are any difference among the different means but not how (or which) means differ.  ANOVAs are similar to t-tests and in fact an ANOVA conducted to compare two means will give the same answer as a t-test.

Calculating an ANOVA ANOVA formulas: calculating an ANOVA by hand is complicated and knowing the formulas are not necessary… Instead, we will rely on SPSS to calculate ANOVAs…

Example of One-Way ANOVAs Research question: Do mean child malnutrition (GAM) rates differ according to mother’s educational level (none, primary, or secondary/ higher)?

To calculate one-way ANOVAs in SPSS In SPSS, one-way ANOVAs are run using the following steps:  Click on “Analyze” drop down menu 1. Click on “Compare Means” 2. Click on “One-Way ANOVA…” 3. Move the independent and dependent variable into proper boxes 4. Click “OK”

ANOVA: SPSS procedure 1.Analyze; compare means; one-way ANOVA 2.Drag the independent and dependent variable into proper boxes 3.Ask for the descriptive 4.Click on ok

ANOVA: SPSS output Along with the mean for each group, ANOVA produces the F-statistic. It tells us if there are differences between the means. It does not tell which means are different.  Look at the F’s value and at the Sig. level

Determining where differences exist In addition to determining that differences exist among the means, you may want to know which means differ. There is one type of test for comparing means:  Post hoc tests are run after the experiment has been conducted (if you don’t have specific hypothesis).

ANOVA post hoc tests Once you have determined that differences exist among the means, post hoc range tests and pairwise multiple comparisons can determine which means differ. Tukeys post hoc test is the amongst the most popular and are adequate for our purposes…so we will focus on this test…

To calculate Tukeys test in SPSS In SPSS, Tukeys post hoc tests are run using the following steps: 1. Click on “Analyze” drop down menu 2. Click on “Compare Means” 3. Click on “One-Way ANOVA…” 4. Move the independent and dependent variable into proper boxes 5. Click on “Post Hoc…” 6. Check box beside “Tukey” 7. Click “Continue” 8. Click “OK”

Determining where differences exist in SPSS Once you have determined that differences exist among the means → you may want to know which means differ… Different types of tests exist for pairwise multiple comparisons

Common post-hoc tests 34 Each test is characterized by different adjustments and works well under specific circumstances:  Same variance & size across the groups → Tukey test  Same variance, size slightly different → Gabriel test  Same variance, size very different → Hochberg’s GT2  Different variance → Games-Howell There are lots of different post hoc tests, characterized by different adjustment/ setting of the error rate for each test and for multiple comparisons. if interested, please feel free to investigate more and to try different tests – SPSS help might provide you some good hints!

Pairwise comparisons: SPSS output Once you have decided which post-hoc test is appropriate  Look at the column “mean difference” to know the difference between each pair  Look at the column Sig.: if the value is less than.05 then the means of the two pairs are significantly different