Hypothesis Testing. Concept of Hypothesis Testing

Size: px
Start display at page:

Download "Hypothesis Testing. Concept of Hypothesis Testing"

Transcription

1 Quantitative Methods 2013 Hypothesis Testing with One Sample 1 Concept of Hypothesis Testing Testing Hypotheses is another way to deal with the problem of making a statement about an unknown population parameter, based on a random sample. Instead of finding an estimate for the parameter, we can often find it convenient to hypothesize a value for it and then use the information from the sample to confirm or refute the hypothesized value. 2

2 A hypothesis is a judgment about the population parameter based simply on an assumption or intuition with no concrete backup information or analysis. For example: population mean The mean monthly cell phone bill in Haifa is μ $42 3 Hypothesis testing Hypothesis testing is the comparison of the analyst's belief or claim about a population parameter to the corresponding sample statistic and deciding whether or not the belief or claim about the population parameter is correct. 4

3 Example: Filling of soft drink bottles in a bottling plant. Managers have the belief that the machine is filling 1L bottles with 1L of the soft drink. This belief is tested by drawing a sample of filled bottles, measuring the amount of soft drink in each, finding the mean and variance of the amount of soft drink in sample of bottles, comparing this amount with the 1L belief, and finally deciding whether the information from the sample supports or refutes the 1L belief. 5 Stating a Hypothesis The Null Hypothesis, H 0 This is the hypothesis or claim that is initially assumed to be true. It is what is believed to be, presumed to be, or accepted as true and correct without any evidentiary support. In the bottling scenario, managers believe the machine is filling the bottles correctly even though they have no evidence to support that belief. The null hypothesis in that case is that the bottling machine is functioning correctly. 6

4 The Null Hypothesis, H 0 Example: The average number of TV sets in U.S. homes is equal to three ( H 0 : µ = 3) Always contains =, or sign. Is always about a population parameter, not about a sample statistic H 0 : µ = 3 H 0 : X = 3 7 The Alternative Hypothesis, H 1, (H a ) This is the hypothesis or claim which we initially assume to be false but which we may decide to accept if there is sufficient evidence. In the bottling scenario, managers will not believe the machine is filling the bottles incorrectly unless they have evidence to support that belief. It is the sample which provides this evidence. The alternative hypothesis in that case is that the bottling machine is not functioning correctly. 8

5 The Alternative Hypothesis, H 1, (H a ) Is the opposite (the complement) of the null hypothesis e.g., The average number of TV sets in U.S. homes is not equal to 3 ( H 1 : μ 3 ) Never contains the =, or sign 9 This procedure is familiar to us already from the legal system: Innocent until proven guilty. The Null Hypothesis (Innocent) is only rejected in favor of the Alternative Hypothesis (Guilty) if there is sufficient evidence of this. 10

6 Example: A weight loss company claims its product, when used as directed, will lead to at least 10 kilograms of weight loss within 45 days. A consumer protection agency wants to verify the company's claim in order to protect the public from fraud. What is the hypothesis statement the agency director should use? 11 Since the consumer protection agency wants evidence that the weight loss product does not performs as claimed, yields less than 10 kg of weight loss. The entire hypothesis statement is: H 0 : µ 10kg H a : µ < 10kg Complement of the null hypothesis 12

7 Rejection Regions One way of performing a Hypothesis test is to compute a rejection region. If we find that our sample statistic is in this region then we reject our Null Hypothesis. 13 What is important is the idea that the rejection region is a region far away from our Null hypothesis. And that it is unlikely that we would observe a sample with a value of the sample statistic (for example the sample mean) this far away from the Null Hypothesised value if that Null Hypothesis was true. X 14

8 For example in a class of 100 people. Suppose our Null Hypothesis is that the average age of the whole class is 31. Ho: the population mean age is 31. H 0 : µ = 31 H a : µ If we took a sample from our population and the average age is 33 year we might say that average age of the population is not significantly different from 35. In this case we would accept the Null Hypothesis as being correct. However, suppose we now observe a value of 20 in a sample we have randomly chosen. That s very unlikely to have happened by chance if our Null Hypothesis was true. It s much more likely that our Null Hypothesis is false. 16

9 So we decide to reject our Null Hypothesis in favour of an alternative, which is that the true average age of the whole class is different from 31 years. = 20 Is X likely if μ = 31? Suppose the sample mean age is 20: X = 20 Random sample If not likely, REJECT Null Hypothesis 17 Sampling Distribution of X If the sample mean falls in this region we accept the null hypothesis 20 μ = 31 If H 0 is true X we reject the null hypothesis that μ = 31 if sample mean falls in either of these regions. 18

10 Rejection Regions and Critical Values A rejection region (or critical region) of the sampling distribution is the range of values for which the null hypothesis is not probable. A critical value separates the rejection region from the nonrejection region. 19 Level of Significance, α defines the unlikely values of the sample statistic if the null hypothesis is true. Defines rejection region of the sampling distribution α Typical values are 0.01, 0.05, or

11 Level of Significance, α is selected by the researcher at the beginning α By setting the level of significance at a small value, you are saying that you want the probability of rejecting a true null hypothesis to be small. Provides the critical value(s) of the test. 21 There are three types of hypothesis tests a left-, right-, or two-tailed test. The type of test depends on the region of the sampling distribution that favors a rejection of H 0. This region is indicated by the alternative hypothesis. α /2 α /2 α α 0 22

12 Level of significance = α Represents critical value. Left tailed Test 1. If the alternative hypothesis contains the less than inequality symbol (<), the hypothesis test is a left tailed test. H 0 : μ k H 1 : μ < k α 0 23 Right-tailed Test 2. If the alternative hypothesis contains the greater than symbol (>), the hypothesis test is a right tailed test. H 0 : μ k H a : μ > k 0 α 24

13 Two-tailed Test 3. If the alternative hypothesis contains the not equal to symbol ( ), the hypothesis test is a two tailed test. In a two tailed test, each tail has an area of α/2. H 0 : μ = k H 1 : μ k α /2 α /2 25 Statistical Tests After stating the null and alternative hypotheses and specifying the level of significance, a random sample is taken from the population and sample statistics are calculated. The statistic that is compared with the parameter in the null hypothesis is called the test statistic. A test statistic tells us how far, or how many standard deviations, a sample mean is from the population mean. The larger the value of the test statistic, the further the distance, or number of standard deviations, a sample mean is from the population mean stated in the null hypothesis. 26

14 If the population standard deviation is known, and the population is (approx.) Normally distributed then the test statistic, is, x µ z = σ n μ is the hypothesized population mean. X is the sample mean. σx is the population standard deviation. n is the sample size. σ n is the standard error. z, is how many standard errors, the observed sample mean is from the hypothesized mean. 27 If the population standard deviation is unknown then the only standard deviation we can determine is the sample standard deviation, s. This value of s can be considered an estimate of the population standard deviation. If the sample size is more than 30 we can use Normal Distribution. x µ z = s n Central Limit Theorem 28

15 Example: Find the critical value and rejection region for a right tailed test with α = 0.5% z The rejection region is to the right of z 0 = Decision Rule Based on Rejection Region To use a rejection region to conduct a hypothesis test, calculate the test statistic, z. If the test statistic 1. is in the rejection region, then reject H is not in the rejection region, then fail to reject H 0. Fail to reject H o. 0 z 0 Right-Tailed Test Reject H o. z z > z 0 30

16 Fail to reject H o. Reject H o. Reject H o. z z < z 0 z > z 0 z 0 0 Two-Tailed Test z 0 Fail to reject H o. Reject H o. z z < z 0 z 0 0 Left-Tailed Test 31 Hypothesis Testing Example Test the claim that the true mean # of TV sets in US homes is equal to 3. (Assume σ = 0.8) 1. State the appropriate null and alternative hypotheses H 0 : μ = 3 H 1 : μ 3 (This is a two tail test) 2. Specify the desired level of significance and the sample size Suppose that α = 0.05 and n = 100 are chosen for this test 32

17 3. Determine the appropriate technique σ is known, so this is a Z test. 4. Determine the critical values At a significance level of 5% for the test of a difference there is 2.5% in each tail. Using function NORMSINV in Excel this gives a critical value of z of Collect the data and compute the test statistic Suppose the sample results are n = 100, X = 2.84 (σ = 0.8 is assumed known) So the test statistic is: Z = X µ σ n = = =

18 6. Is the test statistic in the rejection region? α = 0.05/2 α = 0.05/2 Reject H 0 if Z < 1.96 or Z > 1.96; otherwise do not reject H 0 Reject H 0 Do not reject H 0 Z= Here, Z = 2.0 < 1.96, so the test statistic is in the rejection region +Z= Reject H 0 35 Since Z = 2.0 < 1.96, we reject the null hypothesis and conclude that there is sufficient evidence that the mean number of TVs in US homes is not equal to 3. 36

19 Connection to Confidence Intervals For X = 2.84, σ = 0.8 and n = 100, the 95% confidence interval is: (1.96) to (1.96) [2.6832, ] Since this interval does not contain the hypothesized mean (3.0), we reject the null hypothesis at α = Example: A local telephone company believes that the average length of a phone call is 8 minutes. H 0 : µ = 8 H a : µ 8 In a random sample of 58 phone calls, the sample mean was 7.8 minutes and the standard deviation was 0.5 minutes. Is there enough evidence to reject the Null at α = 0.05? 38

20 z z 0 = z 0 = 1.96 At a significance level of 5% for the test of a difference there is 2.5% in each tail. Using function NORMSINV in Excel this gives a critical value of z of z z 0 = z 0 = 1.96 The standardized test statistic is x µ z = = σ n The test statistic falls in the rejection region, so H 0 is rejected. At the 5% level of significance, there is enough evidence to reject the claim that the average length of a phone call is 8 minutes. 40

21 Example: Right Tail Z Test for Mean A phone industry manager thinks that customer monthly cell phone bills have increased, and now average over $52 per month. The company wishes to test this claim. (Assume σ = 10 is known) Form hypothesis test: H 0 : μ 52 H 1 : μ > 52 the average is not over $52 per month the average is greater than $52 per month (i.e., sufficient evidence exists to support the manager s claim) 41 Suppose that α = 0.10 is chosen for this test Find Rejection Region α = For a one tail test, at a significance level of 10% for the test there is 10% in the right tail. The area of the curve for the upper level is 100% 10% or 90.00%. Using [function NORMSINV] in Excel this gives a critical value of z of

22 Find Rejection Region Reject H 0 α = 0.10 Do not reject H Reject H 0 Reject H 0 if Z > Obtain sample and compute the test statistic Suppose a sample is taken with the following results: n = 64, X = 53.1 (σ=10 was assumed known) Then the test statistic is: X µ Z = = = 0.88 σ 10 n 64 44

23 Reach a decision and interpret the result: Reject H 0 α = 0.10 Do not reject H 0 0 Z = Reject H 0 Do not reject H 0 since Z = i.e.: there is not sufficient evidence that the mean bill is over $52 45 t-test for a Mean µ (n < 30, σ Unknown) The t-test can be used when the population is normal or nearly normal, σ is unknown, and n < 30. t = x µ s n The degrees of freedom are d.f. = n 1. 46

24 Example: Find the critical values t 0 and t 0 for a two tailed test given α = 0.10 and n = 12. The degrees of freedom are d.f. = n 1 = 12 1 = 11. Because the test is a two tail test, one critical value is negative and one is positive. t 0 = and t 0 = Example: Find the critical value t 0 for a right tailed test given α = 0.05 and n = 11. The degrees of freedom are d.f. = n 1 = 11 1 = 10. Because the test is a right tail test, the critical value is positive. Using function TINV from Excel the t value is t 0 =

25 TINV function returns the two tailed inverse of the t distribution. A one tailed t value can be returned by replacing probability with 2*probability. For a probability of 0.05 and degrees of freedom of 10, the two tailed value is calculated with TINV(0.05,10), which returns The one tailed value for the same probability and degrees of freedom can be calculated with TINV(2*0.05,10), which returns Example: The average cost of a hotel room in Tel Aviv is said to be $168 per night. A random sample of 25 hotels resulted in X = $ and S = $ Test at the α = 0.05 level. (Assume the population distribution is normal) H 0 : μ = 168 H 1 : μ

26 α = 0.05 n= 25 σ is unknown, n<30 so use a t statistic Critical Value: t 24 = ± α/2=.025 α/2=.025 Reject H 0 Reject H t 0 n 1,α/2 Do not reject H 0 t n 1,α/ X µ S tn 1 = = = n α/2=.025 α/2=.025 Reject H 0 Reject H t 0 n 1,α/2 Do not reject H 0 t n 1,α/ Do not reject H 0 : not sufficient evidence that true mean cost is different than $168 52

27 Connection to Confidence Intervals For X = 172.5, S = and n = 25, the 95% confidence interval is: (2.0639) 15.4/ 25 to (2.0639) 15.4/ 25 [166.14,178.86] Since this interval contains the Hypothesized mean (168), we do not reject the null hypothesis at α = Example: A certain country has made its budget on the bases that the average individual average tax payments for the year will be $30,000. The financial controller takes a random sample of annual tax returns and these amounts in dollars are as follows. 34,000 12,000 16,000 10,000 2,000 39,000 7,000 72,000 24,000 15,000 19,000 12,000 23,000 14,000 6,000 43,000 54

28 At a significance level, α, of 5% is there evidence that the average tax returns of the state will be different than the budget level of $30,000 in this year? The null and alternative hypotheses are as follows: Null hypothesis: H0: μ = $30,000. Alternative hypothesis: H1: μ $30,000. Since we have no information of the population standard deviation, and the sample size is less than 30, we use a t distribution (assuming the population is normally distributed). 55 Sample size, n, is 16. Degrees of freedom, (n 1) are 15. Using [function TINV] from Excel the t value is Therefore, ± are the critical values. From Excel, using [function AVERAGE]: Mean value of this sample data is $21,

29 From [function STDEV] in Excel, the sample standard deviation, s, is $17, Estimate of the standard error is, s 17, n = = 4, From equation the test statistic is, x µ t = = s n 57 Since the sample statistic, , is not less than the test statistic of , there is no reason to reject the null hypothesis and so we accept that there is no evidence that the average of all the tax receipts will be significantly different from $30,

30 Example: A local telephone company claims that the average length of a phone call is 8 minutes. In a random sample of 18 phone calls, the sample mean was 7.8 minutes and the standard deviation was 0.5 minutes. Is there enough evidence to reject this claim at α = 0.05? H 0 : µ = 8 H a : µ 8 The level of significance is α = The test is a two-tailed test. Degrees of freedom are d.f. = 18 1 = The critical values are t 0 = and t 0 = z The standardized test statistic is t = x µ = s n t 0 = t 0 = The test statistic falls in the nonrejection region, so H 0 is not rejected. At the 5% level of significance, there is not enough evidence to reject the claim that the average length of a phone call is 8 minutes. 60

31 6 Steps in Hypothesis Testing 1. State the null hypothesis, H 0 and the alternative hypothesis, H 1 2. Choose the level of significance, α, and the sample size, n 3. Determine the appropriate test statistic and sampling distribution 4. Determine the critical values that divide the rejection and nonrejection regions 61 6 Steps in Hypothesis Testing 5. Collect data and compute the value of the test statistic. 6. Make the statistical decision. If the test statistic falls into the nonrejection region, do not reject the null hypothesis H 0. If the test statistic falls into the rejection region, reject the null hypothesis. 62

32 APPENDIX 63 Types of Errors No matter which hypothesis represents the claim, always begin the hypothesis test assuming that the null hypothesis is true. At the end of the test, one of two decisions will be made: 1. reject the null hypothesis, or 2. fail to reject the null hypothesis. A Type I error occurs if the null hypothesis is rejected when it is true. A Type II error occurs if the null hypothesis is not rejected when it is false. 64

33 Decision Do not reject H 0 Reject H 0 Actual Truth of H 0 H 0 is true H 0 is false Correct Decision Type II Error Type I Error Correct Decision The probability of Type I Error is α 65 Example: The Haifa Technion claims that 94% of their graduates find employment within six months of graduation. What will a type I or type II error be? H 0 : p = 0.94 (Claim) H 1 : p 0.94 A Type I error is rejecting the null when it is true. The population proportion is actually 0.94, but is rejected. (We believe it is not 0.94.) A Type II error is failing to reject the null when it is false. The population proportion is not 0.94, but is not rejected. (We believe it is 0.94.) 66

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

Section 7.1. Introduction to Hypothesis Testing. Schrodinger s cat quantum mechanics thought experiment (1935) Section 7.1 Introduction to Hypothesis Testing Schrodinger s cat quantum mechanics thought experiment (1935) Statistical Hypotheses A statistical hypothesis is a claim about a population. Null hypothesis

More information

Hypothesis Testing --- One Mean

Hypothesis Testing --- One Mean Hypothesis Testing --- One Mean A hypothesis is simply a statement that something is true. Typically, there are two hypotheses in a hypothesis test: the null, and the alternative. Null Hypothesis The hypothesis

More information

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

Chapter 8 Hypothesis Testing Chapter 8 Hypothesis Testing 8-1 Overview 8-2 Basics of Hypothesis Testing Chapter 8 Hypothesis Testing 1 Chapter 8 Hypothesis Testing 8-1 Overview 8-2 Basics of Hypothesis Testing 8-3 Testing a Claim About a Proportion 8-5 Testing a Claim About a Mean: s Not Known 8-6 Testing

More information

Regression Analysis: A Complete Example

Regression Analysis: A Complete Example Regression Analysis: A Complete Example This section works out an example that includes all the topics we have discussed so far in this chapter. A complete example of regression analysis. PhotoDisc, Inc./Getty

More information

Introduction to Hypothesis Testing OPRE 6301

Introduction to Hypothesis Testing OPRE 6301 Introduction to Hypothesis Testing OPRE 6301 Motivation... The purpose of hypothesis testing is to determine whether there is enough statistical evidence in favor of a certain belief, or hypothesis, about

More information

Chapter 7 TEST OF HYPOTHESIS

Chapter 7 TEST OF HYPOTHESIS Chapter 7 TEST OF HYPOTHESIS In a certain perspective, we can view hypothesis testing just like a jury in a court trial. In a jury trial, the null hypothesis is similar to the jury making a decision of

More information

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

Introduction to. Hypothesis Testing CHAPTER LEARNING OBJECTIVES. 1 Identify the four steps of hypothesis testing. Introduction to Hypothesis Testing CHAPTER 8 LEARNING OBJECTIVES After reading this chapter, you should be able to: 1 Identify the four steps of hypothesis testing. 2 Define null hypothesis, alternative

More information

Business Statistics, 9e (Groebner/Shannon/Fry) Chapter 9 Introduction to Hypothesis Testing

Business Statistics, 9e (Groebner/Shannon/Fry) Chapter 9 Introduction to Hypothesis Testing Business Statistics, 9e (Groebner/Shannon/Fry) Chapter 9 Introduction to Hypothesis Testing 1) Hypothesis testing and confidence interval estimation are essentially two totally different statistical procedures

More information

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

Introduction to Hypothesis Testing. Hypothesis Testing. Step 1: State the Hypotheses Introduction to Hypothesis Testing 1 Hypothesis Testing A hypothesis test is a statistical procedure that uses sample data to evaluate a hypothesis about a population Hypothesis is stated in terms of the

More information

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

Lesson 1: Comparison of Population Means Part c: Comparison of Two- Means Lesson : Comparison of Population Means Part c: Comparison of Two- Means Welcome to lesson c. This third lesson of lesson will discuss hypothesis testing for two independent means. Steps in Hypothesis

More information

LAB 4 INSTRUCTIONS CONFIDENCE INTERVALS AND HYPOTHESIS TESTING

LAB 4 INSTRUCTIONS CONFIDENCE INTERVALS AND HYPOTHESIS TESTING LAB 4 INSTRUCTIONS CONFIDENCE INTERVALS AND HYPOTHESIS TESTING In this lab you will explore the concept of a confidence interval and hypothesis testing through a simulation problem in engineering setting.

More information

HYPOTHESIS TESTING: POWER OF THE TEST

HYPOTHESIS TESTING: POWER OF THE TEST HYPOTHESIS TESTING: POWER OF THE TEST The first 6 steps of the 9-step test of hypothesis are called "the test". These steps are not dependent on the observed data values. When planning a research project,

More information

22. HYPOTHESIS TESTING

22. HYPOTHESIS TESTING 22. HYPOTHESIS TESTING Often, we need to make decisions based on incomplete information. Do the data support some belief ( hypothesis ) about the value of a population parameter? Is OJ Simpson guilty?

More information

Introduction to Hypothesis Testing

Introduction to Hypothesis Testing I. Terms, Concepts. Introduction to Hypothesis Testing A. In general, we do not know the true value of population parameters - they must be estimated. However, we do have hypotheses about what the true

More information

A POPULATION MEAN, CONFIDENCE INTERVALS AND HYPOTHESIS TESTING

A POPULATION MEAN, CONFIDENCE INTERVALS AND HYPOTHESIS TESTING CHAPTER 5. A POPULATION MEAN, CONFIDENCE INTERVALS AND HYPOTHESIS TESTING 5.1 Concepts When a number of animals or plots are exposed to a certain treatment, we usually estimate the effect of the treatment

More information

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

Chapter Study Guide. Chapter 11 Confidence Intervals and Hypothesis Testing for Means OPRE504 Chapter Study Guide Chapter 11 Confidence Intervals and Hypothesis Testing for Means I. Calculate Probability for A Sample Mean When Population σ Is Known 1. First of all, we need to find out the

More information

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

Independent samples t-test. Dr. Tom Pierce Radford University Independent samples t-test Dr. Tom Pierce Radford University The logic behind drawing causal conclusions from experiments The sampling distribution of the difference between means The standard error of

More information

Hypothesis Testing: Two Means, Paired Data, Two Proportions

Hypothesis Testing: Two Means, Paired Data, Two Proportions Chapter 10 Hypothesis Testing: Two Means, Paired Data, Two Proportions 10.1 Hypothesis Testing: Two Population Means and Two Population Proportions 1 10.1.1 Student Learning Objectives By the end of this

More information

Math 251, Review Questions for Test 3 Rough Answers

Math 251, Review Questions for Test 3 Rough Answers Math 251, Review Questions for Test 3 Rough Answers 1. (Review of some terminology from Section 7.1) In a state with 459,341 voters, a poll of 2300 voters finds that 45 percent support the Republican candidate,

More information

5/31/2013. Chapter 8 Hypothesis Testing. Hypothesis Testing. Hypothesis Testing. Outline. Objectives. Objectives

5/31/2013. Chapter 8 Hypothesis Testing. Hypothesis Testing. Hypothesis Testing. Outline. Objectives. Objectives C H 8A P T E R Outline 8 1 Steps in Traditional Method 8 2 z Test for a Mean 8 3 t Test for a Mean 8 4 z Test for a Proportion 8 6 Confidence Intervals and Copyright 2013 The McGraw Hill Companies, Inc.

More information

Chapter 2. Hypothesis testing in one population

Chapter 2. Hypothesis testing in one population Chapter 2. Hypothesis testing in one population Contents Introduction, the null and alternative hypotheses Hypothesis testing process Type I and Type II errors, power Test statistic, level of significance

More information

Need for Sampling. Very large populations Destructive testing Continuous production process

Need for Sampling. Very large populations Destructive testing Continuous production process Chapter 4 Sampling and Estimation Need for Sampling Very large populations Destructive testing Continuous production process The objective of sampling is to draw a valid inference about a population. 4-

More information

Mind on Statistics. Chapter 12

Mind on Statistics. Chapter 12 Mind on Statistics Chapter 12 Sections 12.1 Questions 1 to 6: For each statement, determine if the statement is a typical null hypothesis (H 0 ) or alternative hypothesis (H a ). 1. There is no difference

More information

Hypothesis Testing. Hypothesis Testing

Hypothesis Testing. Hypothesis Testing Hypothesis Testing Daniel A. Menascé Department of Computer Science George Mason University 1 Hypothesis Testing Purpose: make inferences about a population parameter by analyzing differences between observed

More information

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

Unit 31 A Hypothesis Test about Correlation and Slope in a Simple Linear Regression Unit 31 A Hypothesis Test about Correlation and Slope in a Simple Linear Regression Objectives: To perform a hypothesis test concerning the slope of a least squares line To recognize that testing for a

More information

Chapter 8: Hypothesis Testing for One Population Mean, Variance, and Proportion

Chapter 8: Hypothesis Testing for One Population Mean, Variance, and Proportion Chapter 8: Hypothesis Testing for One Population Mean, Variance, and Proportion Learning Objectives Upon successful completion of Chapter 8, you will be able to: Understand terms. State the null and alternative

More information

Unit 26 Estimation with Confidence Intervals

Unit 26 Estimation with Confidence Intervals Unit 26 Estimation with Confidence Intervals Objectives: To see how confidence intervals are used to estimate a population proportion, a population mean, a difference in population proportions, or a difference

More information

HYPOTHESIS TESTING WITH SPSS:

HYPOTHESIS TESTING WITH SPSS: HYPOTHESIS TESTING WITH SPSS: A NON-STATISTICIAN S GUIDE & TUTORIAL by Dr. Jim Mirabella SPSS 14.0 screenshots reprinted with permission from SPSS Inc. Published June 2006 Copyright Dr. Jim Mirabella CHAPTER

More information

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

HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 1. used confidence intervals to answer questions such as... HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 1 PREVIOUSLY used confidence intervals to answer questions such as... You know that 0.25% of women have red/green color blindness. You conduct a study of men

More information

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

1. What is the critical value for this 95% confidence interval? CV = z.025 = invnorm(0.025) = 1.96 1 Final Review 2 Review 2.1 CI 1-propZint Scenario 1 A TV manufacturer claims in its warranty brochure that in the past not more than 10 percent of its TV sets needed any repair during the first two years

More information

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

Class 19: Two Way Tables, Conditional Distributions, Chi-Square (Text: Sections 2.5; 9.1) Spring 204 Class 9: Two Way Tables, Conditional Distributions, Chi-Square (Text: Sections 2.5; 9.) Big Picture: More than Two Samples In Chapter 7: We looked at quantitative variables and compared the

More information

2 Sample t-test (unequal sample sizes and unequal variances)

2 Sample t-test (unequal sample sizes and unequal variances) Variations of the t-test: Sample tail Sample t-test (unequal sample sizes and unequal variances) Like the last example, below we have ceramic sherd thickness measurements (in cm) of two samples representing

More information

Lecture Notes Module 1

Lecture Notes Module 1 Lecture Notes Module 1 Study Populations A study population is a clearly defined collection of people, animals, plants, or objects. In psychological research, a study population usually consists of a specific

More information

Online 12 - Sections 9.1 and 9.2-Doug Ensley

Online 12 - Sections 9.1 and 9.2-Doug Ensley Student: Date: Instructor: Doug Ensley Course: MAT117 01 Applied Statistics - Ensley Assignment: Online 12 - Sections 9.1 and 9.2 1. Does a P-value of 0.001 give strong evidence or not especially strong

More information

6: Introduction to Hypothesis Testing

6: Introduction to Hypothesis Testing 6: Introduction to Hypothesis Testing Significance testing is used to help make a judgment about a claim by addressing the question, Can the observed difference be attributed to chance? We break up significance

More information

Sample Size and Power in Clinical Trials

Sample Size and Power in Clinical Trials Sample Size and Power in Clinical Trials Version 1.0 May 011 1. Power of a Test. Factors affecting Power 3. Required Sample Size RELATED ISSUES 1. Effect Size. Test Statistics 3. Variation 4. Significance

More information

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

In the past, the increase in the price of gasoline could be attributed to major national or global Chapter 7 Testing Hypotheses Chapter Learning Objectives Understanding the assumptions of statistical hypothesis testing Defining and applying the components in hypothesis testing: the research and null

More information

Independent t- Test (Comparing Two Means)

Independent t- Test (Comparing Two Means) Independent t- Test (Comparing Two Means) The objectives of this lesson are to learn: the definition/purpose of independent t-test when to use the independent t-test the use of SPSS to complete an independent

More information

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

Two-Sample T-Tests Assuming Equal Variance (Enter Means) Chapter 4 Two-Sample T-Tests Assuming Equal Variance (Enter Means) Introduction This procedure provides sample size and power calculations for one- or two-sided two-sample t-tests when the variances of

More information

8 6 X 2 Test for a Variance or Standard Deviation

8 6 X 2 Test for a Variance or Standard Deviation Section 8 6 x 2 Test for a Variance or Standard Deviation 437 This test uses the P-value method. Therefore, it is not necessary to enter a significance level. 1. Select MegaStat>Hypothesis Tests>Proportion

More information

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

An Introduction to Statistics Course (ECOE 1302) Spring Semester 2011 Chapter 10- TWO-SAMPLE TESTS The Islamic University of Gaza Faculty of Commerce Department of Economics and Political Sciences An Introduction to Statistics Course (ECOE 130) Spring Semester 011 Chapter 10- TWO-SAMPLE TESTS Practice

More information

Descriptive Statistics

Descriptive Statistics Descriptive Statistics Primer Descriptive statistics Central tendency Variation Relative position Relationships Calculating descriptive statistics Descriptive Statistics Purpose to describe or summarize

More information

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

Two-Sample T-Tests Allowing Unequal Variance (Enter Difference) Chapter 45 Two-Sample T-Tests Allowing Unequal Variance (Enter Difference) Introduction This procedure provides sample size and power calculations for one- or two-sided two-sample t-tests when no assumption

More information

3.4 Statistical inference for 2 populations based on two samples

3.4 Statistical inference for 2 populations based on two samples 3.4 Statistical inference for 2 populations based on two samples Tests for a difference between two population means The first sample will be denoted as X 1, X 2,..., X m. The second sample will be denoted

More information

Hypothesis testing. c 2014, Jeffrey S. Simonoff 1

Hypothesis testing. c 2014, Jeffrey S. Simonoff 1 Hypothesis testing So far, we ve talked about inference from the point of estimation. We ve tried to answer questions like What is a good estimate for a typical value? or How much variability is there

More information

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

SCHOOL OF HEALTH AND HUMAN SCIENCES DON T FORGET TO RECODE YOUR MISSING VALUES SCHOOL OF HEALTH AND HUMAN SCIENCES Using SPSS Topics addressed today: 1. Differences between groups 2. Graphing Use the s4data.sav file for the first part of this session. DON T FORGET TO RECODE YOUR

More information

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

Comparing Two Groups. Standard Error of ȳ 1 ȳ 2. Setting. Two Independent Samples Comparing Two Groups Chapter 7 describes two ways to compare two populations on the basis of independent samples: a confidence interval for the difference in population means and a hypothesis test. The

More information

How To Test For Significance On A Data Set

How To Test For Significance On A Data Set Non-Parametric Univariate Tests: 1 Sample Sign Test 1 1 SAMPLE SIGN TEST A non-parametric equivalent of the 1 SAMPLE T-TEST. ASSUMPTIONS: Data is non-normally distributed, even after log transforming.

More information

UNDERSTANDING THE DEPENDENT-SAMPLES t TEST

UNDERSTANDING THE DEPENDENT-SAMPLES t TEST UNDERSTANDING THE DEPENDENT-SAMPLES t TEST A dependent-samples t test (a.k.a. matched or paired-samples, matched-pairs, samples, or subjects, simple repeated-measures or within-groups, or correlated groups)

More information

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

MONT 107N Understanding Randomness Solutions For Final Examination May 11, 2010 MONT 07N Understanding Randomness Solutions For Final Examination May, 00 Short Answer (a) (0) How are the EV and SE for the sum of n draws with replacement from a box computed? Solution: The EV is n times

More information

Study Guide for the Final Exam

Study Guide for the Final Exam Study Guide for the Final Exam When studying, remember that the computational portion of the exam will only involve new material (covered after the second midterm), that material from Exam 1 will make

More information

Paired 2 Sample t-test

Paired 2 Sample t-test Variations of the t-test: Paired 2 Sample 1 Paired 2 Sample t-test Suppose we are interested in the effect of different sampling strategies on the quality of data we recover from archaeological field surveys.

More information

5.1 Identifying the Target Parameter

5.1 Identifying the Target Parameter University of California, Davis Department of Statistics Summer Session II Statistics 13 August 20, 2012 Date of latest update: August 20 Lecture 5: Estimation with Confidence intervals 5.1 Identifying

More information

II. DISTRIBUTIONS distribution normal distribution. standard scores

II. DISTRIBUTIONS distribution normal distribution. standard scores Appendix D Basic Measurement And Statistics The following information was developed by Steven Rothke, PhD, Department of Psychology, Rehabilitation Institute of Chicago (RIC) and expanded by Mary F. Schmidt,

More information

Chapter 2 Probability Topics SPSS T tests

Chapter 2 Probability Topics SPSS T tests Chapter 2 Probability Topics SPSS T tests Data file used: gss.sav In the lecture about chapter 2, only the One-Sample T test has been explained. In this handout, we also give the SPSS methods to perform

More information

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

HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 1. used confidence intervals to answer questions such as... HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 1 PREVIOUSLY used confidence intervals to answer questions such as... You know that 0.25% of women have red/green color blindness. You conduct a study of men

More information

Normal distributions in SPSS

Normal distributions in SPSS Normal distributions in SPSS Bro. David E. Brown, BYU Idaho Department of Mathematics February 2, 2012 1 Calculating probabilities and percents from measurements: The CDF.NORMAL command 1. Go to the Variable

More information

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

t Tests in Excel The Excel Statistical Master By Mark Harmon Copyright 2011 Mark Harmon t-tests in Excel By Mark Harmon Copyright 2011 Mark Harmon No part of this publication may be reproduced or distributed without the express permission of the author. mark@excelmasterseries.com www.excelmasterseries.com

More information

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

Stat 411/511 THE RANDOMIZATION TEST. Charlotte Wickham. stat511.cwick.co.nz. Oct 16 2015 Stat 411/511 THE RANDOMIZATION TEST Oct 16 2015 Charlotte Wickham stat511.cwick.co.nz Today Review randomization model Conduct randomization test What about CIs? Using a t-distribution as an approximation

More information

Introduction. Statistics Toolbox

Introduction. Statistics Toolbox Introduction A hypothesis test is a procedure for determining if an assertion about a characteristic of a population is reasonable. For example, suppose that someone says that the average price of a gallon

More information

Simple Regression Theory II 2010 Samuel L. Baker

Simple Regression Theory II 2010 Samuel L. Baker SIMPLE REGRESSION THEORY II 1 Simple Regression Theory II 2010 Samuel L. Baker Assessing how good the regression equation is likely to be Assignment 1A gets into drawing inferences about how close the

More information

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.

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. THERE ARE TWO WAYS TO DO HYPOTHESIS TESTING WITH STATCRUNCH: WITH SUMMARY DATA (AS IN EXAMPLE 7.17, PAGE 236, IN ROSNER); WITH THE ORIGINAL DATA (AS IN EXAMPLE 8.5, PAGE 301 IN ROSNER THAT USES DATA FROM

More information

Crosstabulation & Chi Square

Crosstabulation & Chi Square Crosstabulation & Chi Square Robert S Michael Chi-square as an Index of Association After examining the distribution of each of the variables, the researcher s next task is to look for relationships among

More information

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

C. The null hypothesis is not rejected when the alternative hypothesis is true. A. population parameters. Sample Multiple Choice Questions for the material since Midterm 2. Sample questions from Midterms and 2 are also representative of questions that may appear on the final exam.. A randomly selected sample

More information

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

1 Hypothesis Testing. H 0 : population parameter = hypothesized value: 1 Hypothesis Testing In Statistics, a hypothesis proposes a model for the world. Then we look at the data. If the data are consistent with that model, we have no reason to disbelieve the hypothesis. Data

More information

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

Chapter 7 Section 7.1: Inference for the Mean of a Population Chapter 7 Section 7.1: Inference for the Mean of a Population Now let s look at a similar situation Take an SRS of size n Normal Population : N(, ). Both and are unknown parameters. Unlike what we used

More information

Week 4: Standard Error and Confidence Intervals

Week 4: Standard Error and Confidence Intervals Health Sciences M.Sc. Programme Applied Biostatistics Week 4: Standard Error and Confidence Intervals Sampling Most research data come from subjects we think of as samples drawn from a larger population.

More information

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

Having a coin come up heads or tails is a variable on a nominal scale. Heads is a different category from tails. Chi-square Goodness of Fit Test The chi-square test is designed to test differences whether one frequency is different from another frequency. The chi-square test is designed for use with data on a nominal

More information

Two Related Samples t Test

Two Related Samples t Test Two Related Samples t Test In this example 1 students saw five pictures of attractive people and five pictures of unattractive people. For each picture, the students rated the friendliness of the person

More information

4. Continuous Random Variables, the Pareto and Normal Distributions

4. Continuous Random Variables, the Pareto and Normal Distributions 4. Continuous Random Variables, the Pareto and Normal Distributions A continuous random variable X can take any value in a given range (e.g. height, weight, age). The distribution of a continuous random

More information

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

SAMPLING & INFERENTIAL STATISTICS. Sampling is necessary to make inferences about a population. SAMPLING & INFERENTIAL STATISTICS Sampling is necessary to make inferences about a population. SAMPLING The group that you observe or collect data from is the sample. The group that you make generalizations

More information

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

Hypothesis Testing. Reminder of Inferential Statistics. Hypothesis Testing: Introduction Hypothesis Testing PSY 360 Introduction to Statistics for the Behavioral Sciences Reminder of Inferential Statistics All inferential statistics have the following in common: Use of some descriptive statistic

More information

Understand the role that hypothesis testing plays in an improvement project. Know how to perform a two sample hypothesis test.

Understand the role that hypothesis testing plays in an improvement project. Know how to perform a two sample hypothesis test. HYPOTHESIS TESTING Learning Objectives Understand the role that hypothesis testing plays in an improvement project. Know how to perform a two sample hypothesis test. Know how to perform a hypothesis test

More information

p ˆ (sample mean and sample

p ˆ (sample mean and sample Chapter 6: Confidence Intervals and Hypothesis Testing When analyzing data, we can t just accept the sample mean or sample proportion as the official mean or proportion. When we estimate the statistics

More information

Chapter 7: One-Sample Inference

Chapter 7: One-Sample Inference Chapter 7: One-Sample Inference Now that you have all this information about descriptive statistics and probabilities, it is time to start inferential statistics. There are two branches of inferential

More information

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

Name: Date: Use the following to answer questions 3-4: Name: Date: 1. Determine whether each of the following statements is true or false. A) The margin of error for a 95% confidence interval for the mean increases as the sample size increases. B) The margin

More information

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

Describing Populations Statistically: The Mean, Variance, and Standard Deviation Describing Populations Statistically: The Mean, Variance, and Standard Deviation BIOLOGICAL VARIATION One aspect of biology that holds true for almost all species is that not every individual is exactly

More information

One-Way Analysis of Variance

One-Way Analysis of Variance One-Way Analysis of Variance Note: Much of the math here is tedious but straightforward. We ll skim over it in class but you should be sure to ask questions if you don t understand it. I. Overview A. We

More information

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

KSTAT MINI-MANUAL. Decision Sciences 434 Kellogg Graduate School of Management KSTAT MINI-MANUAL Decision Sciences 434 Kellogg Graduate School of Management Kstat is a set of macros added to Excel and it will enable you to do the statistics required for this course very easily. To

More information

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

research/scientific includes the following: statistical hypotheses: you have a null and alternative you accept one and reject the other 1 Hypothesis Testing Richard S. Balkin, Ph.D., LPC-S, NCC 2 Overview When we have questions about the effect of a treatment or intervention or wish to compare groups, we use hypothesis testing Parametric

More information

Chapter 26: Tests of Significance

Chapter 26: Tests of Significance Chapter 26: Tests of Significance Procedure: 1. State the null and alternative in words and in terms of a box model. 2. Find the test statistic: z = observed EV. SE 3. Calculate the P-value: The area under

More information

Two-sample inference: Continuous data

Two-sample inference: Continuous data Two-sample inference: Continuous data Patrick Breheny April 5 Patrick Breheny STA 580: Biostatistics I 1/32 Introduction Our next two lectures will deal with two-sample inference for continuous data As

More information

Introduction. Hypothesis Testing. Hypothesis Testing. Significance Testing

Introduction. Hypothesis Testing. Hypothesis Testing. Significance Testing Introduction Hypothesis Testing Mark Lunt Arthritis Research UK Centre for Ecellence in Epidemiology University of Manchester 13/10/2015 We saw last week that we can never know the population parameters

More information

UNDERSTANDING THE TWO-WAY ANOVA

UNDERSTANDING THE TWO-WAY ANOVA UNDERSTANDING THE e have seen how the one-way ANOVA can be used to compare two or more sample means in studies involving a single independent variable. This can be extended to two independent variables

More information

Hypothesis testing - Steps

Hypothesis testing - Steps Hypothesis testing - Steps Steps to do a two-tailed test of the hypothesis that β 1 0: 1. Set up the hypotheses: H 0 : β 1 = 0 H a : β 1 0. 2. Compute the test statistic: t = b 1 0 Std. error of b 1 =

More information

Tutorial 5: Hypothesis Testing

Tutorial 5: Hypothesis Testing Tutorial 5: Hypothesis Testing Rob Nicholls nicholls@mrc-lmb.cam.ac.uk MRC LMB Statistics Course 2014 Contents 1 Introduction................................ 1 2 Testing distributional assumptions....................

More information

Getting Started with Statistics. Out of Control! ID: 10137

Getting Started with Statistics. Out of Control! ID: 10137 Out of Control! ID: 10137 By Michele Patrick Time required 35 minutes Activity Overview In this activity, students make XY Line Plots and scatter plots to create run charts and control charts (types of

More information

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

Odds ratio, Odds ratio test for independence, chi-squared statistic. Odds ratio, Odds ratio test for independence, chi-squared statistic. Announcements: Assignment 5 is live on webpage. Due Wed Aug 1 at 4:30pm. (9 days, 1 hour, 58.5 minutes ) Final exam is Aug 9. Review

More information

Chi-square test Fisher s Exact test

Chi-square test Fisher s Exact test Lesson 1 Chi-square test Fisher s Exact test McNemar s Test Lesson 1 Overview Lesson 11 covered two inference methods for categorical data from groups Confidence Intervals for the difference of two proportions

More information

STAT 350 Practice Final Exam Solution (Spring 2015)

STAT 350 Practice Final Exam Solution (Spring 2015) PART 1: Multiple Choice Questions: 1) A study was conducted to compare five different training programs for improving endurance. Forty subjects were randomly divided into five groups of eight subjects

More information

Pearson's Correlation Tests

Pearson's Correlation Tests Chapter 800 Pearson's Correlation Tests Introduction The correlation coefficient, ρ (rho), is a popular statistic for describing the strength of the relationship between two variables. The correlation

More information

Introduction to Quantitative Methods

Introduction to Quantitative Methods Introduction to Quantitative Methods October 15, 2009 Contents 1 Definition of Key Terms 2 2 Descriptive Statistics 3 2.1 Frequency Tables......................... 4 2.2 Measures of Central Tendencies.................

More information

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

Recall this chart that showed how most of our course would be organized: Chapter 4 One-Way ANOVA Recall this chart that showed how most of our course would be organized: Explanatory Variable(s) Response Variable Methods Categorical Categorical Contingency Tables Categorical

More information

AP: LAB 8: THE CHI-SQUARE TEST. Probability, Random Chance, and Genetics

AP: LAB 8: THE CHI-SQUARE TEST. Probability, Random Chance, and Genetics Ms. Foglia Date AP: LAB 8: THE CHI-SQUARE TEST Probability, Random Chance, and Genetics Why do we study random chance and probability at the beginning of a unit on genetics? Genetics is the study of inheritance,

More information

Opgaven Onderzoeksmethoden, Onderdeel Statistiek

Opgaven Onderzoeksmethoden, Onderdeel Statistiek Opgaven Onderzoeksmethoden, Onderdeel Statistiek 1. What is the measurement scale of the following variables? a Shoe size b Religion c Car brand d Score in a tennis game e Number of work hours per week

More information

Using Excel for inferential statistics

Using Excel for inferential statistics FACT SHEET Using Excel for inferential statistics Introduction When you collect data, you expect a certain amount of variation, just caused by chance. A wide variety of statistical tests can be applied

More information

BA 275 Review Problems - Week 6 (10/30/06-11/3/06) CD Lessons: 53, 54, 55, 56 Textbook: pp. 394-398, 404-408, 410-420

BA 275 Review Problems - Week 6 (10/30/06-11/3/06) CD Lessons: 53, 54, 55, 56 Textbook: pp. 394-398, 404-408, 410-420 BA 275 Review Problems - Week 6 (10/30/06-11/3/06) CD Lessons: 53, 54, 55, 56 Textbook: pp. 394-398, 404-408, 410-420 1. Which of the following will increase the value of the power in a statistical test

More information

Statistics 100 Sample Final Questions (Note: These are mostly multiple choice, for extra practice. Your Final Exam will NOT have any multiple choice!

Statistics 100 Sample Final Questions (Note: These are mostly multiple choice, for extra practice. Your Final Exam will NOT have any multiple choice! Statistics 100 Sample Final Questions (Note: These are mostly multiple choice, for extra practice. Your Final Exam will NOT have any multiple choice!) Part A - Multiple Choice Indicate the best choice

More information

Statistical Functions in Excel

Statistical Functions in Excel Statistical Functions in Excel There are many statistical functions in Excel. Moreover, there are other functions that are not specified as statistical functions that are helpful in some statistical analyses.

More information

1.5 Oneway Analysis of Variance

1.5 Oneway Analysis of Variance Statistics: Rosie Cornish. 200. 1.5 Oneway Analysis of Variance 1 Introduction Oneway analysis of variance (ANOVA) is used to compare several means. This method is often used in scientific or medical experiments

More information