SlideShare ist ein Scribd-Unternehmen logo
1 von 40
Mean Test
Chapter 9, 
Hypothesis Testing 
 Developing Null and Alternative Hypotheses 
 Type I and Type II Errors 
 Population Mean: s Known 
 Population Mean: s Unknown 
 Population Proportion
Introduction 
Assumption about population parameter is 
hypothesis. Process of testing its validity is known as 
hypothesis testing. i.e. claim about something is 
hypothesis and process of testing its validity is 
hypothesis testing.
Null and alternative hypothesis 
Null hypothesis: Assumption about population 
parameter is null hypothesis. Here we assume that 
there is not significant difference between assumed 
value and true value. It is denoted by Ho. The null 
hypothesis is written in terms of population. For eg. If 
we wish to test average marks of Student in statistics in 
MBA I term is 75 or not then null hypothesis is 
Ho:μ=75
Alternative hypothesis 
One inference may the null hypothesis is considered 
false ,something else must be true. 
Whenever a null hypothesis is specified, an alternative 
hypothesis is also specified, and it must be true when 
null hypothesis is false. In other words any hypothesis 
that is true when null hypothesis is false is called 
alternative hypothesis. 
Alternative hypothesis is denoted by H1
Continue 
I f we wish that Class of Statistics was properly 
handled by Mr Nirajan Bam So average marks of 
Student is 75 .This is stated as 
Ho:μ =75 Vs H1:μǂ 75 (Two tailed test) 
Again if we assume that Class of Statistics was properly 
handled by Mr Nirajan Bam So average marks of 
Student is more than 75 .This is stated as
Continue 
Ho:μ=75 Vs H1:μ>75 (Right tailed test) 
Again if Dean of PU assume that 
Class of Statistics was not properly handled by Mr 
Nirajan Bam So average marks of Student is Less than 
55 .This is stated as 
Ho:μ=55 Vs H1:μ<55 (Left tail test)
Some key points regarding Null and 
alternative hypothesis 
Ho represents current belief in a situation 
H1 is opposite of null hypothesis and represents a 
research claim or specific claim you would like to 
prove. 
Ho always refers to specified value of the population 
parameter. 
In alternative hypothesis we placed not equal sign or < 
sign or > sign on the basis of our claim
Developing Null and Alternative Hypotheses 
• It is not always obvious how the null and alternative 
hypotheses should be formulated. 
• Care must be taken to structure the hypotheses 
appropriately so that the test conclusion provides 
the information the researcher wants. 
• The context of the situation is very important in 
determining how the hypotheses should be stated. 
• In some cases it is easier to identify the alternative 
hypothesis first. In other cases the null is easier. 
• Correct hypothesis formulation will take practice.
Developing Null and Alternative 
Hypotheses 
Alternative Hypothesis as a Research Hypothesis 
• Many applications of hypothesis testing involve 
an attempt to gather evidence in support of a 
research hypothesis. 
• In such cases, it is often best to begin with the 
alternative hypothesis and make the conclusion 
that the researcher hopes to support. 
• The conclusion that the research hypothesis is true 
is made if the sample data provide sufficient 
evidence to show that the null hypothesis can be 
rejected.
Developing Null and Alternative 
Hypotheses 
 Alternative Hypothesis as a Research Hypothesis 
• Example: 
A new teaching method is developed that is 
believed to be better than the current method. 
• Alternative Hypothesis: 
The new teaching method is better. 
• Null Hypothesis: 
The new method is no better than the old method.
Developing Null and Alternative Hypotheses 
 Alternative Hypothesis as a Research Hypothesis 
• Example: 
A new sales force bonus plan is developed in an 
attempt to increase sales. 
• Alternative Hypothesis: 
The new bonus plan increase sales. 
• Null Hypothesis: 
The new bonus plan does not increase sales.
Developing Null and Alternative Hypotheses 
 Alternative Hypothesis as a Research Hypothesis 
• Example: 
A new drug is developed with the goal of lowering 
blood pressure more than the existing drug. 
• Alternative Hypothesis: 
The new drug lowers blood pressure more than 
the existing drug. 
• Null Hypothesis: 
The new drug does not lower blood pressure more 
than the existing drug.
Developing Null and Alternative 
Hypotheses 
Null Hypothesis as an Assumption to be Challenged 
• We might begin with a belief or assumption that 
a statement about the value of a population 
parameter is true. 
• We then using a hypothesis test to challenge the 
assumption and determine if there is statistical 
evidence to conclude that the assumption is 
incorrect. 
• In these situations, it is helpful to develop the null 
hypothesis first.
Developing Null and Alternative Hypotheses 
 Null Hypothesis as an Assumption to be Challenged 
• Example: 
The label on a soft drink bottle states that it 
contains 67.6 fluid ounces. 
• Null Hypothesis: 
The label is correct. m = 67.6 ounces. 
• Alternative Hypothesis: 
The label is incorrect. m ǂ 67.6 ounces.
Class work 
The statistics department installed energy-efficient 
lights, heaters, and air conditioners last year. Now they 
want to determine whether the average monthly 
energy usage has decreased. Should they perform the 
one tailed or two tailed test? If their previous monthly 
energy usage was 3,124 kilo watt hours, what are the 
null and alternative hypothesis
Summary of Forms for Null and Alternative 
Hypotheses about a Population Mean 
 The equality part of the hypotheses always appears 
One-tailed 
(lower-tail) 
One-tailed 
(upper-tail) 
Two-tailed 
H0 : m  m0 
0 : a H m  m 
0 0 H : m  m 
0 : a H m  m 
0 0 H : m  m 
0 : a H m  m 
in the null hypothesis. 
 In general, a hypothesis test about the value of a 
population mean m must take one of the following 
three forms (where m0 is the hypothesized value of 
the population mean).
Null and Alternative Hypotheses 
Example: Metro EMS 
A major west coast city provides one of the most 
comprehensive emergency medical services in the 
world. Operating in a multiple hospital system 
with approximately 20 mobile medical units, the 
service goal is to respond to medical emergencies 
with a mean time of 12 minutes or less. 
The director of medical services wants to 
formulate a hypothesis test that could use a sample 
of emergency response times to determine whether 
or not the service goal of 12 minutes or less is being 
achieved.
Type I Error 
 Because hypothesis tests are based on sample data, 
we must allow for the possibility of errors. 
 A Type I error is rejecting H0 when it is true. 
 The probability of making a Type I error when the 
null hypothesis is true as an equality is called the 
level of significance. 
 Applications of hypothesis testing that only control 
the Type I error are often called significance tests. 
Type I error is also called producers risk.
Type II Error 
 A Type II error is accepting H0 when it is false. 
 It is difficult to control for the probability of making 
a Type II error. 
 Type II error is denoted by β and is called 
Consumers risk. 
(1-β) is called power of the test i.e probability of 
Correct decision is called power of the test
Types of error in Hypothesis 
Testing 
Actual Situation 
Statistical decision Ho is true Ho is false 
Do not reject Ho 
Correct 
Decision=(1-α) 
Type II error 
P(Type II error)=β 
Reject Ho Type I error 
P(Type I error)=α 
Correct decision 
Power of test =1-β 
Producers risk 
Consumers Risk
Critical value 
Critical value is a tabulated value which separates 
acceptance region and rejection region.
Two-Tailed Tests About a Population Mean: 
s Known 
 Critical Value Approach 
Do Not Reject H Reject H0 0 
a/2 = .015 
0 2.17 
z 
Reject H0 
-2.17 
Sampling 
distribution 
x 
of z 
n 
 
m 
s 
0 
/ 
a/2 = .015
Significance Levels and p-values 
Significance Level 
• A critical probability associated with a statistical hypothesis 
test that indicates how likely an inference supporting a 
difference between an observed value and some statistical 
expectation is true. 
• The acceptable level of Type I error. 
p-value 
• Probability value, or the observed or computed significance 
level. 
p-values are compared to significance levels to test hypotheses. 
Higher p-values equal more support for an hypothesis. 
21–24
Steps of Hypothesis testing 
Set null and alternative hypothesis 
Select a level of significance 
Identify test statistics and its sampling distribution. 
General idea of sampling distribution is as below
s Known s Unknown 
Sample size size 
greater than 30 
Z-test Z-test 
Sample size is less 
than or equal to 30 
Z-test T-test
Steps of Hypothesis testing 
continue 
Define test statistic and compute it 
Obtain the critical value 
Conclusion: If Calculated value is less than tabulated 
value then Ho is accepted otherwise Ho is rejected
Examples 
For a sample of 60 women taken from a population of 
over 5,000 enrolled in a weight-reducing program at a 
nationwide chain of health spas, the sample mean 
diastolic blood pressure is 101 and sample standard 
deviation is 42.At a significance level of 0.02, on 
average, did the women enrolled in the program have 
diastolic blood pressure that exceeds the value of 75
Example 2 
Realtor Elaine Snynderman took a random sample of 
12 homes in a prestigious suburb of Chicago and found 
the average appraised market value to be 780,000, and 
the standard deviation was 49,000.Test the hypothesis 
that for all homes in the area, the mean appraised 
value is $ 825,000 against the alternative that it is less 
than $825,000.Use 0.05 level of significance
Example 3 
A television documentary on overeating claimed that 
Americans are about 10 pounds overweight on average. 
To test this claim , eighteen randomly selected 
individuals were examined; Their average excess 
weight was found to be 12.4 pounds, and Sample SD 
2.7 pounds. At a significance level 0.01 ,Is there any 
reason to doubt the validity of the claimed 10-pounds 
value
Classwork 
The policy of a particular bank branch is that its ATMs 
must be stocked with enough cash to satisfy customers 
making withdrawals over an entire weekend. Customer 
goodwill depends on such services meeting customer 
needs. At this branch the expected (i.e. population) mean 
amount of money withdrawn from ATMs per customer 
transaction over the weekend is $ 160 with an expected (i.e. 
population) standard deviation of $30. Suppose that a 
random sample of 36 customer transaction is examined 
and it is observed that the sample mean withdrawal is $ 172. 
At the 0.05 level of significance, is there evidence to believe 
that the true mean withdrawal is greater than $ 160?
Classwork 
The policy of a particular bank branch is that its ATMs 
must be stocked with enough cash to satisfy customers 
making withdrawals over an entire weekend. Customer 
goodwill depends on such services meeting customer 
needs. At this branch the expected (i.e. population) mean 
amount of money withdrawn from ATMs per customer 
transaction over the weekend is $ 1500 with an expected 
(i.e. population) standard deviation of $300. Suppose that a 
random sample of 64 customer transaction is examined 
and it is observed that the sample mean withdrawal is $ 
1720. At the 0.05 level of significance, using the p-value 
approach to hypothesis testing, is there evidence to believe 
that the true mean withdrawal is greater than $ 1500?
Example 4 
A sample of 32 money-market mutual funds was 
chosen on January 1 1996.And the average annual rate 
of return over the past 30 days was found to be 3.23 % 
and the sample standard deviation 0.51 percent. A year 
earlier, a sample of 38 money-market funds showed an 
average rate of return of 4.36% with Sd 0.84% .Is it 
reasonable to conclude (at 0.05) that money-market 
interest rates decline during 1995
Example no: 5 
A sample of 30 year conventional mortgage rates at 11 
randomly chosen Banks in California yielded a mean 
rate of 7.61 percent and standard deviation of 0.39 
percent. A similar sample taken at randomly chosen 
banks in Pennsylvania had mean rate of 7.43%,and 
standard deviation of 0.56%.Do these samples provide 
evidence to conclude (at 0.01) that conventional 
mortgage rates in California and Pennsylvania Come 
from population with different means?
Example no 6 
A member of public interest groups concerned with 
environment pollution asserts at public hearing that 
“fewer than 60% of the industrial plants in this area 
are complying with air pollution standard “. The 
officials samples 60 plants and finds that 33 are 
complying with air pollution standard. Is the asserting 
by the member of public interest group a valid one? 
Test the hypothesis at the 0.02 significance level.
Example no:7 
In 1991 it was believed that 41% of companies had their 
own ethics codes. In a 1999 survey conducted by 
conference board, 97 of 124 companies indicated that 
they have their own ethics codes. At the 0.01 level of 
significance, is there evidence that the proportion has 
increased from the previous value of 0.41?
Example no:8 
Two different large groups of people are being 
considered as focus group for reading English 
newspaper. Of 200 people surveyed in one group (the 
government employees), 52 percent read the English 
newspaper. In another group (private employees), 40 
percent of the 150 people surveyed read the English 
newspaper. At the 0.05 level of significance, is there 
evidence to conclude that there is significantly higher 
percentage of government employees who read English 
newspaper than do private employees?
Class work 
Are whites more likely than blacks to claims bias? A 
survey conducted by Barry Goldman, found that of 56 
white workers terminated, 29 claimed bias. Of 407 
black workers terminated, 126 claimed bias At the 0.05 
level of significance, is there evidence that white 
workers are more likely to claim likely to claim bias 
than black workers?
Example no:9 
A survey of investors who have Internet access divided these into 
two groups, those who trade online and those who do not 
(traditional traders). Of the traditional investors 48% were 
bullish on the market, and of the online investors 69% were 
bullish on the market. Suppose that the survey was based on 500 
traditional investors and 500 online investors. 
At the 0.05 level of significance, is there a significant difference 
between the proportion of traditional and online investors who 
are bullish on the market?
1.The sales of an items in eight shops before 
and after advertisement is given as: 
Test whether advertisement was effective or 
not. 
Before 70 65 48 72 80 92 98 100 
After 72 70 53 75 84 95 105 104

Weitere ähnliche Inhalte

Was ist angesagt?

Population & sample lecture 04
Population & sample lecture 04Population & sample lecture 04
Population & sample lecture 04DrZahid Khan
 
Hypothesis testing ppt final
Hypothesis testing ppt finalHypothesis testing ppt final
Hypothesis testing ppt finalpiyushdhaker
 
Hypothesis
HypothesisHypothesis
Hypothesis17somya
 
Statistical inference
Statistical inferenceStatistical inference
Statistical inferenceJags Jagdish
 
hypothesis testing
hypothesis testinghypothesis testing
hypothesis testingilona50
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testingSumit Sharma
 
Critical Value and The P Value
Critical Value and The P ValueCritical Value and The P Value
Critical Value and The P ValuePharmacy Universe
 
types of hypothesis
types of hypothesistypes of hypothesis
types of hypothesisZahra Naz
 
How to choose a right statistical test
How to choose a right statistical testHow to choose a right statistical test
How to choose a right statistical testKhalid Mahmood
 
Chi square tests using SPSS
Chi square tests using SPSSChi square tests using SPSS
Chi square tests using SPSSParag Shah
 
7. stratified sampling.pptx
7. stratified sampling.pptx7. stratified sampling.pptx
7. stratified sampling.pptxABDULRAUF411
 

Was ist angesagt? (20)

Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Population & sample lecture 04
Population & sample lecture 04Population & sample lecture 04
Population & sample lecture 04
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Hypothesis testing ppt final
Hypothesis testing ppt finalHypothesis testing ppt final
Hypothesis testing ppt final
 
HYPOTHESIS TESTING.ppt
HYPOTHESIS TESTING.pptHYPOTHESIS TESTING.ppt
HYPOTHESIS TESTING.ppt
 
Hypothesis
HypothesisHypothesis
Hypothesis
 
Testing Hypothesis
Testing HypothesisTesting Hypothesis
Testing Hypothesis
 
Statistical inference
Statistical inferenceStatistical inference
Statistical inference
 
hypothesis testing
hypothesis testinghypothesis testing
hypothesis testing
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Critical Value and The P Value
Critical Value and The P ValueCritical Value and The P Value
Critical Value and The P Value
 
z-test
z-testz-test
z-test
 
types of hypothesis
types of hypothesistypes of hypothesis
types of hypothesis
 
Hypothesis
HypothesisHypothesis
Hypothesis
 
How to choose a right statistical test
How to choose a right statistical testHow to choose a right statistical test
How to choose a right statistical test
 
Chi square tests using SPSS
Chi square tests using SPSSChi square tests using SPSS
Chi square tests using SPSS
 
Elements of inferential statistics
Elements of inferential statisticsElements of inferential statistics
Elements of inferential statistics
 
7. stratified sampling.pptx
7. stratified sampling.pptx7. stratified sampling.pptx
7. stratified sampling.pptx
 

Andere mochten auch

Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis TestingSampath
 
Type i and type ii errors
Type i and type ii errorsType i and type ii errors
Type i and type ii errorsp24ssp
 
Test of hypothesis
Test of hypothesisTest of hypothesis
Test of hypothesisvikramlawand
 
Research hypothesis
Research hypothesisResearch hypothesis
Research hypothesisNursing Path
 
Case Study: "The Surprising Power of YouTube: How NBC Built a YouTube Audienc...
Case Study: "The Surprising Power of YouTube: How NBC Built a YouTube Audienc...Case Study: "The Surprising Power of YouTube: How NBC Built a YouTube Audienc...
Case Study: "The Surprising Power of YouTube: How NBC Built a YouTube Audienc...iMedia Connection
 
Business Research Methods Chap005
Business Research Methods Chap005Business Research Methods Chap005
Business Research Methods Chap005Mazhar Masood
 
Grow Your YouTube Audience And Become A Star
Grow Your YouTube Audience And Become A StarGrow Your YouTube Audience And Become A Star
Grow Your YouTube Audience And Become A StarDigital Vidya
 
T8 hypothesis testing
T8 hypothesis testingT8 hypothesis testing
T8 hypothesis testingkompellark
 
Null hypothesis AND ALTERNAT HYPOTHESIS
Null hypothesis AND ALTERNAT HYPOTHESISNull hypothesis AND ALTERNAT HYPOTHESIS
Null hypothesis AND ALTERNAT HYPOTHESISADESH MEDICAL COLLEGE
 
1.lecture 1 introduction to business research method
1.lecture 1 introduction to business research method1.lecture 1 introduction to business research method
1.lecture 1 introduction to business research methodNazrin Nazdri
 
6 measurement & scaling
6  measurement & scaling6  measurement & scaling
6 measurement & scalingarjeskay
 
Business research methods
Business research methodsBusiness research methods
Business research methodskhan-uk
 
Research designs for quantitative studies ppt
Research designs for quantitative studies  pptResearch designs for quantitative studies  ppt
Research designs for quantitative studies pptNursing Path
 
Statistical inference: Hypothesis Testing and t-tests
Statistical inference: Hypothesis Testing and t-testsStatistical inference: Hypothesis Testing and t-tests
Statistical inference: Hypothesis Testing and t-testsEugene Yan Ziyou
 

Andere mochten auch (20)

Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Hypothesis
HypothesisHypothesis
Hypothesis
 
Types of hypotheses
Types of hypothesesTypes of hypotheses
Types of hypotheses
 
Research hypothesis
Research hypothesisResearch hypothesis
Research hypothesis
 
Type i and type ii errors
Type i and type ii errorsType i and type ii errors
Type i and type ii errors
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Test of hypothesis
Test of hypothesisTest of hypothesis
Test of hypothesis
 
Research hypothesis
Research hypothesisResearch hypothesis
Research hypothesis
 
Case Study: "The Surprising Power of YouTube: How NBC Built a YouTube Audienc...
Case Study: "The Surprising Power of YouTube: How NBC Built a YouTube Audienc...Case Study: "The Surprising Power of YouTube: How NBC Built a YouTube Audienc...
Case Study: "The Surprising Power of YouTube: How NBC Built a YouTube Audienc...
 
Business Research Methods Chap005
Business Research Methods Chap005Business Research Methods Chap005
Business Research Methods Chap005
 
Audience Analysis
Audience AnalysisAudience Analysis
Audience Analysis
 
Grow Your YouTube Audience And Become A Star
Grow Your YouTube Audience And Become A StarGrow Your YouTube Audience And Become A Star
Grow Your YouTube Audience And Become A Star
 
T8 hypothesis testing
T8 hypothesis testingT8 hypothesis testing
T8 hypothesis testing
 
Null hypothesis AND ALTERNAT HYPOTHESIS
Null hypothesis AND ALTERNAT HYPOTHESISNull hypothesis AND ALTERNAT HYPOTHESIS
Null hypothesis AND ALTERNAT HYPOTHESIS
 
1.lecture 1 introduction to business research method
1.lecture 1 introduction to business research method1.lecture 1 introduction to business research method
1.lecture 1 introduction to business research method
 
6 measurement & scaling
6  measurement & scaling6  measurement & scaling
6 measurement & scaling
 
Research Methodology
Research MethodologyResearch Methodology
Research Methodology
 
Business research methods
Business research methodsBusiness research methods
Business research methods
 
Research designs for quantitative studies ppt
Research designs for quantitative studies  pptResearch designs for quantitative studies  ppt
Research designs for quantitative studies ppt
 
Statistical inference: Hypothesis Testing and t-tests
Statistical inference: Hypothesis Testing and t-testsStatistical inference: Hypothesis Testing and t-tests
Statistical inference: Hypothesis Testing and t-tests
 

Ähnlich wie Hypothesis Testing of Population Means and Proportions

Hypothesis Testing Definitions A statistical hypothesi.docx
Hypothesis Testing  Definitions A statistical hypothesi.docxHypothesis Testing  Definitions A statistical hypothesi.docx
Hypothesis Testing Definitions A statistical hypothesi.docxwilcockiris
 
Unit 4 Tests of Significance
Unit 4 Tests of SignificanceUnit 4 Tests of Significance
Unit 4 Tests of SignificanceRai University
 
Testing of Hypothesis combined with tests.pdf
Testing of Hypothesis combined with tests.pdfTesting of Hypothesis combined with tests.pdf
Testing of Hypothesis combined with tests.pdfRamBk5
 
Testing of hypothesis - large sample test
Testing of hypothesis - large sample testTesting of hypothesis - large sample test
Testing of hypothesis - large sample testParag Shah
 
hypothesis test
 hypothesis test hypothesis test
hypothesis testUnsa Shakir
 
Estimation and hypothesis testing 1 (graduate statistics2)
Estimation and hypothesis testing 1 (graduate statistics2)Estimation and hypothesis testing 1 (graduate statistics2)
Estimation and hypothesis testing 1 (graduate statistics2)Harve Abella
 
20200519073328de6dca404c.pdfkshhjejhehdhd
20200519073328de6dca404c.pdfkshhjejhehdhd20200519073328de6dca404c.pdfkshhjejhehdhd
20200519073328de6dca404c.pdfkshhjejhehdhdHimanshuSharma723273
 
Research methodology iii
Research methodology iiiResearch methodology iii
Research methodology iiiAnwar Siddiqui
 
Testing of Hypothesis.pptx
Testing of Hypothesis.pptxTesting of Hypothesis.pptx
Testing of Hypothesis.pptxhemamalini398951
 
Chapter 9 Fundamental of Hypothesis Testing.ppt
Chapter 9 Fundamental of Hypothesis Testing.pptChapter 9 Fundamental of Hypothesis Testing.ppt
Chapter 9 Fundamental of Hypothesis Testing.pptHasanGilani3
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testingSohail Patel
 
Basics of Hypothesis testing for Pharmacy
Basics of Hypothesis testing for PharmacyBasics of Hypothesis testing for Pharmacy
Basics of Hypothesis testing for PharmacyParag Shah
 

Ähnlich wie Hypothesis Testing of Population Means and Proportions (20)

7 hypothesis testing
7 hypothesis testing7 hypothesis testing
7 hypothesis testing
 
Hypothesis
HypothesisHypothesis
Hypothesis
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Hypothesis Testing Definitions A statistical hypothesi.docx
Hypothesis Testing  Definitions A statistical hypothesi.docxHypothesis Testing  Definitions A statistical hypothesi.docx
Hypothesis Testing Definitions A statistical hypothesi.docx
 
Unit 4 Tests of Significance
Unit 4 Tests of SignificanceUnit 4 Tests of Significance
Unit 4 Tests of Significance
 
Testing of Hypothesis combined with tests.pdf
Testing of Hypothesis combined with tests.pdfTesting of Hypothesis combined with tests.pdf
Testing of Hypothesis combined with tests.pdf
 
Testing of hypothesis - large sample test
Testing of hypothesis - large sample testTesting of hypothesis - large sample test
Testing of hypothesis - large sample test
 
hypothesis test
 hypothesis test hypothesis test
hypothesis test
 
Estimation and hypothesis testing 1 (graduate statistics2)
Estimation and hypothesis testing 1 (graduate statistics2)Estimation and hypothesis testing 1 (graduate statistics2)
Estimation and hypothesis testing 1 (graduate statistics2)
 
20200519073328de6dca404c.pdfkshhjejhehdhd
20200519073328de6dca404c.pdfkshhjejhehdhd20200519073328de6dca404c.pdfkshhjejhehdhd
20200519073328de6dca404c.pdfkshhjejhehdhd
 
Rm 3 Hypothesis
Rm   3   HypothesisRm   3   Hypothesis
Rm 3 Hypothesis
 
Research methodology iii
Research methodology iiiResearch methodology iii
Research methodology iii
 
Testing of Hypothesis.pptx
Testing of Hypothesis.pptxTesting of Hypothesis.pptx
Testing of Hypothesis.pptx
 
Hypothesis
HypothesisHypothesis
Hypothesis
 
Chapter 9 Fundamental of Hypothesis Testing.ppt
Chapter 9 Fundamental of Hypothesis Testing.pptChapter 9 Fundamental of Hypothesis Testing.ppt
Chapter 9 Fundamental of Hypothesis Testing.ppt
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Tests of significance
Tests of significanceTests of significance
Tests of significance
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Formulatinghypotheses
Formulatinghypotheses Formulatinghypotheses
Formulatinghypotheses
 
Basics of Hypothesis testing for Pharmacy
Basics of Hypothesis testing for PharmacyBasics of Hypothesis testing for Pharmacy
Basics of Hypothesis testing for Pharmacy
 

Hypothesis Testing of Population Means and Proportions

  • 2. Chapter 9, Hypothesis Testing  Developing Null and Alternative Hypotheses  Type I and Type II Errors  Population Mean: s Known  Population Mean: s Unknown  Population Proportion
  • 3. Introduction Assumption about population parameter is hypothesis. Process of testing its validity is known as hypothesis testing. i.e. claim about something is hypothesis and process of testing its validity is hypothesis testing.
  • 4. Null and alternative hypothesis Null hypothesis: Assumption about population parameter is null hypothesis. Here we assume that there is not significant difference between assumed value and true value. It is denoted by Ho. The null hypothesis is written in terms of population. For eg. If we wish to test average marks of Student in statistics in MBA I term is 75 or not then null hypothesis is Ho:μ=75
  • 5. Alternative hypothesis One inference may the null hypothesis is considered false ,something else must be true. Whenever a null hypothesis is specified, an alternative hypothesis is also specified, and it must be true when null hypothesis is false. In other words any hypothesis that is true when null hypothesis is false is called alternative hypothesis. Alternative hypothesis is denoted by H1
  • 6. Continue I f we wish that Class of Statistics was properly handled by Mr Nirajan Bam So average marks of Student is 75 .This is stated as Ho:μ =75 Vs H1:μǂ 75 (Two tailed test) Again if we assume that Class of Statistics was properly handled by Mr Nirajan Bam So average marks of Student is more than 75 .This is stated as
  • 7. Continue Ho:μ=75 Vs H1:μ>75 (Right tailed test) Again if Dean of PU assume that Class of Statistics was not properly handled by Mr Nirajan Bam So average marks of Student is Less than 55 .This is stated as Ho:μ=55 Vs H1:μ<55 (Left tail test)
  • 8. Some key points regarding Null and alternative hypothesis Ho represents current belief in a situation H1 is opposite of null hypothesis and represents a research claim or specific claim you would like to prove. Ho always refers to specified value of the population parameter. In alternative hypothesis we placed not equal sign or < sign or > sign on the basis of our claim
  • 9. Developing Null and Alternative Hypotheses • It is not always obvious how the null and alternative hypotheses should be formulated. • Care must be taken to structure the hypotheses appropriately so that the test conclusion provides the information the researcher wants. • The context of the situation is very important in determining how the hypotheses should be stated. • In some cases it is easier to identify the alternative hypothesis first. In other cases the null is easier. • Correct hypothesis formulation will take practice.
  • 10. Developing Null and Alternative Hypotheses Alternative Hypothesis as a Research Hypothesis • Many applications of hypothesis testing involve an attempt to gather evidence in support of a research hypothesis. • In such cases, it is often best to begin with the alternative hypothesis and make the conclusion that the researcher hopes to support. • The conclusion that the research hypothesis is true is made if the sample data provide sufficient evidence to show that the null hypothesis can be rejected.
  • 11. Developing Null and Alternative Hypotheses  Alternative Hypothesis as a Research Hypothesis • Example: A new teaching method is developed that is believed to be better than the current method. • Alternative Hypothesis: The new teaching method is better. • Null Hypothesis: The new method is no better than the old method.
  • 12. Developing Null and Alternative Hypotheses  Alternative Hypothesis as a Research Hypothesis • Example: A new sales force bonus plan is developed in an attempt to increase sales. • Alternative Hypothesis: The new bonus plan increase sales. • Null Hypothesis: The new bonus plan does not increase sales.
  • 13. Developing Null and Alternative Hypotheses  Alternative Hypothesis as a Research Hypothesis • Example: A new drug is developed with the goal of lowering blood pressure more than the existing drug. • Alternative Hypothesis: The new drug lowers blood pressure more than the existing drug. • Null Hypothesis: The new drug does not lower blood pressure more than the existing drug.
  • 14. Developing Null and Alternative Hypotheses Null Hypothesis as an Assumption to be Challenged • We might begin with a belief or assumption that a statement about the value of a population parameter is true. • We then using a hypothesis test to challenge the assumption and determine if there is statistical evidence to conclude that the assumption is incorrect. • In these situations, it is helpful to develop the null hypothesis first.
  • 15. Developing Null and Alternative Hypotheses  Null Hypothesis as an Assumption to be Challenged • Example: The label on a soft drink bottle states that it contains 67.6 fluid ounces. • Null Hypothesis: The label is correct. m = 67.6 ounces. • Alternative Hypothesis: The label is incorrect. m ǂ 67.6 ounces.
  • 16. Class work The statistics department installed energy-efficient lights, heaters, and air conditioners last year. Now they want to determine whether the average monthly energy usage has decreased. Should they perform the one tailed or two tailed test? If their previous monthly energy usage was 3,124 kilo watt hours, what are the null and alternative hypothesis
  • 17. Summary of Forms for Null and Alternative Hypotheses about a Population Mean  The equality part of the hypotheses always appears One-tailed (lower-tail) One-tailed (upper-tail) Two-tailed H0 : m  m0 0 : a H m  m 0 0 H : m  m 0 : a H m  m 0 0 H : m  m 0 : a H m  m in the null hypothesis.  In general, a hypothesis test about the value of a population mean m must take one of the following three forms (where m0 is the hypothesized value of the population mean).
  • 18. Null and Alternative Hypotheses Example: Metro EMS A major west coast city provides one of the most comprehensive emergency medical services in the world. Operating in a multiple hospital system with approximately 20 mobile medical units, the service goal is to respond to medical emergencies with a mean time of 12 minutes or less. The director of medical services wants to formulate a hypothesis test that could use a sample of emergency response times to determine whether or not the service goal of 12 minutes or less is being achieved.
  • 19. Type I Error  Because hypothesis tests are based on sample data, we must allow for the possibility of errors.  A Type I error is rejecting H0 when it is true.  The probability of making a Type I error when the null hypothesis is true as an equality is called the level of significance.  Applications of hypothesis testing that only control the Type I error are often called significance tests. Type I error is also called producers risk.
  • 20. Type II Error  A Type II error is accepting H0 when it is false.  It is difficult to control for the probability of making a Type II error.  Type II error is denoted by β and is called Consumers risk. (1-β) is called power of the test i.e probability of Correct decision is called power of the test
  • 21. Types of error in Hypothesis Testing Actual Situation Statistical decision Ho is true Ho is false Do not reject Ho Correct Decision=(1-α) Type II error P(Type II error)=β Reject Ho Type I error P(Type I error)=α Correct decision Power of test =1-β Producers risk Consumers Risk
  • 22. Critical value Critical value is a tabulated value which separates acceptance region and rejection region.
  • 23. Two-Tailed Tests About a Population Mean: s Known  Critical Value Approach Do Not Reject H Reject H0 0 a/2 = .015 0 2.17 z Reject H0 -2.17 Sampling distribution x of z n  m s 0 / a/2 = .015
  • 24. Significance Levels and p-values Significance Level • A critical probability associated with a statistical hypothesis test that indicates how likely an inference supporting a difference between an observed value and some statistical expectation is true. • The acceptable level of Type I error. p-value • Probability value, or the observed or computed significance level. p-values are compared to significance levels to test hypotheses. Higher p-values equal more support for an hypothesis. 21–24
  • 25. Steps of Hypothesis testing Set null and alternative hypothesis Select a level of significance Identify test statistics and its sampling distribution. General idea of sampling distribution is as below
  • 26. s Known s Unknown Sample size size greater than 30 Z-test Z-test Sample size is less than or equal to 30 Z-test T-test
  • 27. Steps of Hypothesis testing continue Define test statistic and compute it Obtain the critical value Conclusion: If Calculated value is less than tabulated value then Ho is accepted otherwise Ho is rejected
  • 28. Examples For a sample of 60 women taken from a population of over 5,000 enrolled in a weight-reducing program at a nationwide chain of health spas, the sample mean diastolic blood pressure is 101 and sample standard deviation is 42.At a significance level of 0.02, on average, did the women enrolled in the program have diastolic blood pressure that exceeds the value of 75
  • 29. Example 2 Realtor Elaine Snynderman took a random sample of 12 homes in a prestigious suburb of Chicago and found the average appraised market value to be 780,000, and the standard deviation was 49,000.Test the hypothesis that for all homes in the area, the mean appraised value is $ 825,000 against the alternative that it is less than $825,000.Use 0.05 level of significance
  • 30. Example 3 A television documentary on overeating claimed that Americans are about 10 pounds overweight on average. To test this claim , eighteen randomly selected individuals were examined; Their average excess weight was found to be 12.4 pounds, and Sample SD 2.7 pounds. At a significance level 0.01 ,Is there any reason to doubt the validity of the claimed 10-pounds value
  • 31. Classwork The policy of a particular bank branch is that its ATMs must be stocked with enough cash to satisfy customers making withdrawals over an entire weekend. Customer goodwill depends on such services meeting customer needs. At this branch the expected (i.e. population) mean amount of money withdrawn from ATMs per customer transaction over the weekend is $ 160 with an expected (i.e. population) standard deviation of $30. Suppose that a random sample of 36 customer transaction is examined and it is observed that the sample mean withdrawal is $ 172. At the 0.05 level of significance, is there evidence to believe that the true mean withdrawal is greater than $ 160?
  • 32. Classwork The policy of a particular bank branch is that its ATMs must be stocked with enough cash to satisfy customers making withdrawals over an entire weekend. Customer goodwill depends on such services meeting customer needs. At this branch the expected (i.e. population) mean amount of money withdrawn from ATMs per customer transaction over the weekend is $ 1500 with an expected (i.e. population) standard deviation of $300. Suppose that a random sample of 64 customer transaction is examined and it is observed that the sample mean withdrawal is $ 1720. At the 0.05 level of significance, using the p-value approach to hypothesis testing, is there evidence to believe that the true mean withdrawal is greater than $ 1500?
  • 33. Example 4 A sample of 32 money-market mutual funds was chosen on January 1 1996.And the average annual rate of return over the past 30 days was found to be 3.23 % and the sample standard deviation 0.51 percent. A year earlier, a sample of 38 money-market funds showed an average rate of return of 4.36% with Sd 0.84% .Is it reasonable to conclude (at 0.05) that money-market interest rates decline during 1995
  • 34. Example no: 5 A sample of 30 year conventional mortgage rates at 11 randomly chosen Banks in California yielded a mean rate of 7.61 percent and standard deviation of 0.39 percent. A similar sample taken at randomly chosen banks in Pennsylvania had mean rate of 7.43%,and standard deviation of 0.56%.Do these samples provide evidence to conclude (at 0.01) that conventional mortgage rates in California and Pennsylvania Come from population with different means?
  • 35. Example no 6 A member of public interest groups concerned with environment pollution asserts at public hearing that “fewer than 60% of the industrial plants in this area are complying with air pollution standard “. The officials samples 60 plants and finds that 33 are complying with air pollution standard. Is the asserting by the member of public interest group a valid one? Test the hypothesis at the 0.02 significance level.
  • 36. Example no:7 In 1991 it was believed that 41% of companies had their own ethics codes. In a 1999 survey conducted by conference board, 97 of 124 companies indicated that they have their own ethics codes. At the 0.01 level of significance, is there evidence that the proportion has increased from the previous value of 0.41?
  • 37. Example no:8 Two different large groups of people are being considered as focus group for reading English newspaper. Of 200 people surveyed in one group (the government employees), 52 percent read the English newspaper. In another group (private employees), 40 percent of the 150 people surveyed read the English newspaper. At the 0.05 level of significance, is there evidence to conclude that there is significantly higher percentage of government employees who read English newspaper than do private employees?
  • 38. Class work Are whites more likely than blacks to claims bias? A survey conducted by Barry Goldman, found that of 56 white workers terminated, 29 claimed bias. Of 407 black workers terminated, 126 claimed bias At the 0.05 level of significance, is there evidence that white workers are more likely to claim likely to claim bias than black workers?
  • 39. Example no:9 A survey of investors who have Internet access divided these into two groups, those who trade online and those who do not (traditional traders). Of the traditional investors 48% were bullish on the market, and of the online investors 69% were bullish on the market. Suppose that the survey was based on 500 traditional investors and 500 online investors. At the 0.05 level of significance, is there a significant difference between the proportion of traditional and online investors who are bullish on the market?
  • 40. 1.The sales of an items in eight shops before and after advertisement is given as: Test whether advertisement was effective or not. Before 70 65 48 72 80 92 98 100 After 72 70 53 75 84 95 105 104