Instructions for doing two-sample t-test in Excel

Similar documents
One-Way ANOVAs t-test two statistically significant Type I error alpha null hypothesis dependant variable Independent variable three levels;

THIS PROBLEM HAS BEEN SOLVED BY USING THE CALCULATOR. A 90% CONFIDENCE INTERVAL IS ALSO SHOWN. ALL QUESTIONS ARE LISTED BELOW THE RESULTS.

Lecture 20: Chi Square

Section 9.2b Tests about a Population Proportion

Testing Means. Related-Samples t Test With Confidence Intervals. 6. Compute a related-samples t test and interpret the results.

Final Exam Practice Test

Applied Statistical Analysis EDUC 6050 Week 4

Chapter 12. The One- Sample

POLS 5377 Scope & Method of Political Science. Correlation within SPSS. Key Questions: How to compute and interpret the following measures in SPSS

How to Conduct On-Farm Trials. Dr. Jim Walworth Dept. of Soil, Water & Environmental Sci. University of Arizona

25. Two-way ANOVA. 25. Two-way ANOVA 371

PSYCHOLOGY 300B (A01) One-sample t test. n = d = ρ 1 ρ 0 δ = d (n 1) d

Inferential Statistics

Lesson 11.1: The Alpha Value

The t-test: Answers the question: is the difference between the two conditions in my experiment "real" or due to chance?

Describe what is meant by a placebo Contrast the double-blind procedure with the single-blind procedure Review the structure for organizing a memo

UNEQUAL CELL SIZES DO MATTER

Business Statistics Probability

Psy201 Module 3 Study and Assignment Guide. Using Excel to Calculate Descriptive and Inferential Statistics

04/12/2014. Research Methods in Psychology. Chapter 6: Independent Groups Designs. What is your ideas? Testing

DIFFERENCE BETWEEN TWO MEANS: THE INDEPENDENT GROUPS T-TEST

STAT 113: PAIRED SAMPLES (MEAN OF DIFFERENCES)

Stat Wk 9: Hypothesis Tests and Analysis

STA Module 9 Confidence Intervals for One Population Mean

HS Exam 1 -- March 9, 2006

5 14.notebook May 14, 2015

One-Way Independent ANOVA

Examining differences between two sets of scores

Research paper. One-way Analysis of Variance (ANOVA) Research paper. SPSS output. Learning objectives. Alcohol and driving ability

Statistical inference provides methods for drawing conclusions about a population from sample data.

MULTIPLE LINEAR REGRESSION 24.1 INTRODUCTION AND OBJECTIVES OBJECTIVES

Chapter 23. Inference About Means. Copyright 2010 Pearson Education, Inc.

Lessons in biostatistics

EPS 625 INTERMEDIATE STATISTICS TWO-WAY ANOVA IN-CLASS EXAMPLE (FLEXIBILITY)

15.301/310, Managerial Psychology Prof. Dan Ariely Recitation 8: T test and ANOVA

Still important ideas

Chapter 12: Introduction to Analysis of Variance

Utilizing t-test and One-Way Analysis of Variance to Examine Group Differences August 31, 2016

STAT 200. Guided Exercise 7

Statistical Techniques. Masoud Mansoury and Anas Abulfaraj

14.1: Inference about the Model

Two Factor Analysis of Variance

Profile Analysis. Intro and Assumptions Psy 524 Andrew Ainsworth

12.1 Inference for Linear Regression. Introduction

Experimental Psychology Arlo Clark Foos

Brief notes on statistics: Part 4 More on regression: multiple regression, p values, confidence intervals, etc

Theoretical Exam. Monday 15 th, Instructor: Dr. Samir Safi. 1. Write your name, student ID and section number.

Two-Way Independent ANOVA

Exam 4 Review Exercises

To open a CMA file > Download and Save file Start CMA Open file from within CMA

A response variable is a variable that. An explanatory variable is a variable that.

BIOL 458 BIOMETRY Lab 7 Multi-Factor ANOVA

The Single-Sample t Test and the Paired-Samples t Test

Stepwise method Modern Model Selection Methods Quantile-Quantile plot and tests for normality

A Study determining the Consumption Pattern for Milk. Priti Bhanushali, Payal Bhanushali and Prof.Donna Sebastian

Research Methods 1 Handouts, Graham Hole,COGS - version 1.0, September 2000: Page 1:

Sheila Barron Statistics Outreach Center 2/8/2011

Something to think about. What happens, however, when we have a sample with less than 30 items?

SAMPLE SIZE AND POWER

SPSS output for 420 midterm study

The Steps for Research process THE RESEARCH PROCESS: THEORETICAL FRAMEWORK AND HYPOTHESIS DEVELOPMENT. Theoretical Framework

Chapter 14. Inference for Regression Inference about the Model 14.1 Testing the Relationship Signi!cance Test Practice

Day 11: Measures of Association and ANOVA

STA 3024 Spring 2013 EXAM 3 Test Form Code A UF ID #

Creative Commons Attribution-NonCommercial-Share Alike License

JDM A STUDY ON EUSTRESS AT WORK (WITH REFERENCE TO LOW AND MIDDLE LEVEL EMPLOYEES)

Unit 1 Exploring and Understanding Data

CHAPTER ONE CORRELATION

1 The conceptual underpinnings of statistical power

Chapter 9. Factorial ANOVA with Two Between-Group Factors 10/22/ Factorial ANOVA with Two Between-Group Factors

SUMMER 2011 RE-EXAM PSYF11STAT - STATISTIK

Intro to SPSS. Using SPSS through WebFAS

Readings: Textbook readings: OpenStax - Chapters 1 11 Online readings: Appendix D, E & F Plous Chapters 10, 11, 12 and 14

Where does "analysis" enter the experimental process?

FORM C Dr. Sanocki, PSY 3204 EXAM 1 NAME

Previously, when making inferences about the population mean,, we were assuming the following simple conditions:

Small Group Presentations

Alcohol Consumption Among YSU Students Statistics 3717, CC:2290 Elia Crisucci, Major in Biology Tracy Hitesman. Major in Biology Melissa Phillipson,

FRESH FRUIT JUICES-A STUDY ON CONSUMER PREFERENCE AND DEMOGRAPHIC PROFILING

Homework Assignment Section 2

LAB ASSIGNMENT 4 INFERENCES FOR NUMERICAL DATA. Comparison of Cancer Survival*

Constructing a Bivariate Table:

SPSS output for 420 midterm study

ANOVA. Thomas Elliott. January 29, 2013

Evaluating Social Programs Course: Evaluation Glossary (Sources: 3ie and The World Bank)

Levene Statistic df1 df2 Sig

Variables Research involves trying to determine the relationship between two or more variables.

Basic Statistics and Data Analysis in Work psychology: Statistical Examples

RESULTS. Chapter INTRODUCTION

A SAS Macro to Investigate Statistical Power in Meta-analysis Jin Liu, Fan Pan University of South Carolina Columbia

ANOVA in SPSS (Practical)

Doing Quantitative Research 26E02900, 6 ECTS Lecture 6: Structural Equations Modeling. Olli-Pekka Kauppila Daria Kautto

Describe what is meant by a placebo Contrast the double-blind procedure with the single-blind procedure Review the structure for organizing a memo

Research Methodology. Characteristics of Observations. Variables 10/18/2016. Week Most important know what is being observed.

Chapter 13: Introduction to Analysis of Variance

Basic Concepts in Research and DATA Analysis

The Effect of Sitagliptin on Carotid Artery Atherosclerosis in Type 2 Diabetes. Literature Review and Data Analysis. Megan Rouse

CHAPTER 3 RESEARCH METHODOLOGY

Hypothesis testing: comparig means

STATISTICS - CLUTCH CH.11: HYPOTHESIS TESTING: PART 1.

Transcription:

Instructions for doing two-sample t-test in Excel (1) If you do not see Data Analysis in the menu, this means you need to use Add-ins and make sure that the box in front of Analysis ToolPak is checked. Instructions on how to use Add-ins are in Assignments. (2) Go to Data Analysis t-test: Two Sample Assuming Equal Variances in menu. [If you know that the variances are not equal, then you may use the t-test that assumes unequal variances. The problem of heteroscedasticity (unequal variances) is beyond the scope of this course so let s assume equal variances.] (3) You will have to indicate where the two variables are located, e.g., b5:b17 and d5:d18. Variable 1 Range: b5:b17 Variable 2 Range: d5:d18 The default is Alpha =.05 so leave this alone. You have to indicate where you want the output to appear. You will probably want the output to appear either on the same page or on another worksheet. If you want the output to appear on the same page, then check the circle in front of Output Range and indicate where the output should go. If the data appear in rows, say, b5: b17 and d5:d18, then your output should not appear in the first 18 rows. I would indicate a19 next to Output Range. Of course, you can check the circle in front of New Worksheet Ply and your output will appear on another worksheet. This may be a good idea if you are afraid that the output is too large to appear on the same page as the input. Example: A researcher wants to determine which drug is more effective against lung cancer. A total of 27 patients have been randomly assigned to two groups. The data represents how many years each patient lived after taking the drug. Drug X Drug Y 3 6 4 5 6 7 5 9 7 3 2 5 1 5 4 8 8 6 2 4 6 5 4 7 3 8 12

t-test: Two-Sample Assuming Equal Variances Variable 1 Variable 2 Mean 4.230769231 6.428571429 Variance 4.358974359 5.340659341 Observations 13 14 Pooled Variance 4.869450549 Hypothesized Mean Difference 0 df 25 t Stat -2.58584468 P(T<=t) one-tail 0.007965466 t Critical one-tail 1.708140189 P(T<=t) two-tail 0.015930932 t Critical two-tail 2.05953711 Those taking Drug X live, on average, another 4.23 years and those taking Drug Y live another 6.43 years longer. If Drug Y costs considerably more, it makes sense to test in order to make sure that we are not looking at sampling error. The t-test is significant; the t-value is 2.5858. The critical value (two-tail test) is 2.0595. The probability of getting the sample evidence (the input data) is.015953711. In other words, there is less than a 2% chance of getting the sample evidence if the null hypothesis (that the two groups have equal population means) is true. Therefore, we reject H 0 if we are testing at the.05 level. Individuals taking Drug Y will live longer than those taking Drug X.

Women Men t-test: Two-Sample Assuming Equal Variances $100.00 $107.00 $250.00 $240.00 $890.00 $880.00 $765.00 $770.00 $456.00 $409.00 $356.00 $500.00 $876.00 $800.00 $740.00 $900.00 $231.00 $1,000.00 $222.00 $489.00 $555.00 $800.00 $666.00 $890.00 $876.00 $770.00 $10.00 $509.00 $290.00 $100.00 $98.00 $102.00 $56.00 $134.00 Variable 1 Variable 2 Mean 437.4705882 552.9412 Variance 97784.13971 104221.6 Observations 17 17 Pooled Variance 101002.8493 Hypothesized Mean Difference 0 df 32 t Stat -1.05928794 P(T<=t) one-tail 0.148699644 t Critical one-tail 1.693888407 P(T<=t) two-tail 0.297399288 t Critical two-tail 2.036931619 A marketer wants to determine whether men and women spend different amounts on wine. (It is well known that men spend considerably more on beer.) A researcher decides to test this. She randomly samples 34 people (17 women and 17 men) and finds that the average amount spent on wine (in a year) by women is $437.47. The average amount spent by men is $552.94. Given the Excel printout above, is the difference statistically significant? Answer: If a two-tail test was done, the probability of getting the sample evidence given that there is no difference in the population means of job satisfaction scores for men and women is.30 (rounded from.297399288). In another words, if men and women spend the same on wine, there is a 30% chance of getting the sample evidence we obtained. Statisticians usually test at an alpha of.05 so we do not have evidence to reject the null hypothesis. Conclusion: There is no statistically significant difference between men and women on how much they spend on wine consumption. The calculated t-statistic is -1.059287941. Why is it negative? Answer: The amount spent on wine by women is less than that spent by men (although the difference is not statistically significant). If you make men the first variable the t-value will be positive but the results will be exactly the same (the t-distribution is symmetric). What would the calculated t-value have to be for us to reject it?

Answer: If a two-tail test is being done, the critical value of t is 2.036931619. To reject the null hypothesis, we would need a calculated t-value of more than 2.036931619 or less than -2.036931619.

t-test: Two-Sample Assuming Equal Variances Men Women 7 1 8 10 6 3 5 4 6 1 5 1 6 2 9 3 8 5 1 4 7 3 2 5 4 6 6 4 7 2 8 5 9 1 7 4 Variable 1 Variable 2 Mean 6.166666667 3.555555556 Variance 4.735294118 5.08496732 Observations 18 18 Pooled Variance 4.910130719 Hypothesized Mean Difference 0 df 34 t Stat 3.53508679 P(T<=t) one-tail 0.000599612 t Critical one-tail 1.690923455 P(T<=t) two-tail 0.001199224 t Critical two-tail 2.032243174 A company has been accused by some employees of not treating women well. The company makes the claim that job satisfaction is the same for men and women at the firm. A researcher decides to test this. She randomly samples 36 employees (18 men and 18 women) and asks them to complete a job satisfaction attitude scale. Scores on this attitude scale range from a low of 0 ( not at all satisfied ) to a high of 10 ( extremely satisfied ). The average job satisfaction score for men is 6.17 (rounded) and 3.56 for women. The company claims that a sample of 36 is quite small given the fact that 5,000 people work at the company and they are asserting that the difference is entirely due to sampling error. Given the Excel printout above, what do you think? Answer: If a two-tail test was done, the probability of getting the sample evidence given that there is no difference in the population means of job satisfaction scores for men and women is.0012. In another words, if men and women feel the same about working in this firm, there is only 12 chances out of 10,000 of getting the sample evidence we obtained. Statisticians usually test at an alpha of.05 so we are going to reject the null hypothesis.

Conclusion: There is a statistically significant difference between the average job satisfaction scores of men and women at this firm.