Reading: Course-Pack Chapters 17 – 18,

Slides:



Advertisements
Similar presentations
Chapter 10: Hypothesis Testing
Advertisements

Confidence Intervals for
Chapter 9 Chapter 10 Chapter 11 Chapter 12
Sampling Distributions
Copyright © 2014, 2013, 2010 and 2007 Pearson Education, Inc. Chapter Hypothesis Tests Regarding a Parameter 10.
Copyright © 2014, 2013, 2010 and 2007 Pearson Education, Inc. Chapter Hypothesis Tests Regarding a Parameter 10.
Chapter 11: Inference for Distributions
Chapter 9 Hypothesis Testing.
CHAPTER 23 Inference for Means.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 9 Hypothesis Testing.
Overview Definition Hypothesis
Section 9.1 Introduction to Statistical Tests 9.1 / 1 Hypothesis testing is used to make decisions concerning the value of a parameter.
4.1Introduction The field of statistical inference consist of those methods used to make decisions or to draw conclusions about a population. These methods.
Review of Statistical Inference Prepared by Vera Tabakova, East Carolina University ECON 4550 Econometrics Memorial University of Newfoundland.
1 Sampling Distributions Presentation 2 Sampling Distribution of sample proportions Sampling Distribution of sample means.
+ DO NOW What conditions do you need to check before constructing a confidence interval for the population proportion? (hint: there are three)
Copyright © 2009 Pearson Education, Inc. Chapter 23 Inferences About Means.
Estimating a Population Mean
Slide 23-1 Copyright © 2004 Pearson Education, Inc.
Copyright © Cengage Learning. All rights reserved. 10 Inferences Involving Two Populations.
More About Significance Tests
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 9: Testing a Claim Section 9.3a Tests About a Population Mean.
CHAPTER 10 CONFIDENCE INTERVALS FOR ONE SAMPLE POPULATION
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Section 9-2 Inferences About Two Proportions.
CHAPTER 18: Inference about a Population Mean
Significance Tests: THE BASICS Could it happen by chance alone?
+ Chapter 12: Inference for Regression Inference for Linear Regression.
Copyright © Cengage Learning. All rights reserved. 10 Inferences Involving Two Populations.
Stat 1510 Statistical Inference: Confidence Intervals & Test of Significance.
Chapter 18: Sampling Distribution Models
10.2 Tests of Significance Use confidence intervals when the goal is to estimate the population parameter If the goal is to.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 8: Estimating with Confidence Section 8.3 Estimating a Population Mean.
1 Chapter 10: Introduction to Inference. 2 Inference Inference is the statistical process by which we use information collected from a sample to infer.
Copyright © 2012 Pearson Education. All rights reserved © 2010 Pearson Education Copyright © 2012 Pearson Education. All rights reserved. Chapter.
1 Chapter 9 Hypothesis Testing. 2 Chapter Outline  Developing Null and Alternative Hypothesis  Type I and Type II Errors  Population Mean: Known 
Economics 173 Business Statistics Lecture 4 Fall, 2001 Professor J. Petry
Copyright © 2010 Pearson Education, Inc. Chapter 19 Confidence Intervals for Proportions.
Sampling distributions rule of thumb…. Some important points about sample distributions… If we obtain a sample that meets the rules of thumb, then…
Chapter 12 Confidence Intervals and Hypothesis Tests for Means © 2010 Pearson Education 1.
AP Statistics Section 11.1 B More on Significance Tests.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Unit 5: Estimating with Confidence Section 11.1 Estimating a Population Mean.
STATISTICAL INFERENCES
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 12 More About Regression 12.1 Inference for.
Understanding Basic Statistics Fourth Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Nine Hypothesis Testing.
Copyright © 1998, Triola, Elementary Statistics Addison Wesley Longman 1 Assumptions 1) Sample is large (n > 30) a) Central limit theorem applies b) Can.
Inference About Means Chapter 23. Getting Started Now that we know how to create confidence intervals and test hypotheses about proportions, it’d be nice.
UNIT 3 YOUR FINAL EXAMINATION STUDY MATERIAL STARTS FROM HERE Copyright ©2011 Brooks/Cole, Cengage Learning 1.
Copyright© 1998, Triola, Elementary Statistics by Addison Wesley Longman 1 Testing a Claim about a Mean: Large Samples Section 7-3 M A R I O F. T R I O.
+ Unit 5: Estimating with Confidence Section 8.3 Estimating a Population Mean.
+ Chapter 8 Estimating with Confidence 8.1Confidence Intervals: The Basics 8.2Estimating a Population Proportion 8.3Estimating a Population Mean.
Copyright © 2010 Pearson Education, Inc. Slide
Copyright © 2009 Pearson Education, Inc. 9.2 Hypothesis Tests for Population Means LEARNING GOAL Understand and interpret one- and two-tailed hypothesis.
Copyright © 2009 Pearson Education, Inc. Chapter 18 Sampling Distribution Models.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 12 More About Regression 12.1 Inference for.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 1 FINAL EXAMINATION STUDY MATERIAL III A ADDITIONAL READING MATERIAL – INTRO STATS 3 RD EDITION.
Copyright © 2009 Pearson Education, Inc. Chapter 19 Confidence Intervals for Proportions.
Chapter 9 Introduction to the t Statistic
Chapter 10 Confidence Intervals for Proportions © 2010 Pearson Education 1.
Chapter 8: Estimating with Confidence
Chapter Nine Hypothesis Testing.
Hypothesis Testing: One-Sample Inference
Confidence Intervals for Proportions
FINAL EXAMINATION STUDY MATERIAL II
FINAL EXAMINATION STUDY MATERIAL PART I
Understanding Sampling Distributions: Statistics as Random Variables
FINAL EXAMINATION STUDY MATERIAL III
CHAPTER 12 More About Regression
CHAPTER 12 More About Regression
Chapter 23 Inference About Means.
CHAPTER 12 More About Regression
Presentation transcript:

Reading: Course-Pack Chapters 17 – 18, 23 - 26 SAMPLING DISTRIBUTION FOR PROPORTIONS AND MEANS CONFIDENCE INTERVALS FOR PROPORTIONS AND MEANS HYPOTHESES TESTINGS FOR PROPORTIONS AND MEANS

SAMPLING DISTRIBUTION MODELS SAMPLING DISTRIBUTION MODEL FOR A PROPORTION PROBLEM FORMULATION: SUPPOSE THAT p IS AN UNKNOWN PROPORTION OF ELEMENTS OF A CERTAIN TYPE S IN A POPULATION. EXAMPLES PROPORTION OF LEFT - HANDED PEOPLE; PROPORTION OF HIGH SCHOOL STUDENTS WHO ARE FAILING A READING TEST; PROPORTION OF VOTERS WHO WILL VOTE FOR MR. X.

ESTIMATION OF p TO ESTIMATE p, WE SELECT A SIMPLE RANDOM SAMPLE (SRS), OF SIZE SAY, n = 1000, AND COMPUTE THE SAMPLE PROPORTION. SUPPOSE THE NUMBER OF THE TYPE WE ARE INTERESTED IN, IN THIS SAMPLE OF n = 1000 IS x = 437. THEN THE SAMPLE PROPORTION IS COMPUTED USING THE FORMULA

IN THE EXAMPLE ABOVE

WHAT IS THE ERROR OF ESTIMATION? THAT IS, WHAT IS WHAT MODEL CAN HELP US FIND THE BEST ESTIMATE OF THE TRUE PROPORTION OF p? LET’S START THE ANALYSIS BY FIRST ANSWERING THE SECOND QUESTION.

APPROACH SUPPOSE THAT WE TAKE A SECOND SAMPLE OF SIZE 1000 AND COMPUTE P(HAT); CLEARLY, THE NEW ESTIMATE WILL BE DIFFERENT FROM 0.437. NOW, TAKE A THIRD SAMPLE, A FOURTH SAMPLE, UNTIL THE TWO THOUSANDTH (2000 –TH) SAMPLE, EACH OF SIZE 1000. IT IS OBVIOUS THAT WE WILL LIKELY OBTAIN TWO THOUSAND DIFFERENT P(HATS) AS ILLUSTRATED IN THE TABLE BELOW.

SAMPLES OF SIZE n P(HATS) TABLE OF 2000 SAMPLES OF SIZE EACH n=1000, AND THEIR CORRESPONDING P(HATS) SAMPLES OF SIZE n P(HATS) …

WHAT DO WE DO WITH THE DATA FOR P(HATS)? WE CONSTRUCT A HISTOGRAM OF THESE 2000 P(HATS). # OF SAMPLES p P(HATS)

THE HISTOGRAM ABOVE IS AN EXAMPLE OF WHAT WE WOULD GET IF WE COULD SEE ALL THE PROPORTIONS FROM ALL POSSIBLE SAMPLES. THAT DISTRIBUTION HAS A SPECIAL NAME. IT IS CALLED THE SAMPLING DISTRIBUTION OF THE PROPORTIONS. OBSERVE THAT THE HISTOGRAM IS UNIMODAL, ROUGHLY SYMMETRIC, AND IT’S CENTERED AT P.

HOW GOOD IS THE NORMAL MODEL? WHAT DOES THE SHAPE OF THE HISTOGRAM REMIND US ABOUT A MODEL THAT MAY JUST BE THE RIGHT ONE FOR SAMPLE PROPORTIONS? ANSWER: IT IS AMAZING AND FORTUNATE THAT A NORMAL MODEL IS JUST THE RIGHT ONE FOR THE HISTOGRAMS OF SAMPLE PROPORTIONS. HOW GOOD IS THE NORMAL MODEL? IT IS GOOD IF THE FOLLOWING ASSUMPTIONS AND CONDITIONS HOLD.

ASSUMPTIONS AND CONDITIONS INDEPENDENCE ASSUMPTION: THE SAMPLED VALUES MUST BE INDEPENDENT OF EACH OTHER. SAMPLE SIZE ASSUMPTION: THE SAMPLE SIZE, n, MUST BE LARGE ENOUGH REMARK: ASSUMPTIONS ARE HARD – OFTEN IMPOSSIBLE TO CHECK. THAT’S WHY WE ASSUME THEM. GLADLY, SOME CONDITIONS MAY PROVIDE INFORMATION ABOUT THE ASSUMPTIONS.

CONDITIONS RANDOMIZATION CONDITION: THE DATA VALUES MUST BE SAMPLED RANDOMLY. IF POSSIBLE, USE SIMPLE RANDOM SAMPLING DESIGN TO SAMPLE THE POPULATION OF INTEREST. 10% CONDITION: THE SAMPLE SIZE, n, MUST BE NO LARGER THAN 10% OF THE POPULATION OF INTEREST. SUCCESS/FAILURE CONDITION: THE SAMPLE SIZE HAS TO BE BIG ENOUGH SO THAT WE EXPECT AT LEAST 10 SUCCESSES AND AT LEAST 10 FAILLURES. THAT IS,

THE CENTRAL LIMIT THEOREM FOR THE SAMPLING DISTRIBUTION OF A PROPORTION FOR A LARGE SAMPLE SIZE n, THE SAMPLING DISTRIBUTION OF P(HAT) IS APPROXIMATELY THAT IS, P(HAT) IS NORMAL WITH

EXAMPLE 1 ASSUME THAT 30% OF STUDENTS AT A UNIVERSITY WEAR CONTACT LENSES (A) WE RANDOMLY PICK 100 STUDENTS. LET P(HAT) REPRESENT THE PROPORTION OF STUDENTS IN THIS SAMPLE WHO WEAR CONTACTS. WHAT’S THE APPROPRIATE MODEL FOR THE DISTRIBUTION OF P(HAT)? SPECIFY THE NAME OF THE DISTRIBUTION, THE MEAN, AND THE STANDARD DEVIATION. BE SURE TO VERIFY THAT THE CONDITIONS ARE MET. (B) WHAT’S THE APPROXIMATE PROBABILITY THAT MORE THAN ONE THIRD OF THIS SAMPLE WEAR CONTACTS?

SOLUTION TO EXAMPLE 1

EXAMPLE 2 INFORMATION ON A PACKET OF SEEDS CLAIMS THAT THE GERMINATION RATE IS 92%. WHAT’S THE PROBABILITY THAT MORE THAN 95% OF THE 160 SEEDS IN THE PACKET WILL GERMINATE? BE SURE TO DISCUSS YOUR ASSUMPTIONS AND CHECK THE CONDITIONS THAT SUPPORT YOUR MODEL. SOLUTION

SAMPLING DISTRIBUTION OF THE SAMPLE MEAN APPROACH FOR ESTIMATING SAME AS FOR SAMPLING DISTRIBUTION FOR PROPORTIONS ILLUSTRATED ABOVE

ASSUMPTIONS AND CONDITIONS INDEPENDENCE ASSUMPTION: THE SAMPLED VALUES MUST BE INDEPENDENT OF EACH OTHER SAMPLE SIZE ASSUMPTION: THE SAMPLE SIZE MUST BE SUFFICIENTLY LARGE. REMARK: WE CANNOT CHECK THESE DIRECTLY, BUT WE CAN THINK ABOUT WHETHER THE INDEPENDENCE ASSUMPTION IS PLAUSIBLE.

CONDITIONS RANDOMIZATION CONDITION: THE DATA VALUES MUST BE SAMPLED RANDOMLY, OR THE CONCEPT OF A SAMPLING DISTRIBUTION MAKES NO SENSE. IF POSSIBLE, USE SIMPLE RANDOM SAMPLING DESIGN TO ABTAIN THE SAMPLE. 10% CONDITION: WHEN THE SAMPLE IS DRAWN WITHOUT REPLACEMENT (AS IS USUALLY THE CASE), THE SAMPLE SIZE, n, SHOULD BE NO MORE THAN 10% OF THE POPULATION. LARGE ENOUGH SAMPLE CONDITION: IF THE POPULATION IS UNIMODAL AND SYMMETRIC, EVEN A FAIRLY SMALL SAMPLE IS OKAY. IF THE POPULATION IS STRONGLY SKEWED, IT CAN TAKE A PRETTY LARGE SAMPLE TO ALLOW USE OF A NORMAL MODEL TO DESCRIBE THE DISTRIBUTION OF SAMPLE MEANS

CENTRAL LIMIT THEOREM FOR THE SAMPLING DISTRIBUTION FOR MEANS FOR A LARGE ENOUGH SAMPLE SIZE, n, THE SAMPLING DISTRIBUTION OF THE SAMPLE MEAN IS APPROXIMATELY THAT IS, NORMAL WITH

EXAMPLE 3 SUPPOSE THE MEAN ADULT WEIGHT, , IS 175 POUNDS WITH STANDARD DEVIATION, , OF 25 POUNDS. AN ELEVATOR HAS A WEIGHT LIMIT OF 10 PERSONS OR 2000 POUNDS. WHAT IS THE PROBABILITY THAT 10 PEOPLE WHO GET ON THE ELEVATOR OVERLOAD ITS WEIGHT LIMIT? SOLUTION

EXAMPLE 4 STATISTICS FROM CORNELL’S NORTHEAST REGIONAL CLIMATE CENTER INDICATE THAT ITHACA, NY, GETS AN AVERAGE OF 35.4 INCHES OF RAIN EACH YEAR, WITH A STANDARD DEVIATION OF 4.2 INCHES. ASSUME THAT A NORMAL MODEL APPLIES. (A) DURING WHAT PERCENTAGE OF YEARS DOES ITHACA GET MORE THAN 40 INCHES OF RAIN? (B) LESS THAN HOW MUCH RAIN FALLS IN THE DRIEST 20% OF ALL YEARS? (C) A CORNELL UNIVERSITY STUDENT IS IN ITHACA FOR 4 YEARS. LET y (bar) REPRESENT THE MEAN AMOUNT OF RAIN FOR THOSE 4 YEARS. DESCRIBE THE SAMPLING DISTRIBUTION MODEL OF THIS SAMPLE MEAN, y (bar). (D) WHAT’S THE PROBABILITY THAT THOSE 4 YEARS AVERAGE LESS THAN 30 INCHES OF RAIN?

SOLUTION TO EXAMPLE 4

CONFIDENCE INTERVALS FOR PROPORTIONS ESTIMATION POINT ESTIMATION PRODUCES A NUMBER (AN ESTIMATE) WHICH IS BELIEVED TO BE CLOSE TO THE VALUE OF UNKNOWN PARAMETER. FOR EXAMPLE: A CONCLUSION MAYBE THAT “PROPORTION P OF LEFT-HANDED STUDENTS IN MSU IS APPROXIMATELY O.46”

S P SOME POINT ESTIMATORS PARAMETER ESTIMATOR PROPORTION MEAN STANDARD DEVIATION S

INTERVAL ESTIMATION PRODUCES AN INTERVAL THAT CONTAINS THE ESTIMATED PARAMETER WITH A PRESCRIBED CONFIDENCE. A CONFIDENCE INTERVAL OFTEN HAS THE FORM:

DEFINITION GIVEN A CONFIDENCE LEVEL C%, THE CRITICAL VALUE IS THE NUMBER SO THAT THE AREA UNDER THE PROPER CURVE AND BETWEEN IS C (IN DECIMALS).

SOME CRITICAL VALUES FOR STANDARD NORMAL DISTRIBUTION C % CONFIDENCE LEVEL CRITICAL VALUE 80% 1.282 90% 1.645 95% 1.960 98% 2.326 99% 2.576

WHAT DOES C% CONFIDENCE REALLY MEAN? FORMALLY, WHAT WE MEAN IS THAT C% OF SAMPLES OF THIS SIZE WILL PRODUCE CONFIDENCE INTERVALS THAT CAPTURE THE TRUE PROPORTION. C% CONFIDENCE MEANS THAT ON AVERAGE, IN C OUT OF 100 ESTIMATIONS, THE INTERVAL WILL CONTAIN THE TRUE ESTIMATED PARAMETER. E.G. A 95% CONFIDENCE MEANS THAT ON THE AVERAGE, IN 95 OUT OF 100 ESTIMATIONS, THE INTERVAL WILL CONTAIN THE TRUE ESTIMATED PARAMETER.

CONFIDENCE INTERVAL FOR PROPORTION P [ONE-PROPORTION Z-INTERVAL] ASSUMPTIONS AND CONDITIONS RANDOMIZATION CONDITION 10% CONDITION SAMPLE SIZE ASSUMPTION OR SUCCESS/FAILURE CONDITION INDEPENDENCE ASSUMPTION NOTE: PROPER RANDOMIZATION CAN HELP ENSURE INDEPENDENCE.

CONSTRUCTING CONFIDENCE INTERVALS ESTIMATOR SAMPLE PROPORTION STANDARD ERROR C% MARGIN OF ERROR C% CONFIDENCE INTERVAL

SAMPLE SIZE NEEDED TO PRODUCE A CONFIDENCE INTERVAL WITH A GIVEN MARGIN OF ERROR, ME SOLVING FOR n GIVES WHERE IS A REASONABLE GUESS. IF WE CANNOT MAKE A GUESS, WE TAKE

EXAMPLE 1 A MAY 2002 GALLUP POLL FOUND THAT ONLY 8% OF A RANDOM SAMPLE OF 1012 ADULTS APPROVED OF ATTEMPTS TO CLONE A HUMAN. FIND THE MARGIN OF ERROR FOR THIS POLL IF WE WANT 95% CONFIDENCE IN OUR ESTIMATE OF THE PERCENT OF AMERICAN ADULTS WHO APPROVE OF CLONING HUMANS. EXPLAIN WHAT THAT MARGIN OF ERROR MEANS. IF WE ONLY NEED TO BE 90% CONFIDENT, WILL THE MARGIN OF ERROR BE LARGER OR SMALLER? EXPLAIN. FIND THAT MARGIN OF ERROR. IN GENERAL, IF ALL OTHER ASPECTS OF THE SITUATION REMAIN THE SAME, WOULD SMALLER SAMPLES PRODUCE SMALLER OR LARGER MARGINS OF ERROR?

SOLUTION

EXAMPLE 2 DIRECT MAIL ADVERTISERS SEND SOLICITATIONS (a.k.a. “junk mail”) TO THOUSANDS OF POTENTIAL CUSTOMERS IN THE HOPE THAT SOME WILL BUY THE COMPANY’S PRODUCT. THE RESPONSE RATE IS USUALLY QUITE LOW. SUPPOSE A COMPANY WANTS TO TEST THE RESPONSE TO A NEW FLYER, AND SENDS IT TO 1000 PEOPLE RANDOMLY SELECTED FROM THEIR MAILING LIST OF OVER 200,000 PEOPLE. THEY GET ORDERS FROM 123 OF THE RECIPIENTS. CREATE A 90% CONFIDENCE INTERVAL FOR THE PERCENTAGE OF PEOPLE THE COMPANY CONTACTS WHO MAY BUY SOMETHING. EXPLAIN WHAT THIS INTERVAL MEANS. EXPLAIN WHAT “90% CONFIDENCE” MEANS. THE COMPANY MUST DECIDE WHETHER TO NOW DO A MASS MAILING. THE MAILING WON’T BE COST-EFFECTIVE UNLESS IT PRODUCES AT LEAST A 5% RETURN. WHAT DOES YOUR CONFIDENCE INTERVAL SUGGEST? EXPLAIN.

SOLUTION

EXAMPLE 3 IN 1998 A SAN DIEGO REPRODUCTIVE CLINIC REPORTED 49 BIRTHS TO 207 WOMEN UNDER THE AGE OF 40 WHO HAD PREVIOUSLY BEEN UNABLE TO CONCEIVE. FIND A 90% CONFIDENCE INTERVAL FOR THE SUCCESS RATE AT THIS CLINIC. INTERPRET YOUR INTERVAL IN THIS CONTEXT. EXPLAIN WHAT “90 CONFIDENCE” MEANS. WOULD IT BE MISLEADING FOR THE CLINIC TO ADVERTISE A 25% SUCCESS RATE? EXPLAIN. THE CLINIC WANTS TO CUT THE STATED MARGIN OF ERROR IN HALF. HOW MANY PATIENTS’ RESULTS MUST BE USED? DO YOU HAVE ANY CONCERNS ABOUT THIS SAMPLE? EXPLAIN.

SOLUTION

INFERENCES ABOUT MEANS  

ASSUMPTIONS AND CONDITIONS INDEPENDENCE ASSUMPTION: THE DATA VALUES SHOULD BE INDEPENDENT. THERE’S REALLY NO WAY TO CHECK INDEPENDENCE OF THE DATA BY LOOKING AT THE SAMPLE, BUT WE SHOULD THINK ABOUT WHETHER THE ASSUMPTION IS REASONABLE. RANDOMIZATION CONDITION: THE DATA SHOULD ARISE FROM A RANDOM SAMPLE OR SUITABLY A RANDOMIZED EXPERIMENT.

ASSUMPTIONS AND CONDITIONS 10% CONDITION: THE SAMPLE IS NO MORE THAN 10% OF THE POPULATION. NORMAL POPULATION ASSUMPTION OR NEARLY NORMAL CONDITION: THE DATA COME FROM A DISTRIBUTION THAT IS UNIMODAL AND SYMMETRIC. REMARK: CHECK THIS CONDITION BY MAKING A HISTOGRAM OR NORMAL PROBABILITY PLOT.

CONSTRUCTING CONFIDENCE INTERVALS FOR MEANS POINT ESTIMATOR: STANDARD ERROR: C% MARGIN OF ERROR:

WHERE tn-1* IS A CRITICAL VALUE FOR STUDENT’S t – MODEL WITH n – 1 DEGREES OF FREEDOM THAT CORRESPONDS TO C% CONFIDENCE LEVEL.  

REMARK  

ILLUSTRATIVE PICTURE

FINDING CRITICAL t - VALUES Using t tables (Table T) and/or calculator, find or estimate the 1. critical value t7* for 90% confidence level if number of degrees of freedom is 7 2. one tail probability if t = 2.56 and number of degrees of freedom is 7 3. two tail probability if t = 2.56 and number of degrees of freedom is 7 NOTE: If t has a Student's t-distribution with degrees of freedom, df, then TI-83 function tcdf(a,b,df) , computes the area under the t-curve and between a and b.

EXAMPLES FROM PRACTICE EXERCISES SHEET 7

TESTING HYPOTHESES ABOUT PROPORTIONS PROBLEM SUPPOSE WE TOSSED A COIN 100 TIMES AND WE OBTAINED 38 HEADS AND 62 TAILS. IS THE COIN BIASED? THERE IS NO WAY TO SAY YES OR NO WITH 100% CERTAINTY. BUT WE MAY EVALUATE THE STRENGTH OF SUPPORT TO THE HYPOTHESIS THAT “THE COIN IS BIASED.”

TESTING HYPOTHESES NULL HYPOTHESIS ESTABLISHED FACT; A STATEMENT THAT WE EXPECT DATA TO CONTRADICT; NO CHANGE OF PARAMETERS. ALTERNATIVE HYPOTHESIS NEW CONJECTURE; YOUR CLAIM; A STATEMENT THAT NEEDS A STRONG SUPPORT FROM DATA TO CLAIM IT; CHANGE OF PARAMETERS

IN OUR PROBLEM

EXAMPLE WRITE THE NULL AND ALTERNATIVE HYPOTHESES YOU WOULD USE TO TEST EACH OF THE FOLLOWING SITUATIONS. (A) IN THE 1950s ONLY ABOUT 40% OF HIGH SCHOOL GRADUATES WENT ON TO COLLEGE. HAS THE PERCENTAGE CHANGED? (B) 20% OF CARS OF A CERTAIN MODEL HAVE NEEDED COSTLY TRANSMISSION WORK AFTER BEING DRIVEN BETWEEN 50,000 AND 100,000 MILES. THE MANUFACTURER HOPES THAT REDESIGN OF A TRANSMISSION COMPONENT HAS SOLVED THIS PROBLEM. (C) WE FIELD TEST A NEW FLAVOR SOFT DRINK, PLANNING TO MARKET IT ONLY IF WE ARE SURE THAT OVER 60% OF THE PEOPLE LIKE THE FLAVOR.

ATTITUDE ASSUME THAT THE NULL HYPOTHESIS IS TRUE AND UPHOLD IT, UNLESS DATA STRONGLY SPEAKS AGAINST IT.

TEST MECHANIC FROM DATA, COMPUTE THE VALUE OF A PROPER TEST STATISTICS, THAT IS, THE Z-STATISTICS. IF IT IS FAR FROM WHAT IS EXPECTED UNDER THE NULL HYPOTHESIS ASSUMPTION, THEN WE REJECT THE NULL HYPOTHESIS.

COMPUTATION OF THE Z – STATISTICS OR PROPER TEST STATISTICS

CONSIDERING THE EXAMPLE AT THE BEGINNING:

THE P – VALUE AND ITS COMPUTATION THE PROBABILITY THAT IF THE NULL HYPOTHESIS IS CORRECT, THE TEST STATISTIC TAKES THE OBSERVED OR MORE EXTREME VALUE. P – VALUE MEASURES THE STRENGTH OF EVIDENCE AGAINST THE NULL HYPOTHESIS. THE SMALLER THE P – VALUE, THE STRONGER THE EVIDENCE AGAINST THE NULL HYPOTHESIS.

THE WAY THE ALTERNATIVE HYPOTHESIS IS WRITTEN IS HELPFUL IN COMPUTING THE P - VALUE NORMAL CURVE

IN OUR EXAMPLE, P – VALUE = P( z < - 2.4) = 0.0082 INTERPRETATION: IF THE COIN IS FAIR, THEN THE PROBABILITY OF OBSERVING 38 OR FEWER HEADS IN 100 TOSSES IS 0.0082

CONCLUSION: GIVEN SIGNIFICANCE LEVEL = 0.05 WE REJECT THE NULL HYPOTHESIS IF THE P – VALUE IS LESS THAN THE SIGNIFICANCE LEVEL OR ALPHA LEVEL. WE FAIL TO REJECT THE NULL HYPOTHESIS (I.E. WE RETAIN THE NULL HYPOTHESIS) IF THE P – VALUE IS GREATER THAN THE SIGNIFICANCE LEVEL OR ALPHA LEVEL.

ASSUMPTIONS AND CONDITIONS RANDOMIZATION INDEPENDENT OBSERVATIONS 10% CONDITION SUCCESS/FAILURE CONDITION

EXAMPLE 1 THE NATIONAL CENTER FOR EDUCATION STATISTICS MONITORS MANY ASPECTS OF ELEMENTARY AND SECONDARY EDUCATION NATIONWIDE. THEIR 1996 NUMBERS ARE OFTEN USED AS A BASELINE TO ASSESS CHANGES. IN 1996, 31% OF STUDENTS REPORTED THAT THEIR MOTHERS HAD GRADUATED FROM COLLEGE. IN 2000, RESPONSES FROM 8368 STUDENTS FOUND THAT THIS FIGURE HAD GROWN TO 32%. IS THIS EVIDENCE OF A CHANGE IN EDUCATION LEVEL AMONG MOTHERS?

EXAMPLE 1 CONT’D (A) WRITE APPROPRIATE HYPOTHESES. (B) CHECK THE ASSUMPTIONS AND CONDITIONS. (C) PERFORM THE TEST AND FIND THE P – VALUE. (D) STATE YOUR CONCLUSION. (E) DO YOU THINK THIS DIFFERENCE IS MEANINGFUL? EXPLAIN.

SOLUTION

EXAMPLE 2 IN THE 1980s IT WAS GENERALLY BELIEVED THAT CONGENITAL ABNORMALITIES AFFECTED ABOUT 5% OF THE NATION’S CHILDREN. SOME PEOPLE BELIEVE THAT THE INCREASE IN THE NUMBER OF CHEMICALS IN THE ENVIRONMENT HAS LED TO AN INCREASE IN THE INCIDENCE OF ABNORMALITIES. A RECENT STUDY EXAMINED 384 CHILDREN AND FOUND THAT 46 OF THEM SHOWED SIGNS OF AN ABNORMALITY. IS THIS STRONG EVIDENCE THAT THE RISK HAS INCREASED? ( WE CONSIDER A P – VALUE OF AROUND 5% TO REPRESENT STRONG EVIDENCE.)

EXAMPLE 2 CONT’D (A) WRITE APPROPRIATE HYPOTHESES. (B) CHECK THE NECESSARY ASSUMPTIONS. (C) PERFORM THE MECHANICS OF THE TEST. WHAT IS THE P – VALUE? (D) EXPLAIN CAREFULLY WHAT THE P – VALUE MEANS IN THIS CONTEXT. (E) WHAT’S YOUR CONCLUSION? (F) DO ENVIRONMENTAL CHEMICALS CAUSE CONGENITAL ABNORMALITIES?

SOLUTION

INFERENCES ABOUT MEANS TESTING HYPOTHESES ABOUT MEANS ONE – SAMPLE t – TEST FOR MEANS PROBLEM Test HO:  = 0

ASSUMPTIONS AND CONDITIONS INDEPENDENCE ASSUMPTION RANDOMIZATION CONDITION 10% CONDITION NEARLY NORMAL CONDITION OR LARGE SAMPLE

STEPS IN TESTING NULL HYPOTHESIS HO:  = 0 ALTERNATIVE HYPOTHESIS HA:  > 0 or HA:  < 0 or HA:  ≠ 0  

t HAS STUDENT’S t – DISTRIBUTION WITH n – 1 DEGREES OF FREEDOM. ATTITUDE: Assume that the null hypothesis HO is true and uphold it, unless data strongly speaks against it. STANDARD ERROR TEST STATISTICS t HAS STUDENT’S t – DISTRIBUTION WITH n – 1 DEGREES OF FREEDOM.

P-value: Let to be the observed value of the test statistic. HA P-value SHAPE OF DISTRIBUTION  HA:  > 0 P(t > to)   HA:  < 0 P(t <to) HA:  ≠ 0 P(t > |to|) + P(t < -|to|)

CONCLUSION