Lecture 17c: SPSS output for One Sample Hypothesis Test of Means (or t-tests)

Similar documents
Chapter 2 Probability Topics SPSS T tests

Independent t- Test (Comparing Two Means)

Two Related Samples t Test

HYPOTHESIS TESTING WITH SPSS:

Hypothesis testing - Steps

7. Comparing Means Using t-tests.

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

Testing a claim about a population mean

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

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

UNDERSTANDING THE DEPENDENT-SAMPLES t TEST

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

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

Lecture Notes Module 1

INTERPRETING THE ONE-WAY ANALYSIS OF VARIANCE (ANOVA)

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

The Dummy s Guide to Data Analysis Using SPSS

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

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

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

Module 4 (Effect of Alcohol on Worms): Data Analysis

How To Test For Significance On A Data Set

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

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

HYPOTHESIS TESTING: POWER OF THE TEST

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

LAB 4 INSTRUCTIONS CONFIDENCE INTERVALS AND HYPOTHESIS TESTING

UNDERSTANDING THE INDEPENDENT-SAMPLES t TEST

Data Mining Techniques Chapter 5: The Lure of Statistics: Data Mining Using Familiar Tools

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.

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

Using Microsoft Excel to Analyze Data from the Disk Diffusion Assay

MONT 107N Understanding Randomness Solutions For Final Examination May 11, 2010

One-Way ANOVA using SPSS SPSS ANOVA procedures found in the Compare Means analyses. Specifically, we demonstrate

6: Introduction to Hypothesis Testing

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

Hypothesis Test for Mean Using Given Data (Standard Deviation Known-z-test)

Lesson 9 Hypothesis Testing

Using R for Linear Regression

Hypothesis Testing: Two Means, Paired Data, Two Proportions

Testing for differences I exercises with SPSS

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

Lecture 2: Types of Variables

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

Comparing Means in Two Populations

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

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

Good luck! BUSINESS STATISTICS FINAL EXAM INSTRUCTIONS. Name:

Regression Analysis: A Complete Example

3.4 Statistical inference for 2 populations based on two samples

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

Introduction to Hypothesis Testing OPRE 6301

Two-Group Hypothesis Tests: Excel 2013 T-TEST Command

Using Microsoft Excel to Analyze Data

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

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

Hypothesis Testing --- One Mean

DDBA 8438: Introduction to Hypothesis Testing Video Podcast Transcript

Projects Involving Statistics (& SPSS)

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

1.5 Oneway Analysis of Variance

One-Way Analysis of Variance

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

A POPULATION MEAN, CONFIDENCE INTERVALS AND HYPOTHESIS TESTING

Chapter 5 Analysis of variance SPSS Analysis of variance

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

sensr - Part 2 Similarity testing and replicated data (and sensr) p 1 2 p d 1. Analysing similarity test data.

SPSS Guide: Regression Analysis

A full analysis example Multiple correlations Partial correlations

Using Excel for inferential statistics

Chapter 7. One-way ANOVA

Chapter Study Guide. Chapter 11 Confidence Intervals and Hypothesis Testing for Means

12: Analysis of Variance. Introduction

Name: Date: Use the following to answer questions 3-4:

II. DISTRIBUTIONS distribution normal distribution. standard scores

An SPSS companion book. Basic Practice of Statistics

Statistics Review PSY379

Introduction. Hypothesis Testing. Hypothesis Testing. Significance Testing

Understanding Confidence Intervals and Hypothesis Testing Using Excel Data Table Simulation

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

Describing Populations Statistically: The Mean, Variance, and Standard Deviation

Two-sample hypothesis testing, II /16/2004

Analysis of categorical data: Course quiz instructions for SPSS

1 Hypothesis Testing. H 0 : population parameter = hypothesized value:

Estimation of σ 2, the variance of ɛ

Correlational Research

Odds ratio, Odds ratio test for independence, chi-squared statistic.

QUANTITATIVE METHODS BIOLOGY FINAL HONOUR SCHOOL NON-PARAMETRIC TESTS

Hypothesis Testing. Hypothesis Testing

THE IMPACT OF ACCOUNTING INFORMATION SYSTEMS ON FINANCIAL PERFORMANCE A CASE STUDY OF TCS INDIA

Chapter 23. Inferences for Regression

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

Independent samples t-test. Dr. Tom Pierce Radford University

Having a coin come up heads or tails is a variable on a nominal scale. Heads is a different category from tails.

Stats Review Chapters 9-10

Two-sample inference: Continuous data

Tutorial 5: Hypothesis Testing

CHAPTER 14 NONPARAMETRIC TESTS

COMPARISONS OF CUSTOMER LOYALTY: PUBLIC & PRIVATE INSURANCE COMPANIES.

WISE Power Tutorial All Exercises

Transcription:

17c_SPSS.pdf Michael Hallstone, Ph.D. hallston@hawaii.edu Lecture 17c: SPSS output for One Sample Hypothesis Test of Means (or t-tests) The purpose of this lecture is to illustrate the SPSS output for one-sample hypothesis test of means (or one sample t-tests). One sample hypothesis test of means or t-test of mean number of complaints per month Here I use the last example from (17_one_sample_t_test.pdf). lecture 17: one sample hypothesis testing Please see the lecture, but in this example we pretend there is a Big Boss in the City and County of Honolulu who wants examine the mean number of complaints coming from a department she supervises. The hypothesized population mean number of complaints per month in step 1 is 16. You can test any of the following using the SPSS output below: H o : µ = 16 H 1 : µ 16 H o : µ 16 H 1 : µ < 16 H o : µ 16 H 1 : µ > 16 1 of 10

Doing the test using SPSS To have SPSS perform this operation from the menus choose: Analyze Compare Means > One Sample T-Test... of 10

A window will pop up and you highlight and move your continuous variable over to the Test Variables: box with the arrow. Then below there is a box that says Test Value. You put the number of the hypothesized population mean in the Test Value box! You put the number that appears in Step 1! You put the number in the H o and H 1! Above in our step 1 we use H o : µ = 16 H 1 : µ 16 so, we put 16 in the Test Value box. Do not confuse this with alpha in step which is typically.05! Do not put.05 in this box! You put the number that appears in your null and alternative hypothesis! Push OK and you will see the following 3 of 10

One-Sample Statistics N Mean Std. Deviation Std. Error Mean # of complaints 10 18.0000.05480.64979 One-Sample Test t df Sig. (-tailed) Test Value = 16 Mean Difference 95% Confidence Interval of the Difference Lower Upper # of complaints 3.078 9.013.00000.5301 3.469 Test Ratio (TR) value in step 6 Look in the lower box under t and you will see the test ratio statistical test from step 6. I have highlighted it in green. x µ σ Ho 18 16 In this case TR= =.05 / 10 =.64979 = 3.078 x For our take home tests you do NOT have to show me the math by hand like above. Simply say SPSS says TR=.3.078. 4 of 10

p-values The p-value is found in the box Sig. (-tailed). This the actual p-value for a two-tailed test, but computing the p-value for one-tailed tests is more complicated. P value for a two tailed test The output below can be used for the following two-tailed test: H o : µ = 16 H 1 : µ 16 One-Sample Statistics N Mean Std. Deviation Std. Error Mean # of complaints 10 18.0000.05480.64979 One-Sample Test t df Sig. (-tailed) Test Value = 16 Mean Difference 95% Confidence Interval of the Difference Lower Upper # of complaints 3.078 9.013.00000.5301 3.469 Look a the bottom box. SPSS provides the two tailed p value in the box that says Sig. (- tailed). I have highlighted in yellow. In this case p=.013 (or 1.3%) That means you if you reject the null you have to accept a 1.3% chance of being wrong. Or there is a 1.3% chance that the null hypothesis is correct. p-value in plain English In this case p=.013. That means you if you reject the null and conclude the mean number of complaints per month is not equal to 16, you would have to accept a 1.3% chance of being wrong. Whether or not you would actually reject null or fail to reject null would depend upon your amount of error in step of the seven steps. If your error or alpha was.05 or 5% you would reject null. If you error or alpha was.01 or 1% you would fail to reject the null. See the practice problem answers to this lecture for examples of plain English language when you reject null and fail to reject null.) 5 of 10

P value for a one tailed test TR value falls in correct tail Divide the p-value by two and that is the one-tailed p-value if the mathematical sign of the t- value is in the correct tail! If t is positive it lands to the right of the mean, negative t-values are to the left. The t-value must land in the appropriate tail. If testing the following: H o : µ 16 H 1 : µ > 16 The t value needs to be positive and our step 4/5 would look like In this case the p-value is the total area under the curve from the TR all the way out through the right or positive side of the curve regardless of whether or not the TR is negative or positive! H 0 : µ 16 H 1 : µ > 16 If the TR value is in the correct tail the p value is half of the Sig. (-tailed) value or.013 divided by..013 =.0065 so p=.0065 or 0.65%. p value in plain English Recall we tested H 0 : µ 16 complaints per month H 1 : µ > 16 complaints per month 6 of 10

In plain English, the Big Boss can conclude that the mean number of complaints per month is greater than 16, but there is a 0.65% chance that his conclusion is wrong or in error. 7 of 10

t value falls in the wrong tail If testing the following: H o : µ 16 H 1 : µ < 16 In this case the p-value is the total area under the curve from the TR all the way out through the left or negative side of the curve regardless of whether or not the TR is negative or positive! The TR value needs to be NEGATIVE and ours is POSITIVE (TR= + 3.078). Thus p-value = 1 - Sig.( tailed) using the output above p= 1 -.013 = 1-.0065 =. 9935 so p=.9935 or 99.35%. p value in plain English If you were to reject the null and conclude the mean number of complaints a month was less than 16, you would have to accept a 95.95% chance of being wrong. (This amount of error is too high. Therefore you would fail to reject the theory in the null hypothesis.) 8 of 10

p-values when Sig. (-tailed). =.000 The p-value is found in the box Sig. (-tailed). Above it is p=.000, but p is NOT really equal to zero. p-value for two tailed tests The output above can be used for the following two-tailed test: H o : µ =.08 H 1 : µ.08. In this case p=.000, but that does not mean p=0. It is just smaller than.000 so p<.0001. For One-Tailed Tests: 1. Divide the p-value by two and that is the one-tailed p-value if the mathematical sign of the t-value is in the correct tail! If t is positive it lands to the right of the mean, negative t- values are to the left. The t-value must land in the appropriate tail. t value falls in correct tail If testing the following: H o : µ.08 H 1 : µ >.08 The t value needs to be positive and ours is (t=19.154). Thus p value is half of the Sig. (- tailed) value or p<.0001 divided by..0001 =.00005 p<.00005. or p<.005% So you could reject the null and conclude the mean Blood Alcohol Content was greater than.08 (µ >.08), but you would have to accept LESS than a.005% chance of being wrong. (That is very small amount of error, so you would reject the theory in the null and conclude the alternative!) 9 of 10

t value falls in the wrong tail If testing the following: H o : µ.08 H 1 : µ <.08 The t value needs to be NEGATIVE and ours is POSITIVE (t=19.154). Thus p-value > 1 - Sig.( tailed) NOTE that P is GREATER THAN: 1 - Sig.( tailed) Using the output above p> 1 -.00005 =.99995. or 99.995% If you were to reject the null and conclude mean Blood Alcohol Content was less than.08 (µ <.08) you would have to accept MORE THAN a 99.995% chance of being wrong. 10 of 10