Sociology 301. Hypothesis Testing + t-test for Comparing Means. Hypothesis Testing. Hypothesis Testing. Liying Luo 04.14

Similar documents
Some Review and Hypothesis Tes4ng. Friday, March 15, 13

z-scores z-scores z-scores and the Normal Distribu4on PSYC 300A - Lecture 3 Dr. J. Nicol

Data Processing Techniques

AMS7: WEEK 7. CLASS 1. More on Hypothesis Testing Monday May 11th, 2015

EXAM 3 Math 1342 Elementary Statistics 6-7

POLI 443 Applied Political Research

HYPOTHESIS TESTING. Hypothesis Testing

Soc 3811 Basic Social Statistics Second Midterm Exam Spring Your Name [50 points]: ID #: ANSWERS

Inferential statistics

CIVL /8904 T R A F F I C F L O W T H E O R Y L E C T U R E - 8

Linear Regression and Correla/on. Correla/on and Regression Analysis. Three Ques/ons 9/14/14. Chapter 13. Dr. Richard Jerz

Linear Regression and Correla/on

Statistical Inference for Means

Hypothesis testing. Data to decisions

7.2 One-Sample Correlation ( = a) Introduction. Correlation analysis measures the strength and direction of association between

Analysis of Variance (ANOVA)

Acknowledge error Smaller samples, less spread

Statistical Inference. Why Use Statistical Inference. Point Estimates. Point Estimates. Greg C Elvers

Single Sample Means. SOCY601 Alan Neustadtl

Study Ch. 9.3, #47 53 (45 51), 55 61, (55 59)

10/4/2013. Hypothesis Testing & z-test. Hypothesis Testing. Hypothesis Testing

Tests about a population mean

Visual interpretation with normal approximation

Inferences About Two Proportions

Chapter 9. Inferences from Two Samples. Objective. Notation. Section 9.2. Definition. Notation. q = 1 p. Inferences About Two Proportions

Last two weeks: Sample, population and sampling distributions finished with estimation & confidence intervals

Correla'on. Keegan Korthauer Department of Sta's'cs UW Madison

T- test recap. Week 7. One- sample t- test. One- sample t- test 5/13/12. t = x " µ s x. One- sample t- test Paired t- test Independent samples t- test

CHAPTER 9: HYPOTHESIS TESTING

STAT Chapter 8: Hypothesis Tests

An inferential procedure to use sample data to understand a population Procedures

Problem Set 4 - Solutions

An Analysis of College Algebra Exam Scores December 14, James D Jones Math Section 01

Last week: Sample, population and sampling distributions finished with estimation & confidence intervals

A3. Statistical Inference

PSY 305. Module 3. Page Title. Introduction to Hypothesis Testing Z-tests. Five steps in hypothesis testing

Chapter 23. Inferences About Means. Monday, May 6, 13. Copyright 2009 Pearson Education, Inc.

Chapter 9 Inferences from Two Samples

T-Test QUESTION T-TEST GROUPS = sex(1 2) /MISSING = ANALYSIS /VARIABLES = quiz1 quiz2 quiz3 quiz4 quiz5 final total /CRITERIA = CI(.95).

Quantitative Analysis and Empirical Methods

Section 9 1B: Using Confidence Intervals to Estimate the Difference ( p 1 p 2 ) in 2 Population Proportions p 1 and p 2 using Two Independent Samples

Inferential Statistics

Simple Linear Regression: One Qualitative IV

Inferences for Regression

5 Basic Steps in Any Hypothesis Test

The point value of each problem is in the left-hand margin. You must show your work to receive any credit, except on problems 1 & 2. Work neatly.

One- factor ANOVA. F Ra5o. If H 0 is true. F Distribu5on. If H 1 is true 5/25/12. One- way ANOVA: A supersized independent- samples t- test

Example. χ 2 = Continued on the next page. All cells

Probability and Statistics

T.I.H.E. IT 233 Statistics and Probability: Sem. 1: 2013 ESTIMATION AND HYPOTHESIS TESTING OF TWO POPULATIONS

STAT 515 fa 2016 Lec Statistical inference - hypothesis testing

Confidence Interval Estimation

9-6. Testing the difference between proportions /20

Introduction to Business Statistics QM 220 Chapter 12

Section 9.4. Notation. Requirements. Definition. Inferences About Two Means (Matched Pairs) Examples

Statistics Primer. ORC Staff: Jayme Palka Peter Boedeker Marcus Fagan Trey Dejong

Chapter 7 Comparison of two independent samples

Descriptive Statistics. Population. Sample

9.5 t test: one μ, σ unknown

Sampling Distributions

Business Statistics: Lecture 8: Introduction to Estimation & Hypothesis Testing

Sampling, Confidence Interval and Hypothesis Testing

Class 24. Daniel B. Rowe, Ph.D. Department of Mathematics, Statistics, and Computer Science. Marquette University MATH 1700

Chapter 22. Comparing Two Proportions. Bin Zou STAT 141 University of Alberta Winter / 15

The Central Limit Theorem

Questions 3.83, 6.11, 6.12, 6.17, 6.25, 6.29, 6.33, 6.35, 6.50, 6.51, 6.53, 6.55, 6.59, 6.60, 6.65, 6.69, 6.70, 6.77, 6.79, 6.89, 6.

Sta$s$cal Significance Tes$ng In Theory and In Prac$ce

Dover- Sherborn High School Mathematics Curriculum Probability and Statistics

The Purpose of Hypothesis Testing

Hypothesis for Means and Proportions

Chapter 7: Hypothesis Testing - Solutions

χ test statistics of 2.5? χ we see that: χ indicate agreement between the two sets of frequencies.

INTERVAL ESTIMATION AND HYPOTHESES TESTING

Solution: First note that the power function of the test is given as follows,

Statistics for Managers Using Microsoft Excel/SPSS Chapter 8 Fundamentals of Hypothesis Testing: One-Sample Tests

Inferences About Two Population Proportions

Two-Sample Inferential Statistics

Difference between means - t-test /25

ME3620. Theory of Engineering Experimentation. Spring Chapter IV. Decision Making for a Single Sample. Chapter IV

Soc3811 Second Midterm Exam

Hypothesis Tests and Estimation for Population Variances. Copyright 2014 Pearson Education, Inc.

The t-statistic. Student s t Test

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

PSY 216. Assignment 9 Answers. Under what circumstances is a t statistic used instead of a z-score for a hypothesis test

CH.9 Tests of Hypotheses for a Single Sample

TA: Sheng Zhgang (Th 1:20) / 342 (W 1:20) / 343 (W 2:25) / 344 (W 12:05) Haoyang Fan (W 1:20) / 346 (Th 12:05) FINAL EXAM

Class Notes. Examining Repeated Measures Data on Individuals

Psychology 282 Lecture #4 Outline Inferences in SLR

16.3 One-Way ANOVA: The Procedure

hypothesis a claim about the value of some parameter (like p)

MBA 605, Business Analytics Donald D. Conant, Ph.D. Master of Business Administration

MATH 240. Chapter 8 Outlines of Hypothesis Tests

10.2: The Chi Square Test for Goodness of Fit

Section 10.1 (Part 2 of 2) Significance Tests: Power of a Test

Spearman Rho Correlation

Inference About Two Means: Independent Samples

10.1. Comparing Two Proportions. Section 10.1

Statistics for IT Managers

Psych 230. Psychological Measurement and Statistics

One-Way ANOVA. Some examples of when ANOVA would be appropriate include:

Transcription:

Sociology 301 Hypothesis Testing + t-test for Comparing Means Liying Luo 04.14 Hypothesis Testing 5. State a technical decision and a substan;ve conclusion Hypothesis Testing A random sample of 100 UD students. Their mean GPA = 3.2. Example 1: If the true mean GPA of all UD students is below 3.0, how likely we would observe a mean of 3.2 in a random sample? Example 2: If the true mean GPA of all UD students is 3.0, how likely we would observe a mean of 3.2 in a random sample?

Hypothesis Testing: 1. State the hypotheses A random sample of 100 UD students. Their mean GPA = 3.2. Example 1: H 0: UDel mean GPA is below 3.00 H 1: UDel mean GPA is 3.00 or higher H0: μ<3.00 H1: μ 3.00 Example 2: H 0: UDel mean GPA is 3.00 H 1: UDel mean GPA is not equal to 3.00 H0: μ=3.00 H1: μ 3.00 Hypothesis Testing: 2. Choose an alpha level and determine the critical value One-tail hypothesis Two-tail hypothesis Cri$cal Value: the minimum value of a distribu;on necessary to designate an alpha area, i.e., how large the test sta;s;c must be in order to reject the null hypothesis at the given a level. Hypothesis Testing: 2. Choose an alpha level and determine the critical value The cri;cal value depends on your choice of alpha level and the type of hypothesis (one-tail vs. two-tail). Z α denotes the cri;cal value for a one-tail test. Z α/2 denotes the cri;cal value for a two-tail test. Choose an alpha level and iden;fy the cri;cal value for the following tests Example 1: H 0: UDel mean GPA is below 3.00 H 1: UDel mean GPA is 3.00 or higher H0: μ<3.00 H1: μ 3.00 Example 2: H 0: UDel mean GPA is 3.00 H 1: UDel mean GPA is not equal to 3.00 H0: μ=3.00 H1: μ 3.00

Hypothesis Testing: 3. Compute a test statistic When the popula;on standard devia;on σ is known, use Z test. Hypothesis Testing: 3. Compute a test statistic Suppose that the standard devia;on for the popula;on is σ=0.5. What is the Z-score of a sample mean = 3.2 with sample size n = 100? Example 1: H 0: UDel mean GPA is below 3.00 H 1: UDel mean GPA is 3.00 or higher H0: μ<3.00 H1: μ 3.00 Example 2: H 0: UDel mean GPA is 3.00 H 1: UDel mean GPA is not equal to 3.00 H0: μ=3.00 H1: μ 3.00 Hypothesis Testing: 4. Make a decision by comparing the test statistic to the critical value Rule: reject H 0 if the absolute value of your test sta;s;c is larger than the cri;cal value Z > Z α/2 or Z α One-tail Two-tail

Hypothesis Testing: 4. Make a decision by comparing the test statistic to the critical value Rule: reject H 0 if the absolute value of your test sta;s;c is larger than the cri;cal value Z > Z α/2 or Z α Suppose that the standard devia;on for the popula;on is σ=0.5. What is the Z-score of a sample mean = 3.2 with sample size n = 100? Example 1: H 0: UDel mean GPA is below 3.00 H 1: UDel mean GPA is 3.00 or higher H0: μ<3.00 H1: μ 3.00 Example 2: H 0: UDel mean GPA is 3.00 H 1: UDel mean GPA is not equal to 3.00 H0: μ=3.00 H1: μ 3.00 Hypothesis Testing: 5. State your conclusion Technically: At that alpha level, we reject or fail to reject H 0. Substan;vely: At that alpha level, we do or do not sufficient evidence to conclude that Suppose that the standard devia;on for the popula;on is σ=0.5. What is the Z-score of a sample mean = 3.2 with sample size n = 100? Example 1: H 0: UDel mean GPA is below 3.00 H 1: UDel mean GPA is 3.00 or higher H0: μ<3.00 H1: μ 3.00 Example 2: H 0: UDel mean GPA is 3.00 H 1: UDel mean GPA is not equal to 3.00 H0: μ=3.00 H1: μ 3.00 Hypothesis Testing: Steps 5. State a technical decision and a substan;ve conclusion

Example 3 In 2007 the U.S. Na;onal Transporta;on Safety Board set a 5-year goal of having more than 95% of all American drivers use their seatbelts. To see whether they are on target for mee;ng that goal, they randomly sampled 1,000 American drivers in 2012. They found that 962 or 96.2% of the 1,000 drivers they sampled use their seatbelts. 5. State a technical decision and a substan;ve conclusion Worksheet A veterinarian claims that 6% of cats have FIDS (Feline Immune Deficiency Syndrome). To evaluate this claim, researchers randomly sampled 320 cats They found that 26 or 8.1% of the 320 cats have FIDS. Is this evidence sufficient to confidently conclude that the popula;on propor;on of cats who have FIDS is different from 0.06? 5. State a technical decision and a substan;ve conclusion Hypothesis Testing When the popula;on standard devia;on σ is unknown, use t test.

Example 4 A 2001 census of penguins found that there were 12.1 penguins per square mile in Antarc;ca. Now researchers are interested in seeing how the size of the popula;on of penguins in Antarc;ca has changed. They randomly sampled 200 square mile sec;ons in Antarc;ca, and observed the number of penguins that lived on each sec;on. In their sample they observed a mean of 11.7 penguins per square mile, with s Y=2.3 penguins. Is this evidence sufficient to confidently conclude that the size of the penguin popula;on has changed? 5. State your decision t-test for Comparing Means one-sample hypothesis test: make inferences about one popula;on two-sample hypothesis test: make inferences about two popula;on t-test for comparing means: very similar to one-sample t-test different formulas for standard errors t-test for Comparing Means Basic ques;on: Are the two (or more) groups different? Example: beer preference between east coasters and west coasters gender wage gap difference in sleep ;me across ethnic groups

t-test for Comparing Means Basic ques;on: Are the two (or more) groups different in their means? The difference between two independent samples S sta;s;c and the Central Limit Theorem applies. is a sample It means that is normally distributed with mean and standard error of t-test for Comparing Means Basic ques;on: How likely to observe such a difference if the true popula;on means do not differ? That is, is there a sta$s$cally significant difference? t-test for Comparing Means Research ques;on: Do women have higher vocabulary scores than men? For the vocabulary test in General Social Survey Is the difference sta;s;cally significant?

t-test for Comparing Means: Steps 5. State a technical decision and a substan;ve conclusion Comparing Means: 1. State the Null and Research Hypotheses Basic ques;on: Are the two (or more) groups different? One-tail test: H 0: μ 1 - μ 2 0 or μ 1 - μ 2 0 H 1: μ 1 - μ 2 > 0 or μ 1 - μ 2 < 0 Two-tail test: H 0: μ 1 - μ 2 = 0 H 1: μ 1 - μ 2 0 Comparing Means: 1. State the Null and Research Hypotheses Do women have higher vocabulary scores than men? One-tail or two-tail test?

Comparing Means: 1. State the Null and Research Hypotheses Do women have higher vocabulary scores than men? One-tail or two-tail test? H 0: Women have equal or lower vocabulary scores than men. H 1: Women have higher vocabulary scores than men. H 0: μ w - μ m 0 H 1: μ w - μ m > 0 Comparing Means: 2. Decide the Alpha Level and Critical Value alpha level: the probability of making Type I Error Let s use α = 0.05. The cri;cal value depends on your choice of alpha level and the type of hypothesis (one-tail vs. two-tail). For large samples (n>50) Comparing Means: 2. Decide the Alpha Level and Critical Value alpha level: the probability of making Type I Error Let s use α = 0.05. The cri;cal value depends on your choice of alpha level and the type of hypothesis (one-tail vs. two-tail). For large samples (n>50) for the GSS vocabulary example

Comparing Means: 2. Decide the Alpha Level and Critical Value Do women have higher vocabulary scores than men? α = 0.05 and Z α= 1.65 Comparing Means: 3. Compute the Test Statistic According to the Central Limit Theorem, when popula;on standard devia;on σ is known, test sta;s;c: Comparing Means: 3. Compute the Test Statistic According to the Central Limit Theorem, when popula;on standard devia;on σ is unknown, test sta;s;c:

Comparing Means: 3. Compute the Test Statistic For the vocabulary test in GSS Comparing Means: 4. Compare the Test Statistic to the Critical Value Rule: reject H 0 if the absolute value of your test sta;s;c is larger than the cri;cal value. For the vocabulary test in GSS compare t to 1.65 Comparing Means: 5. State the Conclusion For the vocabulary test in GSS At the 0.05 level, we reject the null hypothesis. At the 0.05 level, we have sufficient evidence to conclude that women have beter vocabularies than men.