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

Size: px
Start display at page:

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

Transcription

1 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 and find that of 80 men tested, 7 have red/green color blindness. Based on the above information, do men have a higher percentage of red/green color blindness than women? Why or why not? question is whether a sample proportion differs from a population proportion

2 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 2 You measure body mass index (BMI) for 25 men and 25 women and calculate the following statistics... gender mean standard deviation women 25 6 men 26 3 The upper-limit for a NORMAL BMI for adults is 23. Based on the above information, can you say that either the group of women or group of men have 'above normal' BMIs? Why or why not? question is whether sample means differ from a population mean

3 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 3 You conduct health exams on samples of 25 men and 25 women. One measurement you make is systolic blood pressure (SBP) and you calculate the following statistics... gender mean standard deviation women men Do you think that men have a higher mean SBP than women? Why or why not? question is whether sample means differ from each other

4 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 4 ANOTHER APPROACH TO SUCH QUESTIONS hypothesis testing (almost always results in the same answer as confidence intervals - exception possible with proportions due to difference in how standard errors are calculated in hypothesis testing versus confidence intervals) one sample hypothesis testing does a sample value differ from a population value two sample hypothesis testing do two sample values differ from each other

5 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 5 DEFINITIONS Triola - hypothesis is a claim or statement about a property of a population Daniel - hypothesis is a statement about one or more populations Rosner - no explicit definition, but...preconceived ideas as to what population parameters might be...

6 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 6 Triola - hypothesis test is a standard procedure for testing a claim about a property of a population Daniel - no definition Rosner - no explicit definition, but... hypothesis testing provides an objective framework for making decisions using probabilistic methods rather than relying on subjective impressions...

7 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 7 COMPONENTS OF HYPOTHESIS TEST use a problem from the midterm... You measure body mass index (BMI) for 25 men and 25 women and calculate the following statistics... gender mean standard deviation women 25 6 men 26 3 The upper-limit for a NORMAL BMI for adults is 23. Based on the above information, can you say that either the group of women or group of men have 'above normal' BMIs? Why or why not? start with women

8 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 8 given a claim... women have above normal BMIs (above 23) identify the null hypothesis... the BMI of women is equal to 23 identify the alternative hypothesis... the BMI of women is greater than 23 express the null and alternative hypothesis is symbolic form... H 0 : µ = 23 H 1 : µ > 23

9 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 9 given a claim and sample data, calculate the value of the test statistic... t = ( X µ )/( S / N) = ( 25 23)/( 6 / 25) = 167. given a significance level, identify the critical value(s)... t-distribution with 24 degrees of freedom, α =.05, 1-tail test from table A-3 in Triola, critical value = 1.711

10 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 10 given a value of the test statistic, identify the P-value... in the t-distribution, what is the probability of obtaining the value of the test statistic (1.67) with 24 degrees of freedom interpolate in table A-3 in Triola, look on the line with 24 degrees of freedom and see that 1.67 lies between 0.05 and 0.10 for the area in one-tail, between the values ( α = 005. ) ( α = 010. ) or use STATCRUNCH to get an exact value... P = 0.054

11 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 11 state the conclusion of the hypothesis is simple, non-technical terms... there is no evidence to conclude that the BMI of women is not equal to 23 identify the type I and type II errors that can be made when testing a given claim... type I error determined by choice of α (in this case, 0.05) type II error is a function of... sample size variability (standard deviation) difference worth detecting size of chosen level of type I error

12 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 12 calculate type II error (formulas, SAS, web, etc.) from SAS... One-sample t Test for Mean Number of Sides 1 Null Mean 23 Alpha 0.05 Mean 25 Standard Deviation 6 Total Sample Size 25 Computed Power approximately a 50% chance of detecting a difference of 2 given the sample size, variability, and type I error

13 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 13 same methodology for men... H 0 : µ = 23 H 1 : µ > 23 t = ( X µ )/( S / N) = ( 26 23)/( 3 / 25) = 5 from table A-3 in Triola, critical value = P-value = E-5 (from STATCRUNCH) we reject the null hypothesis that BMI for men is equal to 23 and conclude that the BMI of men is greater than 23 power (from SAS) = > why is power so much different?

14 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 14 Mendel's genetics experiment H 0 : p = 0.25 H 1 : p 0.25 z = ( p\$ p)/ pq/ n = ( )/( ( 025. )( 075. )/ 580) = 067. from table A-2 in Triola, critical value = 1.96 P-value = (from table A-2 in Triola)

15 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 15 there is no evidence to conclude that the proportion of yellow pods is different from 0.25 power (from SAS) = 0.106) why is the power so low? to detect a difference of with power = 0.80, n=10,315

16 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 16 null and alternative hypotheses the null hypothesis ALWAYS contains a statement that the value of a population parameter is EQUAL to some claimed value the alternative hypothesis can contain a statement that a the value of a population is either NOT EQUAL to, LESS than, or GREATER than some claimed value (two-tailed and one-tailed hypothesis tests) implication of above on your own claim... your claim might be the null or it might be the alternative hypothesis "Gender Choice" increases the probability of a female infant, or... P(female) > 0.50 H 0 : p = 0.50 H 1 : p > 0.50

17 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 17 test statistic proportion z = ( p\$ p)/ pq/ n mean z = ( x µ )/( σ / n) or... t = ( x µ )/( s/ n) standard χ 2 = ( n 1) 2 / σ 2 deviation

18 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 18 critical values any value that separates the critical region (where the null hypothesis is rejected) from values that do not lead to rejection of the null hypothesis depends on alternative hypothesis and selected level of type I error not equal - two-tail test, 50% of area in each tail of the distribution greater or less than - one-tail test, 100% of area in one tail of the distribution two-tail test, test statistic is z, α = 005., critical value ±1.96 one-tail test, test statistic is z, α = 005., critical value ±1.645

19 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 19 P-value the probability of obtaining a value of the test statistic that is at least as extreme as the one calculated using sample data given that the null hypothesis is true calculation of an exact P-value depends on the alternative hypothesis (figure 7.6 in Triola) not equal - two-tail test, double value found in appropriate table greater or less than - one-tail test, value found in appropriate table

20 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 20 decisions and conclusions Traditional Method reject H 0 if the test statistic falls within the critical region, fail to reject H 0 if the test statistic does not fall within the critical region P-Value Method reject H 0 if P-value α fail to reject H 0 if P-value > α (or report the P-value and leave the decision to the reader)

21 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 21 Confidence Interval if the confidence interval contains the likely value of the population parameter, reject the claim that the population parameter has a value that is not included in the confidence interval Rosner - if testing H 0 : µ = µ 0 versus the alternative hypothesis H 1 : µ µ 0, H 0 is rejected if and only if a two-sided confidence interval for µ does not contain µ 0 Rosner - significance levels and confidence limits provide complimentary information and both should be reported where possible

22 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 22 TYPE I AND TYPE II ERRORS type I error - reject the null when it is actually true ( α ) type II error - fail to reject the null when it is actually false ( ) β power = 1 - (the probability of rejecting a false H 0 ) β

23 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 23 a look at power...

24 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 24 how does this diagram relate to the question about women's BMI... the UPPER DIAGRAM --- given a hypothesized mean of 23, a standard deviation of 6, a sample size of 25, and a one-tail test with alpha=0.05, any value greater than would be called "significantly greater" than 23 (would fall in the critical region)... ( )/( 6 / 25) = consider ~ 25, therefore, you would not reject the null hypothesis given any sample mean less than 25 the LOWER DIAGRAM --- if "reality" was a mean of 25, what portion of the area of a standard normal distribution would lie to the right of 25 (or ), answer is 50%, so the power ~ 0.50

25 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 25 another look at the same problem...

26 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 26 RELATIONSHIPS type I error (") increase - increase power (decrease type II error, \$) sample size (n) increase - increase power difference worth detecting ( µ µ 0 ) increase - increase power variability (F) increase - decrease power ", \$, n are all related fix any two, the third is determined

27 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 27 formula from Rosner - given a two-sided test, sample size for a given " and \$ n= σ ( z + z ) /( µ µ ) 1 β 1 α/ problem 7.9 from Rosner... plasma glucose level among sedentary people (check for diabetes)... is their level higher or lower than the general population among year olds, µ = 4.86 (mg/dl), F = 0.54 if a difference of 0.10 is worth detecting, with "=0.05, what sample size is needed to have 80% power (\$=0.20) 2 n= 054. ( z z0975. ) /( 010. ) 2 n = ( ) = ~

28 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 28 from SAS... Distribution Normal Method Exact Number of Sides 2 Null Mean 4.96 Alpha 0.05 Mean 4.86 Standard Deviation 0.54 Nominal Power 0.8 Computed N Total Actual N Power Total

29 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 29 from web site...

30 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 30 same data, different problem... problem 7.9 from Rosner... plasma glucose level among sedentary people (check for diabetes)... is their level higher or lower than the general population among year olds, µ = 4.86 (mg/dl), F = 0.54 if a difference of 0.10 is worth detecting, with "=0.05, with a sample size of 100, what is the power

31 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 31 same approach as the BMI problem... given a hypothesized mean of 4.86, a standard deviation of 0.54, a sample size of 100, and a two-tail test with alpha=0.05, any value greater than (or less than 4.754) would be called "significantly different" from 4.86 (would fall in the critical region)... ( )/( 054. / 100) = 196. ( )/( 054. / 100) = 196. if "reality" was a mean of 4.96, what portion of the area of a standard normal distribution would lie to the right of 4.966, answer is ~46%, so the power ~0.46

32 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 32 another look at the same problem illustration...shaded area on the right is power...

33 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 33 another look at the same problem illustration...shaded area on the left is power...

34 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 34 WHAT SHOULD YOU KNOW NOT formulas!!! what is power (from Rosner... the probability of detecting a significant difference) how to illustrate the concept of power (two normal curves drawn using information about the null hypothesis, ", sample size, F, difference worth detecting) what are Type I and Type II error the relationships among ", \$, n, F, µ µ 0

35 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 35 PROPORTION all the previous comments about the importance of proper sampling (random, representative) all conditions for a binomial distribution are met (fixed n of independent trials with constant p and only two possible outcomes for each trial) np\$5, nq\$5

36 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 36 test statistics is ALWAYS z... z = p\$ p/ pq/ n example from Rosner study guide... An area of current interest in cancer epidemiology is the possible role of oral contraceptives (OC s) in the development of breast cancer. Suppose that in a group of 1000 premenopausal women ages who are current users of OC s, 15 subsequently develop breast cancer over the next 5 years. If the expected 5- year incidence rate of breast cancer in this group is 1.2% based on national incidence rates, then test the hypothesis that there is an association between current OC use and the subsequent development of breast cancer.

37 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 37 claim... there is an association between OC use and subsequent development of breast cancer null and alternative hypothesis... H0: p = H : p calculate the test statistic... z = ( p\$ p)/ pq/ n = ( )/ ( )( )/ 1000 z = / = 087.

38 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 38 given a significance level, identify the critical value... "=0.05, z=1.96 (two-tail test) identify the P-value... from table A-2 what is area in tails of normal curve with z=0.87 (0.1992) from figure 7.6, two-sided test, double the P-value P=0.38 conclusion... no evidence to reject the null hypothesis

39 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 39 what is the confidence interval... CI = µ ± z( pq / n) = ± 196. ( )( )/ 1000 CI = ± (0.011, 0.019) same conclusion since is within the confidence interval

40 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 40 Triola problem given... n=1000 k=119 p=0.10 H : p = H : p traditional hypothesis test and P-value results not the same as the confidence interval results... why

41 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 41 can also calculate an exact P-value using the binomial distribution... this is the equivalent of a hypothesis test with an alternative hypothesis of... H : p > 010., not 1 H : p therefore... P-value=2(P)=0.0556

42 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 42 MEAN: F KNOWN all the previous comments about the importance of proper sampling (random, representative) the value of the population standard deviation is known the population is normally distributed or n > 30 (Central Limit Theorem)

43 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 43 test statistic WITH F KNOWN is z... z = ( x µ )/( σ / n) example from Rosner... We want to compare the serum cholesterol levels among recent Asian immigrants to the United States to that of the general US population. The mean of serum cholesterol in the US population is known to be 190 with a standard deviation of 40. We have serum cholesterol results on a sample of 100 recent immigrants and the mean value is

44 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 44 claim... the serum cholesterol of recent Asian immigrants differs from that in the US population null and alternative hypotheses... H H 0 1 : µ = : µ calculate the test statistic... z = ( )/( 40 / 100) = / 4 = 2. 12

45 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 45 given a significance level, identify the critical value... "=0.05, z=1.96 (two-tail test) identify the P-value... from table A-2 what is area in tails of normal curve with z=2.12 (0.0170) from figure 7.6, two-sided test, double the P-value P=0.034 conclusion... reject the null hypothesis

46 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 46 what is the confidence interval... CI = x ± z( σ / n) = ± 196. ( 4) CI = ± (173.68, ) same conclusion since 190 is not within the confidence interval

47 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 47 MEAN: F UNKNOWN all the previous comments about the importance of proper sampling (random, representative) the value of the population standard deviation is unknown the population is normally distributed or n > 30 (Central Limit Theorem)

48 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 48 test statistic WITH F UNKNOWN... t = ( x µ )/( s/ n) example from Rosner study guide... As part of the same program, eight year-old females report an average daily intake of saturated fat of 11 g with standard deviation = 11 g while on a vegetarian diet. If the average daily intake of saturated fat among year-old females in the general population is 24 g, then, using a significance level of.01, test the hypothesis that the intake of saturated fat in this group is lower than that in the general population.

49 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 49 claim... the daily intake of saturated fat of a group of females on a vegetarian diet is lower than that among females in the general population null and alternative hypotheses... H H 0 1 : µ = : µ < calculate the test statistic... t = ( 11 24)/( 11/ 8) = 13/ 389. = 3. 34

50 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 50 given a significance level, identify the critical value... "=0.01, 7 DF, t=2.998 (one-tail test) identify the P-value... from table A-3 what is area in the tail of a t-distribution with 7 DF, t=3.34 it is between (t=2.998) and (t=3.499) from Statcrunch, P=.0062 from figure 7.6, P= conclusion... reject the null hypothesis

51 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 51 STANDARD DEVIATION (OR VARIANCE) all the previous comments about the importance of proper sampling (random, representative) the population is normally distributed (Central Limit theorem does not apply here)

52 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 52 test statistic... χ = ( n 1) s / σ example from Rosner study guide... In a sample of 15 analgesic drug abusers, the standard deviation of serum creatinine is found to be The standard deviation of serum creatinine in the general population is Compare the variance of serum creatinine among analgesic abusers versus the variance of serum creatinine in the general population.

53 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 53 claim...the variability of serum creatinine among analgesic drug users differs from that in the general population null and alternative hypotheses... H H χ χ 0 1 : σ = 040. : σ 040. calculate the test statistic = ( n 1) s / σ = ( 15 1)( ) / = 1656.

54 HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 54 given a significance level, identify the critical values... "=0.05, χ χ 2 14, = , = 563. identify the P-value... from Statcrunch... P=0.28 from figure 7.6, P=0.56 conclusion... accept the null hypothesis

### 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

### 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

### 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,

### 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

### 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

### 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

### 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

### 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 =

### 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

### General Method: Difference of Means. 3. Calculate df: either Welch-Satterthwaite formula or simpler df = min(n 1, n 2 ) 1.

General Method: Difference of Means 1. Calculate x 1, x 2, SE 1, SE 2. 2. Combined SE = SE1 2 + SE2 2. ASSUMES INDEPENDENT SAMPLES. 3. Calculate df: either Welch-Satterthwaite formula or simpler df = min(n

### 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.

### 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

### 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

### 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

### 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

### NONPARAMETRIC STATISTICS 1. depend on assumptions about the underlying distribution of the data (or on the Central Limit Theorem)

NONPARAMETRIC STATISTICS 1 PREVIOUSLY parametric statistics in estimation and hypothesis testing... construction of confidence intervals computing of p-values classical significance testing depend on assumptions

### 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

### 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

### Experimental Design. Power and Sample Size Determination. Proportions. Proportions. Confidence Interval for p. The Binomial Test

Experimental Design Power and Sample Size Determination Bret Hanlon and Bret Larget Department of Statistics University of Wisconsin Madison November 3 8, 2011 To this point in the semester, we have largely

### 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

### 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

### Math 108 Exam 3 Solutions Spring 00

Math 108 Exam 3 Solutions Spring 00 1. An ecologist studying acid rain takes measurements of the ph in 12 randomly selected Adirondack lakes. The results are as follows: 3.0 6.5 5.0 4.2 5.5 4.7 3.4 6.8

### 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

### Estimation of σ 2, the variance of ɛ

Estimation of σ 2, the variance of ɛ The variance of the errors σ 2 indicates how much observations deviate from the fitted surface. If σ 2 is small, parameters β 0, β 1,..., β k will be reliably estimated

### 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.

### 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

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

BA 275 Review Problems - Week 5 (10/23/06-10/27/06) CD Lessons: 48, 49, 50, 51, 52 Textbook: pp. 380-394 1. Does vigorous exercise affect concentration? In general, the time needed for people to complete

### 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

### 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,

### 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

### 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?

### Principles of Hypothesis Testing for Public Health

Principles of Hypothesis Testing for Public Health Laura Lee Johnson, Ph.D. Statistician National Center for Complementary and Alternative Medicine johnslau@mail.nih.gov Fall 2011 Answers to Questions

### 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

### 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

### Testing a claim about a population mean

Introductory Statistics Lectures Testing a claim about a population mean One sample hypothesis test of the mean Department of Mathematics Pima Community College Redistribution of this material is prohibited

### STATISTICS 8, FINAL EXAM. Last six digits of Student ID#: Circle your Discussion Section: 1 2 3 4

STATISTICS 8, FINAL EXAM NAME: KEY Seat Number: Last six digits of Student ID#: Circle your Discussion Section: 1 2 3 4 Make sure you have 8 pages. You will be provided with a table as well, as a separate

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

STT315 Practice Ch 5-7 MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Solve the problem. 1) The length of time a traffic signal stays green (nicknamed

### In the general population of 0 to 4-year-olds, the annual incidence of asthma is 1.4%

Hypothesis Testing for a Proportion Example: We are interested in the probability of developing asthma over a given one-year period for children 0 to 4 years of age whose mothers smoke in the home In the

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

Chapter 7 Notes - Inference for Single Samples You know already for a large sample, you can invoke the CLT so: X N(µ, ). Also for a large sample, you can replace an unknown σ by s. You know how to do a

### StatCrunch and Nonparametric Statistics

StatCrunch and Nonparametric Statistics You can use StatCrunch to calculate the values of nonparametric statistics. It may not be obvious how to enter the data in StatCrunch for various data sets that

### 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

### How To Compare Birds To Other Birds

STT 430/630/ES 760 Lecture Notes: Chapter 7: Two-Sample Inference 1 February 27, 2009 Chapter 7: Two Sample Inference Chapter 6 introduced hypothesis testing in the one-sample setting: one sample is obtained

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

Psychology 60 Fall 2013 Practice Exam Actual Exam: Next Monday. Good luck! Name: 1. The basic idea behind hypothesis testing: A. is important only if you want to compare two populations. B. depends on

### 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

### Confidence Intervals for the Difference Between Two Means

Chapter 47 Confidence Intervals for the Difference Between Two Means Introduction This procedure calculates the sample size necessary to achieve a specified distance from the difference in sample 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

### 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

### 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.

### Final Exam Practice Problem Answers

Final Exam Practice Problem Answers The following data set consists of data gathered from 77 popular breakfast cereals. The variables in the data set are as follows: Brand: The brand name of the cereal

### 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

### 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

### Tests for One Proportion

Chapter 100 Tests for One Proportion Introduction The One-Sample Proportion Test is used to assess whether a population proportion (P1) is significantly different from a hypothesized value (P0). This is

### 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

### Parametric and non-parametric statistical methods for the life sciences - Session I

Why nonparametric methods What test to use? Rank Tests Parametric and non-parametric statistical methods for the life sciences - Session I Liesbeth Bruckers Geert Molenberghs Interuniversity Institute

### Summary of Formulas and Concepts. Descriptive Statistics (Ch. 1-4)

Summary of Formulas and Concepts Descriptive Statistics (Ch. 1-4) Definitions Population: The complete set of numerical information on a particular quantity in which an investigator is interested. We assume

### Difference of Means and ANOVA Problems

Difference of Means and Problems Dr. Tom Ilvento FREC 408 Accounting Firm Study An accounting firm specializes in auditing the financial records of large firm It is interested in evaluating its fee structure,particularly

### Simple Linear Regression Inference

Simple Linear Regression Inference 1 Inference requirements The Normality assumption of the stochastic term e is needed for inference even if it is not a OLS requirement. Therefore we have: Interpretation

### 2 Precision-based sample size calculations

Statistics: An introduction to sample size calculations Rosie Cornish. 2006. 1 Introduction One crucial aspect of study design is deciding how big your sample should be. If you increase your sample size

### 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

### 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

### 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

### 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

### November 08, 2010. 155S8.6_3 Testing a Claim About a Standard Deviation or Variance

Chapter 8 Hypothesis Testing 8 1 Review and Preview 8 2 Basics of Hypothesis Testing 8 3 Testing a Claim about a Proportion 8 4 Testing a Claim About a Mean: σ Known 8 5 Testing a Claim About a Mean: σ

### 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

### 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

### Statistics I for QBIC. Contents and Objectives. Chapters 1 7. Revised: August 2013

Statistics I for QBIC Text Book: Biostatistics, 10 th edition, by Daniel & Cross Contents and Objectives Chapters 1 7 Revised: August 2013 Chapter 1: Nature of Statistics (sections 1.1-1.6) Objectives

### Test Positive True Positive False Positive. Test Negative False Negative True Negative. Figure 5-1: 2 x 2 Contingency Table

ANALYSIS OF DISCRT VARIABLS / 5 CHAPTR FIV ANALYSIS OF DISCRT VARIABLS Discrete variables are those which can only assume certain fixed values. xamples include outcome variables with results such as live

### 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

### Chapter 5: Normal Probability Distributions - Solutions

Chapter 5: Normal Probability Distributions - Solutions Note: All areas and z-scores are approximate. Your answers may vary slightly. 5.2 Normal Distributions: Finding Probabilities If you are given that

### statistics Chi-square tests and nonparametric Summary sheet from last time: Hypothesis testing Summary sheet from last time: Confidence intervals

Summary sheet from last time: Confidence intervals Confidence intervals take on the usual form: parameter = statistic ± t crit SE(statistic) parameter SE a s e sqrt(1/n + m x 2 /ss xx ) b s e /sqrt(ss

### 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.

### 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

### 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

### PRACTICE PROBLEMS FOR BIOSTATISTICS

PRACTICE PROBLEMS FOR BIOSTATISTICS BIOSTATISTICS DESCRIBING DATA, THE NORMAL DISTRIBUTION 1. The duration of time from first exposure to HIV infection to AIDS diagnosis is called the incubation period.

### Point Biserial Correlation Tests

Chapter 807 Point Biserial Correlation Tests Introduction The point biserial correlation coefficient (ρ in this chapter) is the product-moment correlation calculated between a continuous random variable

### Lecture 8. Confidence intervals and the central limit theorem

Lecture 8. Confidence intervals and the central limit theorem Mathematical Statistics and Discrete Mathematics November 25th, 2015 1 / 15 Central limit theorem Let X 1, X 2,... X n be a random sample of

### Math 58. Rumbos Fall 2008 1. Solutions to Review Problems for Exam 2

Math 58. Rumbos Fall 2008 1 Solutions to Review Problems for Exam 2 1. For each of the following scenarios, determine whether the binomial distribution is the appropriate distribution for the random variable

### DATA INTERPRETATION AND STATISTICS

PholC60 September 001 DATA INTERPRETATION AND STATISTICS Books A easy and systematic introductory text is Essentials of Medical Statistics by Betty Kirkwood, published by Blackwell at about 14. DESCRIPTIVE

### Confidence Intervals for Cp

Chapter 296 Confidence Intervals for Cp Introduction This routine calculates the sample size needed to obtain a specified width of a Cp confidence interval at a stated confidence level. Cp is a process

### 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

### 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

### Two-sample hypothesis testing, II 9.07 3/16/2004

Two-sample hypothesis testing, II 9.07 3/16/004 Small sample tests for the difference between two independent means For two-sample tests of the difference in mean, things get a little confusing, here,

### 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

### Unit 26: Small Sample Inference for One Mean

Unit 26: Small Sample Inference for One Mean Prerequisites Students need the background on confidence intervals and significance tests covered in Units 24 and 25. Additional Topic Coverage Additional coverage

### Correlational Research

Correlational Research Chapter Fifteen Correlational Research Chapter Fifteen Bring folder of readings The Nature of Correlational Research Correlational Research is also known as Associational Research.

### Name: (b) Find the minimum sample size you should use in order for your estimate to be within 0.03 of p when the confidence level is 95%.

Chapter 7-8 Exam Name: Answer the questions in the spaces provided. If you run out of room, show your work on a separate paper clearly numbered and attached to this exam. Please indicate which program

### Review #2. Statistics

Review #2 Statistics Find the mean of the given probability distribution. 1) x P(x) 0 0.19 1 0.37 2 0.16 3 0.26 4 0.02 A) 1.64 B) 1.45 C) 1.55 D) 1.74 2) The number of golf balls ordered by customers of

### 1. How different is the t distribution from the normal?

Statistics 101 106 Lecture 7 (20 October 98) c David Pollard Page 1 Read M&M 7.1 and 7.2, ignoring starred parts. Reread M&M 3.2. The effects of estimated variances on normal approximations. t-distributions.

### Using Stata for One Sample Tests

Using Stata for One Sample Tests All of the one sample problems we have discussed so far can be solved in Stata via either (a) statistical calculator functions, where you provide Stata with the necessary

### Practice Problems and Exams

Practice Problems and Exams 1 The Islamic University of Gaza Faculty of Commerce Department of Economics and Political Sciences An Introduction to Statistics Course (ECOE 1302) Spring Semester 2009-2010

### 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

### 1 Nonparametric Statistics

1 Nonparametric Statistics When finding confidence intervals or conducting tests so far, we always described the population with a model, which includes a set of parameters. Then we could make decisions

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

Sample Practice problems - chapter 12-1 and 2 proportions for inference - Z Distributions Name MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Provide

### 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

### " Y. Notation and Equations for Regression Lecture 11/4. Notation:

Notation: Notation and Equations for Regression Lecture 11/4 m: The number of predictor variables in a regression Xi: One of multiple predictor variables. The subscript i represents any number from 1 through

### 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

### Chapter 4 Statistical Inference in Quality Control and Improvement. Statistical Quality Control (D. C. Montgomery)

Chapter 4 Statistical Inference in Quality Control and Improvement 許 湘 伶 Statistical Quality Control (D. C. Montgomery) Sampling distribution I a random sample of size n: if it is selected so that the

### Tests for Two Proportions

Chapter 200 Tests for Two Proportions Introduction This module computes power and sample size for hypothesis tests of the difference, ratio, or odds ratio of two independent proportions. The test statistics