SlideShare a Scribd company logo
1 of 45
Chapter 8

    Tests of
Hypotheses Based
  on a Single
    Sample
8.1

Hypotheses
and
  Test Procedures
Hypotheses
The null hypothesis, denoted H0, is the
claim that is initially assumed to be true.
The alternative hypothesis, denoted by
Ha, is the assertion that is contrary to H0.
Possible conclusions from hypothesis-
testing analysis are reject H0 or fail to
reject H0.
Hypotheses
H0 may usually be considered the
skeptic’s hypothesis: Nothing new or
interesting happening here! (And
anything “interesting” observed is due to
chance alone.)
Ha may usually be considered the
researcher’s hypothesis.
Rules for Hypotheses

H0 is always stated as an equality claim
involving parameters.
Ha is an inequality claim that contradicts
H0. It may be one-sided (using either >
or <) or two-sided (using ≠).
A Test of Hypotheses

A test of hypotheses is a method for
using sample data to decide whether
the null hypothesis should be
rejected.
Test Procedure
A test procedure is specified by
 • A test statistic, a function of the
    sample data on which the decision is
    to be based.
  • (Sometimes, not always!) A
    rejection region, the set of all test
    statistic values for which H0 will be
    rejected
Errors in Hypothesis Testing

A type I error consists of rejecting the
null hypothesis H0 when it was true.
A type II error consists of not rejecting
H0 when H0 is false.
α and β are the probabilities of type
I and type II error, respectively.
Level α Test

Sometimes, the experimenter will fix
the value of α , also known as the
significance level.
A test corresponding to the significance
level is called a level α test. A test
with significance level α is one for
which the type I error probability is
controlled at the specified level.
Rejection Region: α and β

Suppose an experiment and a sample
size are fixed, and a test statistic is
chosen. Decreasing the size of the
rejection region to obtain a smaller
value of α results in a larger value of β
for any particular parameter value
consistent with Ha.
8.2

Tests About
   a
  Population Mean
Case I: A Normal Population
  With Known σ

Null hypothesis:   H 0 : µ = µ0

                            x − µ0
Test statistic value: z =
                            σ/ n
Case I: A Normal Population
   With Known σ
Alternative      Rejection Region
Hypothesis       for Level α Test
H a : µ > µ0           z ≥ zα
H a : µ < µ0           z ≤ − zα
H a : µ ≠ µ0     z ≥ zα / 2 or z ≤ − zα / 2
Recommended Steps in
Hypothesis-Testing Analysis
1. Identify the parameter of interest and
   describe it in the context of the
   problem situation.
2. Determine the null value and state
   the null hypothesis.
3. State the alternative hypothesis.
Hypothesis-Testing Analysis
1. Give the formula for the computed
   value of the test statistic.
2. State the rejection region for the
   selected significance level
3. Compute any necessary sample
   quantities, substitute into the formula
   for the test statistic value, and
   compute that value.
Hypothesis-Testing Analysis

7. Decide whether H0 should be
   rejected and state this conclusion in
   the problem context.

The formulation of hypotheses (steps 2
and 3) should be done before examining
the data.
Type II Probability β ( µ ′) for a Level α
 Test           Type II
Alt. Hypothesis       Probability β ( µ ′)
                               µ0 − µ ′ 
H a : µ > µ0           Φ  zα +          
                               σ/ n
                                    µ0 − µ ′ 
H a : µ < µ0          1 − Φ  − zα +          
                                    σ/ n

H a : µ ≠ µ0        
                  Φ  zα / 2 +
                               µ0 − µ ′      
                                         − Φ  − zα / 2 +
                                                           µ0 − µ ′ 
                                                                    
                              σ/ n                      σ/ n
Sample Size
The sample size n for which a level α
test also has β ( µ ′) = β at the alternative
value µ ′ is
      σ ( zα + z β )     2

                               one-tailed test
                         
      µ0 − µ ′ 
  n=                        2
      σ ( zα / 2 + z β ) 
                              two-tailed test
         µ0 − µ ′ 
Case II: Large-Sample Tests

When the sample size is large, the z
tests for case I are modified to yield
valid test procedures without
requiring either a normal population
distribution or a known σ .
Large Sample Tests (n > 40)
For large n, s is close to σ .
                    X − µ0
Test Statistic: Z =
                    S/ n
The use of rejection regions for case I
results in a test procedure for which the
significance level is approximately α .
Case III: A Normal Population
Distribution
If X1,…,Xn is a random sample from a
normal distribution, the standardized
variable          X −µ
             T=
                  S/ n
has a t distribution with n – 1
degrees of freedom.
The One-Sample t Test


 Null hypothesis:       H 0 : µ = µ0
                              x − µ0
Test statistic value:    t=
                              s/ n
The One-Sample t Test

 Alternative      Rejection Region
 Hypothesis       for Level α Test
H a : µ > µ0             t ≥ tα ,n −1
H a : µ < µ0             t ≤ −tα ,n −1
H a : µ ≠ µ0   t ≥ tα / 2,n −1 or t ≤ −tα / 2,n −1
A Typical β Curve for the t Test

                 β   curve for n – 1 df
β when
µ = µ′
    0
          Value of d corresponding to
          specified alternative to µ ′
8.3

Tests Concerning
      a
 Population Proportion
A Population Proportion

Let p denote the proportion of
individuals or objects in a
population who possess a specified
property.
Large-Sample Tests

Large-sample tests concerning p
are a special case of the more
general large-sample procedures
for a parameter θ .
Large-Samples Concerning p

Null hypothesis:    H 0 : p = p0

Test statistic value:
                           p − p0
                           ˆ
               z=
                        p0 ( 1 − p0 ) / n
Large-Samples Concerning p
Alternative         Rejection Region
Hypothesis
H a : p > p0              z ≥ zα
H a : p < p0             z ≤ − zα
H a : p ≠ p0        z ≥ zα / 2 or z ≤ − zα / 2
Valid provided
    np0 ≥ 10 and n(1 − p0 ) ≥ 10.
General Expressions for β ( p′)
Alt. Hypothesis                β ( p′)

H a : p > p0        p0 − p′ + zα p0 (1 − p0 ) / n 
                  Φ                               
                             p′(1 − p′) / n       
                                                  

                     p0 − p′ − zα p0 (1 − p0 ) / n 
H a : p < p0   1− Φ                                
                              p′(1 − p′) / n       
                                                   
General Expressions for β ( p′)


Alt. Hypothesis               β ( p′)
                    p0 − p′ + zα p0 (1 − p0 ) / n 
H a : p ≠ p0      Φ                               
                             p′(1 − p′) / n       
                                                  
                   p0 − p′ − zα p0 (1 − p0 ) / n 
               −Φ                                
                            p′(1 − p′) / n       
                                                 
Sample Size
   The sample size n for which a level α
   test also has β ( p′) = p
    z p (1 − p ) + z p′(1 − p′)  2            one-tailed
   α 0             0      β
                                          
                   p′ − p0                    test
                                        
n=                                          2
    zα / 2 p0 (1 − p0 ) + z β p′(1 − p′)      two-tailed
                                         
                   p′ − p0                    test
                                         
Small-Sample Tests
Test procedures when the sample size
n is small are based directly on the
binomial distribution rather than the
normal approximation.

P (type I) = 1 − B (c − 1; n, p0 )
    B ( p′) = B (c − 1; n, p′)
8.4

P - Values
P - Value
The P-value is the smallest level of
significance at which H0 would be
rejected when a specified test procedure
is used on a given data set.
   1. P-value ≤ α
     ⇒ reject H 0 at a level of α
 2. P -value > α
     ⇒ do not reject H 0 at a level of α
P - Value

The P-value is the probability,
calculated assuming H0 is true, of
obtaining a test statistic value at least as
contradictory to H0 as the value that
actually resulted. The smaller the P-
value, the more contradictory is the data
to H0.
P-Values for a z Test

P-value:

   1 − Φ( z )        upper-tailed test
  
P=     Φ( z )        lower-tailed test
  2 1 − Φ ( z )    two-tailed test
                
P-Value (area)
   P-value = 1 − Φ ( z )
                                                  Upper-Tailed

P -value = Φ ( z )                    0       z

                                                  Lower-Tailed

            -z       0
P-value = 2[1 − Φ (| z |)]                        Two-Tailed

                             -z   0       z
P–Values for t Tests

The P-value for a t test will be a t
curve area. The number of df for the
one-sample t test is n – 1.
8.5

 Some Comments on
Selecting a
     Test Procedure
Constructing a Test Procedure
1. Specify a test statistic.
2. Decide on the general form of the
   rejection region.
3. Select the specific numerical critical
   value or values that will separate the
   rejection region from the acceptance
   region.
Issues to be Considered
1. What are the practical implications
   and consequences of choosing a
   particular level of significance once
   the other aspects of a test procedure
   have been determined?
2. Does there exist a general principle
   that can be used to obtain best or good
   test procedures?
Issues to be Considered
1. When there exist two or more tests that
   are appropriate in a given situation, how
   can the tests be compared to decide
   which should be used?
2. If a test is derived under specific
   assumptions about the distribution of
   the population being sampled, how well
   will the test procedure work when the
   assumptions are violated?
Statistical Versus Practical
      Significance
Be careful in interpreting evidence when
the sample size is large, since any small
departure from H0 will almost surely be
detected by a test (statistical significance),
yet such a departure may have little
practical significance.
The Likelihood Ratio Principle
1. Find the largest value of the likelihood
   for any θ in Ω0 .
2. Find the largest value of the likelihood
   for any θ in Ωa .
3. Form the ratio
                       maximum likelihood for θ in Ω0
 λ ( x1 ,..., xn )   =
                       maximum likelihood for θ in Ωa

  Reject H0 when this ratio is small.

More Related Content

What's hot (20)

Lundi 16h15-copules-charpentier
Lundi 16h15-copules-charpentierLundi 16h15-copules-charpentier
Lundi 16h15-copules-charpentier
 
Slides erm
Slides ermSlides erm
Slides erm
 
Slides guanauato
Slides guanauatoSlides guanauato
Slides guanauato
 
Slides lausanne-2013-v2
Slides lausanne-2013-v2Slides lausanne-2013-v2
Slides lausanne-2013-v2
 
Slides ihp
Slides ihpSlides ihp
Slides ihp
 
Slides amsterdam-2013
Slides amsterdam-2013Slides amsterdam-2013
Slides amsterdam-2013
 
Auc silver spring
Auc silver springAuc silver spring
Auc silver spring
 
Slides euria-1
Slides euria-1Slides euria-1
Slides euria-1
 
Uncertainity
Uncertainity Uncertainity
Uncertainity
 
Lesson 8: Basic Differentation Rules (slides)
Lesson 8: Basic Differentation Rules (slides)Lesson 8: Basic Differentation Rules (slides)
Lesson 8: Basic Differentation Rules (slides)
 
Slides dauphine
Slides dauphineSlides dauphine
Slides dauphine
 
Proba stats-r1-2017
Proba stats-r1-2017Proba stats-r1-2017
Proba stats-r1-2017
 
Multirate
MultirateMultirate
Multirate
 
Session 14
 Session 14 Session 14
Session 14
 
Slides compiegne
Slides compiegneSlides compiegne
Slides compiegne
 
ma112011id535
ma112011id535ma112011id535
ma112011id535
 
Slides angers-sfds
Slides angers-sfdsSlides angers-sfds
Slides angers-sfds
 
Slides irisa
Slides irisaSlides irisa
Slides irisa
 
Slides sales-forecasting-session2-web
Slides sales-forecasting-session2-webSlides sales-forecasting-session2-web
Slides sales-forecasting-session2-web
 
Slides edf-1
Slides edf-1Slides edf-1
Slides edf-1
 

Similar to Ppch08mod 120221054720-phpapp01

hypothesisTestPPT.pptx
hypothesisTestPPT.pptxhypothesisTestPPT.pptx
hypothesisTestPPT.pptxdangwalakash07
 
08 test of hypothesis large sample.ppt
08 test of hypothesis large sample.ppt08 test of hypothesis large sample.ppt
08 test of hypothesis large sample.pptPooja Sakhla
 
chapter_8_20162.pdf
chapter_8_20162.pdfchapter_8_20162.pdf
chapter_8_20162.pdfSumitRijal1
 
Point Estimate, Confidence Interval, Hypotesis tests
Point Estimate, Confidence Interval, Hypotesis testsPoint Estimate, Confidence Interval, Hypotesis tests
Point Estimate, Confidence Interval, Hypotesis testsUniversity of Salerno
 
Formulas statistics
Formulas statisticsFormulas statistics
Formulas statisticsPrashi_Jain
 
Bayesian adaptive optimal estimation using a sieve prior
Bayesian adaptive optimal estimation using a sieve priorBayesian adaptive optimal estimation using a sieve prior
Bayesian adaptive optimal estimation using a sieve priorJulyan Arbel
 
hypothesis testing-tests of proportions and variances in six sigma
hypothesis testing-tests of proportions and variances in six sigmahypothesis testing-tests of proportions and variances in six sigma
hypothesis testing-tests of proportions and variances in six sigmavdheerajk
 
Categorical data analysis full lecture note PPT.pptx
Categorical data analysis full lecture note  PPT.pptxCategorical data analysis full lecture note  PPT.pptx
Categorical data analysis full lecture note PPT.pptxMinilikDerseh1
 
hypotesting lecturenotes by Amity university
hypotesting lecturenotes by Amity universityhypotesting lecturenotes by Amity university
hypotesting lecturenotes by Amity universitydeepti .
 
Small Sampling Theory Presentation1
Small Sampling Theory Presentation1Small Sampling Theory Presentation1
Small Sampling Theory Presentation1jravish
 
Research methodology - Estimation Theory & Hypothesis Testing, Techniques of ...
Research methodology - Estimation Theory & Hypothesis Testing, Techniques of ...Research methodology - Estimation Theory & Hypothesis Testing, Techniques of ...
Research methodology - Estimation Theory & Hypothesis Testing, Techniques of ...The Stockker
 

Similar to Ppch08mod 120221054720-phpapp01 (20)

hypothesisTestPPT.pptx
hypothesisTestPPT.pptxhypothesisTestPPT.pptx
hypothesisTestPPT.pptx
 
08 test of hypothesis large sample.ppt
08 test of hypothesis large sample.ppt08 test of hypothesis large sample.ppt
08 test of hypothesis large sample.ppt
 
chapter_8_20162.pdf
chapter_8_20162.pdfchapter_8_20162.pdf
chapter_8_20162.pdf
 
Point Estimate, Confidence Interval, Hypotesis tests
Point Estimate, Confidence Interval, Hypotesis testsPoint Estimate, Confidence Interval, Hypotesis tests
Point Estimate, Confidence Interval, Hypotesis tests
 
Sample size estimation
Sample size estimationSample size estimation
Sample size estimation
 
Formulas statistics
Formulas statisticsFormulas statistics
Formulas statistics
 
Bayesian adaptive optimal estimation using a sieve prior
Bayesian adaptive optimal estimation using a sieve priorBayesian adaptive optimal estimation using a sieve prior
Bayesian adaptive optimal estimation using a sieve prior
 
Gerstman_PP09.ppt
Gerstman_PP09.pptGerstman_PP09.ppt
Gerstman_PP09.ppt
 
Gerstman_PP09.ppt
Gerstman_PP09.pptGerstman_PP09.ppt
Gerstman_PP09.ppt
 
Ppt1
Ppt1Ppt1
Ppt1
 
hypothesis testing-tests of proportions and variances in six sigma
hypothesis testing-tests of proportions and variances in six sigmahypothesis testing-tests of proportions and variances in six sigma
hypothesis testing-tests of proportions and variances in six sigma
 
Categorical data analysis full lecture note PPT.pptx
Categorical data analysis full lecture note  PPT.pptxCategorical data analysis full lecture note  PPT.pptx
Categorical data analysis full lecture note PPT.pptx
 
hypotesting lecturenotes by Amity university
hypotesting lecturenotes by Amity universityhypotesting lecturenotes by Amity university
hypotesting lecturenotes by Amity university
 
Small Sampling Theory Presentation1
Small Sampling Theory Presentation1Small Sampling Theory Presentation1
Small Sampling Theory Presentation1
 
HYPOTHESIS TESTING.ppt
HYPOTHESIS TESTING.pptHYPOTHESIS TESTING.ppt
HYPOTHESIS TESTING.ppt
 
Basic of Hypothesis Testing TEKU QM
Basic of Hypothesis Testing TEKU QMBasic of Hypothesis Testing TEKU QM
Basic of Hypothesis Testing TEKU QM
 
Hypothesis testing 47
Hypothesis testing 47Hypothesis testing 47
Hypothesis testing 47
 
Talk 3
Talk 3Talk 3
Talk 3
 
TEST OF SIGNIFICANCE.pptx
TEST OF SIGNIFICANCE.pptxTEST OF SIGNIFICANCE.pptx
TEST OF SIGNIFICANCE.pptx
 
Research methodology - Estimation Theory & Hypothesis Testing, Techniques of ...
Research methodology - Estimation Theory & Hypothesis Testing, Techniques of ...Research methodology - Estimation Theory & Hypothesis Testing, Techniques of ...
Research methodology - Estimation Theory & Hypothesis Testing, Techniques of ...
 

More from Apoorvi Kapoor (20)

2slidedeck-150318164339-conversion-gate01
2slidedeck-150318164339-conversion-gate012slidedeck-150318164339-conversion-gate01
2slidedeck-150318164339-conversion-gate01
 
Hiking guide2014
Hiking guide2014Hiking guide2014
Hiking guide2014
 
Readme
ReadmeReadme
Readme
 
Empty
EmptyEmpty
Empty
 
111111
111111111111
111111
 
03 03 what_aboutbigdata
03 03 what_aboutbigdata03 03 what_aboutbigdata
03 03 what_aboutbigdata
 
Hiking guide2014
Hiking guide2014Hiking guide2014
Hiking guide2014
 
111111
111111111111
111111
 
Abcd feihfiewfn
Abcd feihfiewfnAbcd feihfiewfn
Abcd feihfiewfn
 
Slide share culture_code_template
Slide share culture_code_templateSlide share culture_code_template
Slide share culture_code_template
 
Webtech1b
Webtech1bWebtech1b
Webtech1b
 
Webtech1b
Webtech1bWebtech1b
Webtech1b
 
Webtech1b
Webtech1bWebtech1b
Webtech1b
 
Test
TestTest
Test
 
5x5
5x55x5
5x5
 
Lorem
LoremLorem
Lorem
 
SlideShare Hack Day 2013
SlideShare Hack Day 2013SlideShare Hack Day 2013
SlideShare Hack Day 2013
 
Profile Pictures
Profile PicturesProfile Pictures
Profile Pictures
 
SlideShare HACK Day 2013
SlideShare HACK Day 2013SlideShare HACK Day 2013
SlideShare HACK Day 2013
 
SlideShare HACK Day 2013
SlideShare HACK Day 2013SlideShare HACK Day 2013
SlideShare HACK Day 2013
 

Recently uploaded

Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 

Recently uploaded (20)

Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 

Ppch08mod 120221054720-phpapp01

  • 1. Chapter 8 Tests of Hypotheses Based on a Single Sample
  • 3. Hypotheses The null hypothesis, denoted H0, is the claim that is initially assumed to be true. The alternative hypothesis, denoted by Ha, is the assertion that is contrary to H0. Possible conclusions from hypothesis- testing analysis are reject H0 or fail to reject H0.
  • 4. Hypotheses H0 may usually be considered the skeptic’s hypothesis: Nothing new or interesting happening here! (And anything “interesting” observed is due to chance alone.) Ha may usually be considered the researcher’s hypothesis.
  • 5. Rules for Hypotheses H0 is always stated as an equality claim involving parameters. Ha is an inequality claim that contradicts H0. It may be one-sided (using either > or <) or two-sided (using ≠).
  • 6. A Test of Hypotheses A test of hypotheses is a method for using sample data to decide whether the null hypothesis should be rejected.
  • 7. Test Procedure A test procedure is specified by • A test statistic, a function of the sample data on which the decision is to be based. • (Sometimes, not always!) A rejection region, the set of all test statistic values for which H0 will be rejected
  • 8. Errors in Hypothesis Testing A type I error consists of rejecting the null hypothesis H0 when it was true. A type II error consists of not rejecting H0 when H0 is false. α and β are the probabilities of type I and type II error, respectively.
  • 9. Level α Test Sometimes, the experimenter will fix the value of α , also known as the significance level. A test corresponding to the significance level is called a level α test. A test with significance level α is one for which the type I error probability is controlled at the specified level.
  • 10. Rejection Region: α and β Suppose an experiment and a sample size are fixed, and a test statistic is chosen. Decreasing the size of the rejection region to obtain a smaller value of α results in a larger value of β for any particular parameter value consistent with Ha.
  • 11. 8.2 Tests About a Population Mean
  • 12. Case I: A Normal Population With Known σ Null hypothesis: H 0 : µ = µ0 x − µ0 Test statistic value: z = σ/ n
  • 13. Case I: A Normal Population With Known σ Alternative Rejection Region Hypothesis for Level α Test H a : µ > µ0 z ≥ zα H a : µ < µ0 z ≤ − zα H a : µ ≠ µ0 z ≥ zα / 2 or z ≤ − zα / 2
  • 14. Recommended Steps in Hypothesis-Testing Analysis 1. Identify the parameter of interest and describe it in the context of the problem situation. 2. Determine the null value and state the null hypothesis. 3. State the alternative hypothesis.
  • 15. Hypothesis-Testing Analysis 1. Give the formula for the computed value of the test statistic. 2. State the rejection region for the selected significance level 3. Compute any necessary sample quantities, substitute into the formula for the test statistic value, and compute that value.
  • 16. Hypothesis-Testing Analysis 7. Decide whether H0 should be rejected and state this conclusion in the problem context. The formulation of hypotheses (steps 2 and 3) should be done before examining the data.
  • 17. Type II Probability β ( µ ′) for a Level α Test Type II Alt. Hypothesis Probability β ( µ ′)  µ0 − µ ′  H a : µ > µ0 Φ  zα +   σ/ n  µ0 − µ ′  H a : µ < µ0 1 − Φ  − zα +   σ/ n H a : µ ≠ µ0  Φ  zα / 2 + µ0 − µ ′    − Φ  − zα / 2 + µ0 − µ ′    σ/ n  σ/ n
  • 18. Sample Size The sample size n for which a level α test also has β ( µ ′) = β at the alternative value µ ′ is   σ ( zα + z β )  2  one-tailed test    µ0 − µ ′  n= 2   σ ( zα / 2 + z β )    two-tailed test  µ0 − µ ′ 
  • 19. Case II: Large-Sample Tests When the sample size is large, the z tests for case I are modified to yield valid test procedures without requiring either a normal population distribution or a known σ .
  • 20. Large Sample Tests (n > 40) For large n, s is close to σ . X − µ0 Test Statistic: Z = S/ n The use of rejection regions for case I results in a test procedure for which the significance level is approximately α .
  • 21. Case III: A Normal Population Distribution If X1,…,Xn is a random sample from a normal distribution, the standardized variable X −µ T= S/ n has a t distribution with n – 1 degrees of freedom.
  • 22. The One-Sample t Test Null hypothesis: H 0 : µ = µ0 x − µ0 Test statistic value: t= s/ n
  • 23. The One-Sample t Test Alternative Rejection Region Hypothesis for Level α Test H a : µ > µ0 t ≥ tα ,n −1 H a : µ < µ0 t ≤ −tα ,n −1 H a : µ ≠ µ0 t ≥ tα / 2,n −1 or t ≤ −tα / 2,n −1
  • 24. A Typical β Curve for the t Test β curve for n – 1 df β when µ = µ′ 0 Value of d corresponding to specified alternative to µ ′
  • 25. 8.3 Tests Concerning a Population Proportion
  • 26. A Population Proportion Let p denote the proportion of individuals or objects in a population who possess a specified property.
  • 27. Large-Sample Tests Large-sample tests concerning p are a special case of the more general large-sample procedures for a parameter θ .
  • 28. Large-Samples Concerning p Null hypothesis: H 0 : p = p0 Test statistic value: p − p0 ˆ z= p0 ( 1 − p0 ) / n
  • 29. Large-Samples Concerning p Alternative Rejection Region Hypothesis H a : p > p0 z ≥ zα H a : p < p0 z ≤ − zα H a : p ≠ p0 z ≥ zα / 2 or z ≤ − zα / 2 Valid provided np0 ≥ 10 and n(1 − p0 ) ≥ 10.
  • 30. General Expressions for β ( p′) Alt. Hypothesis β ( p′) H a : p > p0  p0 − p′ + zα p0 (1 − p0 ) / n  Φ   p′(1 − p′) / n     p0 − p′ − zα p0 (1 − p0 ) / n  H a : p < p0 1− Φ    p′(1 − p′) / n   
  • 31. General Expressions for β ( p′) Alt. Hypothesis β ( p′)  p0 − p′ + zα p0 (1 − p0 ) / n  H a : p ≠ p0 Φ   p′(1 − p′) / n     p0 − p′ − zα p0 (1 − p0 ) / n  −Φ    p′(1 − p′) / n   
  • 32. Sample Size The sample size n for which a level α test also has β ( p′) = p   z p (1 − p ) + z p′(1 − p′)  2 one-tailed  α 0 0 β   p′ − p0  test   n= 2   zα / 2 p0 (1 − p0 ) + z β p′(1 − p′)  two-tailed    p′ − p0  test  
  • 33. Small-Sample Tests Test procedures when the sample size n is small are based directly on the binomial distribution rather than the normal approximation. P (type I) = 1 − B (c − 1; n, p0 ) B ( p′) = B (c − 1; n, p′)
  • 35. P - Value The P-value is the smallest level of significance at which H0 would be rejected when a specified test procedure is used on a given data set. 1. P-value ≤ α ⇒ reject H 0 at a level of α 2. P -value > α ⇒ do not reject H 0 at a level of α
  • 36. P - Value The P-value is the probability, calculated assuming H0 is true, of obtaining a test statistic value at least as contradictory to H0 as the value that actually resulted. The smaller the P- value, the more contradictory is the data to H0.
  • 37. P-Values for a z Test P-value:  1 − Φ( z ) upper-tailed test  P= Φ( z ) lower-tailed test 2 1 − Φ ( z )  two-tailed test   
  • 38. P-Value (area) P-value = 1 − Φ ( z ) Upper-Tailed P -value = Φ ( z ) 0 z Lower-Tailed -z 0 P-value = 2[1 − Φ (| z |)] Two-Tailed -z 0 z
  • 39. P–Values for t Tests The P-value for a t test will be a t curve area. The number of df for the one-sample t test is n – 1.
  • 40. 8.5 Some Comments on Selecting a Test Procedure
  • 41. Constructing a Test Procedure 1. Specify a test statistic. 2. Decide on the general form of the rejection region. 3. Select the specific numerical critical value or values that will separate the rejection region from the acceptance region.
  • 42. Issues to be Considered 1. What are the practical implications and consequences of choosing a particular level of significance once the other aspects of a test procedure have been determined? 2. Does there exist a general principle that can be used to obtain best or good test procedures?
  • 43. Issues to be Considered 1. When there exist two or more tests that are appropriate in a given situation, how can the tests be compared to decide which should be used? 2. If a test is derived under specific assumptions about the distribution of the population being sampled, how well will the test procedure work when the assumptions are violated?
  • 44. Statistical Versus Practical Significance Be careful in interpreting evidence when the sample size is large, since any small departure from H0 will almost surely be detected by a test (statistical significance), yet such a departure may have little practical significance.
  • 45. The Likelihood Ratio Principle 1. Find the largest value of the likelihood for any θ in Ω0 . 2. Find the largest value of the likelihood for any θ in Ωa . 3. Form the ratio maximum likelihood for θ in Ω0 λ ( x1 ,..., xn ) = maximum likelihood for θ in Ωa Reject H0 when this ratio is small.