General Procedure for Hypothesis Test. Five types of statistical analysis. 1. Formulate H 1 and H 0. General Procedure for Hypothesis Test



Similar documents
THE FIRST SET OF EXAMPLES USE SUMMARY DATA... EXAMPLE 7.2, PAGE 227 DESCRIBES A PROBLEM AND A HYPOTHESIS TEST IS PERFORMED IN EXAMPLE 7.

An Introduction to Statistics Course (ECOE 1302) Spring Semester 2011 Chapter 10- TWO-SAMPLE TESTS

1. What is the critical value for this 95% confidence interval? CV = z.025 = invnorm(0.025) = 1.96

Lesson 1: Comparison of Population Means Part c: Comparison of Two- Means

Independent t- Test (Comparing Two Means)

Statistics Review PSY379

Chapter 8 Hypothesis Testing Chapter 8 Hypothesis Testing 8-1 Overview 8-2 Basics of Hypothesis Testing

t Tests in Excel The Excel Statistical Master By Mark Harmon Copyright 2011 Mark Harmon

Psychology 60 Fall 2013 Practice Exam Actual Exam: Next Monday. Good luck!

UNDERSTANDING THE TWO-WAY ANOVA

Unit 31 A Hypothesis Test about Correlation and Slope in a Simple Linear Regression

HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 1. used confidence intervals to answer questions such as...

Two-sample hypothesis testing, II /16/2004

Section 7.1. Introduction to Hypothesis Testing. Schrodinger s cat quantum mechanics thought experiment (1935)

Section 13, Part 1 ANOVA. Analysis Of Variance

3.4 Statistical inference for 2 populations based on two samples

Class 19: Two Way Tables, Conditional Distributions, Chi-Square (Text: Sections 2.5; 9.1)

Opgaven Onderzoeksmethoden, Onderdeel Statistiek

Study Guide for the Final Exam

Introduction to Hypothesis Testing. Hypothesis Testing. Step 1: State the Hypotheses

Additional sources Compilation of sources:

Comparing Means in Two Populations

1.5 Oneway Analysis of Variance

Hypothesis testing. c 2014, Jeffrey S. Simonoff 1

Difference of Means and ANOVA Problems

HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 1. used confidence intervals to answer questions such as...

HYPOTHESIS TESTING: POWER OF THE TEST

Two Related Samples t Test

Chapter 5 Analysis of variance SPSS Analysis of variance

Hypothesis Testing: Two Means, Paired Data, Two Proportions

SCHOOL OF HEALTH AND HUMAN SCIENCES DON T FORGET TO RECODE YOUR MISSING VALUES

Statistiek II. John Nerbonne. October 1, Dept of Information Science

Introduction. Hypothesis Testing. Hypothesis Testing. Significance Testing

Association Between Variables

research/scientific includes the following: statistical hypotheses: you have a null and alternative you accept one and reject the other

Hypothesis testing - Steps

Chapter 2 Probability Topics SPSS T tests

BA 275 Review Problems - Week 5 (10/23/06-10/27/06) CD Lessons: 48, 49, 50, 51, 52 Textbook: pp

Analysis of Variance ANOVA

LAB 4 INSTRUCTIONS CONFIDENCE INTERVALS AND HYPOTHESIS TESTING

Unit 26 Estimation with Confidence Intervals

Introduction to Analysis of Variance (ANOVA) Limitations of the t-test

Introduction to Hypothesis Testing OPRE 6301

Hypothesis Testing. Reminder of Inferential Statistics. Hypothesis Testing: Introduction

Statistics 2014 Scoring Guidelines

Simple Linear Regression Inference

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

22. HYPOTHESIS TESTING

UNDERSTANDING THE DEPENDENT-SAMPLES t TEST

Outline. Definitions Descriptive vs. Inferential Statistics The t-test - One-sample t-test

One-Way Analysis of Variance (ANOVA) Example Problem

Two-Sample T-Tests Assuming Equal Variance (Enter Means)

Analysing Questionnaires using Minitab (for SPSS queries contact -)

Introduction to. Hypothesis Testing CHAPTER LEARNING OBJECTIVES. 1 Identify the four steps of hypothesis testing.

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Two-Sample T-Tests Allowing Unequal Variance (Enter Difference)

II. DISTRIBUTIONS distribution normal distribution. standard scores

C. The null hypothesis is not rejected when the alternative hypothesis is true. A. population parameters.

KSTAT MINI-MANUAL. Decision Sciences 434 Kellogg Graduate School of Management

ANOVA ANOVA. Two-Way ANOVA. One-Way ANOVA. When to use ANOVA ANOVA. Analysis of Variance. Chapter 16. A procedure for comparing more than two groups

Descriptive Analysis

Testing for differences I exercises with SPSS

Examining Differences (Comparing Groups) using SPSS Inferential statistics (Part I) Dwayne Devonish

This chapter discusses some of the basic concepts in inferential statistics.

Statistics. One-two sided test, Parametric and non-parametric test statistics: one group, two groups, and more than two groups samples

A) B) C) D)

HYPOTHESIS TESTING WITH SPSS:

Testing Group Differences using T-tests, ANOVA, and Nonparametric Measures

Chapter 7 Notes - Inference for Single Samples. You know already for a large sample, you can invoke the CLT so:

Chapter Seven. Multiple regression An introduction to multiple regression Performing a multiple regression on SPSS

Tests of Hypotheses Using Statistics

Recall this chart that showed how most of our course would be organized:

Chapter 9. Two-Sample Tests. Effect Sizes and Power Paired t Test Calculation

Good luck! BUSINESS STATISTICS FINAL EXAM INSTRUCTIONS. Name:

SAMPLING & INFERENTIAL STATISTICS. Sampling is necessary to make inferences about a population.

Univariate Regression

Part 2: Analysis of Relationship Between Two Variables

Mind on Statistics. Chapter 15

In the past, the increase in the price of gasoline could be attributed to major national or global

Statistical tests for SPSS

One-Way Analysis of Variance

INTERPRETING THE ONE-WAY ANALYSIS OF VARIANCE (ANOVA)

1 Basic ANOVA concepts

Comparing Two Groups. Standard Error of ȳ 1 ȳ 2. Setting. Two Independent Samples

Using Excel for inferential statistics

12: Analysis of Variance. Introduction

Descriptive Statistics

Nonparametric Statistics

Chapter 7. Comparing Means in SPSS (t-tests) Compare Means analyses. Specifically, we demonstrate procedures for running Dependent-Sample (or

QUANTITATIVE METHODS BIOLOGY FINAL HONOUR SCHOOL NON-PARAMETRIC TESTS

A POPULATION MEAN, CONFIDENCE INTERVALS AND HYPOTHESIS TESTING

Two-sample t-tests. - Independent samples - Pooled standard devation - The equal variance assumption

Analysis of Data. Organizing Data Files in SPSS. Descriptive Statistics

Chapter 2. Hypothesis testing in one population

individualdifferences

Chapter 7 Section 7.1: Inference for the Mean of a Population

Solutions to Homework 10 Statistics 302 Professor Larget

Mind on Statistics. Chapter 13

Two-sample inference: Continuous data

Stat 411/511 THE RANDOMIZATION TEST. Charlotte Wickham. stat511.cwick.co.nz. Oct

Transcription:

Five types of statistical analysis General Procedure for Hypothesis Test Descriptive Inferential Differences Associative Predictive What are the characteristics of the respondents? What are the characteristics of the population? Are two or more groups the same or different? Are two or more variables related in a systematic way? Can we predict one variable if we know one or more other variables? 1. Formulate H 0 (null hypothesis) and H 1 (alternative hypothesis) 2. Select appropriate test 3. Choose level of significance 4. Calculate the test statistic (SPSS) 5. Determine the probability associated with the statistic. Determine the critical value of the test statistic. General Procedure for Hypothesis Test 6 a) Compare with the level of significance, α b) Determine if the critical value falls in the rejection region. (check tables) 7 Reject or do not reject H 0 8 Draw a conclusion 1. Formulate H 1 and H 0 The hypothesis the researcher wants to test is called the alternative hypothesis H 1. The opposite of the alternative hypothesis is the null hypothesis H 0 (the status quo)(no difference between the sample and the population, or between samples). The objective is to DISPROVE the null hypothesis. The Significance Level is the Critical probability of choosing between the null hypothesis and the alternative hypothesis The selection of a proper Test depends on: Scale of the data nominal interval the statistic you seek to compare Proportions (percentages) means the sampling distribution of such statistic Normal Distribution T Distribution χ 2 Distribution Number of variables Univariate Bivariate Multivariate Type of question to be answered Testing for Differences Between Mean of the Sample and Mean of the Population The manager of Pepperoni Pizza Restaurant has recently begun experimenting with a new method of baking its pepperoni pizzas. He believes that the new method produces a better-tasting pizza, but he would like to base a decision on whether to switch from the old method to the new method on customer reactions. Therefore he performs an experiment. 1

The Experiment For 40 randomly selected customers who order a pepperoni pizza for home delivery, he includes both an old style and a free new style pizza in the order. All he asks is that these customers rate the difference between pizzas on a -10 to +10 scale, where -10 means they strongly favor the old style, +10 means they strongly favor the new style, and 0 means they are indifferent between the two styles. Old pizza New pizza -10 0 +10 1. Formulate H 1 and H 0 One-Tailed Versus Two-Tailed Tests The form of the alternative hypothesis can be either a one-tailed or two-tailed, depending on what you are trying to prove. A one-tailed hypothesis is one where the only sample results which can lead to rejection of the null hypothesis are those in a particular direction, namely, those where the sample mean rating is positive. A two-tailed test is one where results in either of two directions can lead to rejection of the null hypothesis. 1. Formulate H 1 and H 0 1. Formulate H 1 and H 0 One-Tailed Versus Two-Tailed Tests -- continued Once the hypotheses are set up, it is easy to detect whether the test is one-tailed or two-tailed. One tailed alternatives are phrased in terms of > or < whereas two tailed alternatives are phrased in terms of The real question is whether to set up hypotheses for a particular problem as one-tailed or two-tailed. There is no statistical answer to this question. It depends entirely on what we are trying to prove. As the manager you would like to observe a difference between both pizzas If the new baking method is cheaper, you would like the preference to be for it. Null Hypothesis Alternative µ= mu=population mean H 0 µ=0 (there is no difference between the old style and the new style pizzas) (The difference between the mean of the sample and the mean of the population is zero) H 1 µ 0 or H 1 µ >0 Two tail test One tail test What we want to test is whether consumers prefer the new style pizza to the old style. We assume that there is no difference (i.e. the mean of the population is zero) and want to know whether our observed result is significantly (I.e. statistically) different. The one-sample t test is used to test whether the mean of the sample is equal to a hypothesized value of the population from which the sample is drawn. Type I Error Rejecting the null hypothesis that the pizzas are equal, when they really are perceived equal by the customers of the entire population. Type II error Accepting the null hypothesis that the pizzas are equal, when they are really perceived to be different by the customers of the entire population. 2

3. Choose Level of Significance The ratings of 40 randomly selected customers produces the following table and statistics Significance Level selected is typically.05 or.01 I.e 5% or 1% From the summary statistics, we see that the sample mean is 2.10 and the sample standard deviation is 4.717 The positive sample mean suggests a slight preference for the new pizza, (alternative hypothesis) but there is a fair degree of variation. What we don t know is whether this preference is significant 4. Calculate the Test Statistic t = X- 0 s/ n T(n-1) 2.10 0 t value = = 2.816 4.717 / 40 5. Determine the Probability-value (Critical Value) We use the right tail because the alternative is one-tailed of the greater than variety The probability beyond this value in the right tail of the t distribution with n-1 = 39 degrees of freedom is approximately 0.004 The probability, 0.004, is the p-value for the test. It indicates that these sample results would be very unlikely if the null hypothesis is true. 6. Compare with the level of significance, α (.05)and determine if the critical value falls in the rejection region Do not Reject H 0 1-α Reject H 0 Reject H 0-2.023 7. Reject or do not reject H 0 0 2.023 2.816 8 Conclusion the sample evidence is fairly convincing that customers, on average, prefer the new-style pizza. Should the manager switch to the new-style pizza on the basis of these sample results? Depends. There is no indication that the new-style pizza costs any more to make than the old-style pizza. Therefore, unless there are reasons for not switching (for example, costs) then we recommend the switch. Since the statistic falls in the rejection area we reject H o and conclude that the perceived difference between the pizzas is significantly different from zero. 3

Comparing Means Suppose you are the brand manager for Tylenol, and a recent TV ad tells the consumers that Advil is more effective (quicker) at treating headaches than Tylenol. An independent random sample of 400 people with a headache is given Advil, and 260 people report they feel better within an hour. Another independent sample of 400 people is taken and 252 people that took Tylenol reported feeling better. Is the TV ad correct? Or, in other words, is there a difference between the means of the two samples Hypothesis Test for Two Independent Samples Test for mean difference: Null Hypothesis Alternative H 0 µ 1 = µ 2 H 1 µ 1 µ 2 Under H 0 µ 1 - µ 2 = 0. So, the test concludes whether there is a difference between the means or not. Comparison of means: Graphically Are the means equal? Or are the differences simply due to chance? In this example we have two independent samples Other examples populations of users and non-users of a brand differ in perceptions of the brand high income consumers spend more on the product than low income consumers The proportion of brand-loyal users in Segment 1 (eg males) is more than the proportion in segment II (e.g. females) The proportion of households with Internet in Canada exceeds that in USA Can be used for examining differences between means and proportions The two populations are sampled and the means and variances computed based on the samples of sizes n 1 and n 2 If both populations are found to have the same variance then a t-statistic is calculated. The comparison of means of independent samples assumes that the variances are equal. If the variances are not known an F-test is conducted to test the equality of the variances of the two populations. F Unequal variances: The problem α 0 f 4

Tylenol vs Advil We would need to test if the difference is zero or not. H 0 : π A - π T = 0; H 1 : π A - π T 0 t = mean 1 mean 2 p A = 260/400= 0.65 p T = 252/400= 0.63 Variability of random means.65 -.63 z = (.65)(.35)/400+ (.63)(.37)/400 = 0.66 Differences Between Groups when Comparing Means Ratio scaled dependent variables t-test When groups are small When population standard deviation is unknown z-test When groups are large For large samples the t-distribution approaches the normal distribution and so the t-test and the z-test are equivalent. Degrees of Freedom d.f. = n - k where: n = n 1 + n 2 k = number of groups The degrees of freedom is (n 1 + n 2 2) Tylenol vs Advil α = 0.10 Critical value = 1.64 α -1 - -1.64 0 0.66 1.64 Since 0.66 is less than the critical value of 1.64 we accept the null hypothesis: there is no difference between Advil and Tylenol users Test for Means Difference on Paired Samples What is a paired sample? When two sets of observations relate to the same respondents When you want to measure brand recall before and after an ad campaign. Shoppers consider brand name to be more important than price Households spend more money on pizza than on hamburgers The proportion of a bank s customers who have a checking account exceeds the proportion who have a savings account Since it is the same population that is being sampled the observations are not independent. The appropriate test is a paired-t-test Example Q1. When purchasing golf clubs rate the importance 1-5 of price Q2. When purchasing golf clubs rate the importance 1-5 of brand H 0 There is no difference in importance between brand and price H 1 One tailed H 1 Two Tailed Price is more important than brand There is a difference in importance between brand and price 5

What is an ANOVA? One-way ANOVA stands for Analysis of Variance Purpose: Extends the test for mean difference between two independent samples to multiple samples. Employed to analyze the effects of manipulations (independent variables) on a random variable (dependent). What does ANOVA tests? The null hypothesis tests whether the mean of all the independent samples is equal H 0 µ 1 = µ 2 = µ 3..= µ n H 1 µ 1 µ 2 µ 3.. µ n The alternative hypothesis specifies that all the means are not equal Definitions Dependent variable: the variable we are trying to explain, also known as response variable (Y). Independent variable: also known as explanatory variables or Factors (X). Research normally involves determining whether the independent variable has an effect on the variability of the dependent variable Comparing Antacids The maker of Acid-off, an antacid stomach remedy wants to know which type of ad results in the most positive brand attitude among consumers. Non comparative ad: Acid-off provides fast relief Explicit Comparative ad: Acid-off provides faster relief than Tums Non explicit comparative ad Acid-off provides the fastest relief Three groups of people are exposed to one type of ad and asked to rate their attitude towards the ad. Brand Attitude Type of Ad Comparing Antacids Non Comparative Explicit Comparative Means Non Explicit Comparative The dependent variable (denoted by Y) is called the response variable and in this case it is brand attitude (I.e. we want to know what effect ad type has on attitude toward the brand) The independent variables are called factors, in this case type of ad: non-comparative, explicit comparative, non-explicit comparative The different levels of the factor are called treatments. In this case the treatments are the different ratings for each of the three types of ads. There will be two sources of variation. Variation within the treatment (e.g. within the noncomparative ad etc.) Variation between the treatments (I.e. between the three types of ads) 6

The whole idea behind the analysis of variance is to compare the ratio of between group variance to within group variance. If the variance caused by the interaction between the samples is much larger when compared to the variance that appears within each group, then it is because the means are different. F Variance = Variance Degrees of Freedom between within groups groups The F statistics has DF for both numerator (between group) and denominator (within group) DF between group = (c-1) where c=number of groups DF within group = (N-c) where N is sample size Within Category Variation SS within Decomposition of the Total Variation Category Mean Independent Variable X Categories Total Sample X 1 X 2 X 3. X c Y 1 Y 1 Y 1. Y 1 Y 1 Y 2 Y 2 Y 2. Y 2 Y 2 Total Variation SS y Y n Y n Y n. Y n Y n Y 1 Y 2 Y 3 Y c Y Between Category Variation SS between Grand Mean ANOVA Test The null hypothesis would be tested with the F distribution F distribution Reject H 0 df (c-1)/(n-c) α One way ANOVA investigates: Main effects factor has an across-the-board effect e.g., type of ad Or age or involvement A TWO-WAY ANOVA investigates: INTERACTIONS effect of one factor depends on another factor e.g., larger advertising effects for those with no experience importance of price depends on income level and involvement with the product 7