SlideShare a Scribd company logo
1 of 23
Hypothesis Testing
Z-test โ€“ used when the population standard deviation
is given.
๐‘ง = ๐‘ฅโˆ’๐œ‡
๐œŽ
โˆ™ ๐‘›
x โ€“ actual mean (computed mean)
๐œ‡ โ€“ hypothesized mean
๐œŽ โ€“ population standard deviation
n โ€“ population size
(z test using one sample mean)
Hypothesis Testing
Example:
A random sample of 100 recorded deaths in
the Philippines during the past years showed an
average life span of 71.8 years, with a population
standard deviation of 8.9 years. Does this seem to
conclude that the average life span is greater than
70 years? Test the hypothesis using 0.05 level of
significance.
Hypothesis Testing
Example:
Suppose we want to test whether or not the
girls, on average, score higher than 600 on SAT
verbal section. If the sample mean of 20 girls on
SAT verbal section is 641 with population standard
deviation of 100. Test the hypothesis using 0.05
level of significance.
Hypothesis Testing
Example:
Suppose it is known from experience that the
standard deviation of the weight of 10 ounce
packages of cookies is 0.20 ounces. To check
whether the true average is 10 ounces on a given
day, employees select a random sample of 36
packages and find that their mean weight is 9.45
ounces. Perform two-tailed z-test using ฮฑ = 0.01
level of significance.
Hypothesis Testing
Example:
According to the website
philbasiceducation.com, the Philippine high
schoolโ€™s mean percentage score (MPS) in National
Achievement test for mathematics is 46.37% for the
school year 2011-2012 with standard deviation of
10.3%. Aware of this figure, the principal of Isulan
National High School prepared a new mathematics
program for the school year 2012-2013, for grade
10 students to cater improvement in mathematics
education.
Hypothesis Testing
Example:
To validate the principalโ€™s claim that her
program will substantially improve mathematics
teaching, she selected 80 students at random from
grade 10 consisting of 10 sections. The students
undergone the said mathematics program for the
whole year. Now, after the 2012-2013 NAT results,
it was known that the MPS of these 80 students is
50.1%. Based on the data, can the principal
conclude at 0.05 level of significance that the new
program improves the mathematics proficiency of
grade 10 students in INHS?
Hypothesis Testing
Z test using two sample means
๐’› =
๐’™๐Ÿ โˆ’ ๐’™๐Ÿ
(๐’”๐Ÿ)๐Ÿ
๐’๐Ÿ
+
(๐’”๐Ÿ)๐Ÿ
๐’๐Ÿ
๐’™๐Ÿ-sample mean for group 1
๐’™๐Ÿ- sample mean for group 2
(๐’”๐Ÿ)๐Ÿ
- sample variance for group 1
(๐’”๐Ÿ)๐Ÿ
- sample variance for group 2
๐’๐Ÿ - sample size for group 1
๐’๐Ÿ - sample size for group 2
Hypothesis Testing
Example:
A bank is opening a new branch in one of two
town neighborhoods. One of the factors considered
by the bank is whether the average monthly income
(in thousand pesos) in the two neighborhoods
differ. From census records, the bank drew two
random samples of 100 families each and obtained
the following information:
Hypothesis Testing
Example:
Neighborhoods
The bank wishes to test the null hypothesis that the
two neighborhoods have equal mean income. What
should the bank conclude? Test the hypothesis using a
= 0.05.
Sample A Sample B
๐’™๐Ÿ = ๐Ÿ๐ŸŽ, ๐Ÿ–๐ŸŽ๐ŸŽ ๐’™๐Ÿ = ๐Ÿ๐ŸŽ, ๐Ÿ‘๐ŸŽ๐ŸŽ
๐’”๐Ÿ = ๐Ÿ‘๐ŸŽ๐ŸŽ ๐’”๐Ÿ = ๐Ÿ’๐ŸŽ๐ŸŽ
๐’๐Ÿ = ๐Ÿ๐ŸŽ๐ŸŽ ๐’๐Ÿ = ๐Ÿ๐ŸŽ๐ŸŽ
Hypothesis Testing
Example:
The average lifetime of 125 Brand X Alkaline
AA batteries and 130 Brand Y Alkaline AA
batteries were found to be 9.5 hours and 9.2 hours
respectively. Suppose the population standard
deviations of lifetimes are 1.2 hours for brand X
and 1.8 hours for brand Y batteries, test the
hypothesis using 0.05 level of significance.
Hypothesis Testing
F-test Analysis of Variance (ANOVA) for one-
way classification or one-way ANOVA
-The one-way analysis of variance is used to test
the claim that three or more population means
are equal.
-This is an extension of the two independent
samples t-test
-The one-way is because each value is classified
in exactly one way
Examples include comparisons by gender, race,
political party, color, etc.
Hypothesis Testing
The null hypothesis is that the means are all
equal
The alternative hypothesis is that at least one of
the means is different
Think about the Sesame Streetยฎ game where
three of these things are kind of the same,
but one of these things is not like the other.
They donโ€™t all have to be different, just one of
them.
Hypothesis Testing
The ANOVA doesnโ€™t test that one mean is less
than another, only whether theyโ€™re all equal or at
least one is different.
Hypothesis Testing
๐‘‘๐‘“๐‘ = ๐‘˜ โˆ’ 1 Where: N = number of samples
๐‘‘๐‘“๐‘ค = ๐‘ โˆ’ ๐‘˜ k= number of columns
๐‘‘๐‘“๐‘ก = ๐‘ โˆ’ 1
Hypothesis Testing
Where:
SSB = ( ๐‘‹๐ด๐‘–)2
๐‘›๐ด๐‘–
โˆ’
(๐‘‹๐‘–)2
๐‘
TSS = ๐‘‹๐‘–
2
โˆ’ ( ๐‘‹๐‘–)2
๐‘
SSW = TSS-SSB
N=sample size
X=observed value
n = number of rows
A=given factor or category
i = individual observation of cell
Hypothesis Testing
Determining Which Mean(s) Is/Are Different
If you fail to reject the null hypothesis in an ANOVA
then you are done. You know, with some level of
confidence, that the treatment means are statistically
equal. However, if you reject the null then you must
conduct a separate test to determine which mean(s)
is/are different.
There are several techniques for testing the
differences between means, but the most common
test is the Least Significant Difference Test.
Hypothesis Testing
LSD (for balanced sample) =
๐Ÿร—๐‘ด๐‘บ๐‘ฌร—๐‘ญ๐Ÿ,๐‘ตโˆ’๐’Œ
๐’“
Where:
MSE is mean square error and r is the
number of rows in each treatment.
Thus, if the absolute value of the difference between
any two treatment means is greater than LSD, we may
conclude that they are not statistically equal.
Hypothesis Testing
Example:
The statistics classroom is divided into three
rows: front, middle, and back. The instructor
noticed that the further the students were from
him, the more likely they were to miss class or
use an instant messenger during class. He
wanted to see if the students further away did
worse on the exams.
Hypothesis Testing
Example:
A random sample of the students in each row was
taken. The score for those students on the
second exam was recorded. Test using a=0.05.
Front Middle Back
82 83 38
83 78 59
97 68 55
93 61 66
55 77 45
67 54 52
53 69 52
Hypothesis Testing
Example:
Suppose the National Transportation Safety Board (NTSB)
wants to examine the safety of compact cars, midsize cars,
and full-size cars. It collects a sample of three for each of the
treatments (cars types). Using the hypothetical data provided
below, test whether the mean pressure applied to the driverโ€™s
head during a crash test is equal for each types of car. Use ฮฑ =
5%.
Compact Midsize Full-size
643 469 484
655 427 456
702 525 402
Hypothesis Testing
Example:
A psychologist was interested in whether different
TV shows lead to a more positive outlook on life.
People were split into 4 groups and then taken to
a room to view a program. The four groups saw:
The Muppet show, Futurama, The News, and No
Program. After the program a blood sample was
taken and serotonin levels measured (remember
more serotonin more happy!)
Hypothesis Testing
Example:
The Muppet show Futurama BBC News No Program
11 4 4 7
7 8 3 7
8 6 2 5
14 11 2 4
11 9 3 3
10 8 6 4
5 4
4
Hypothesis Testing
Example:
Determine who among the three salesman will
most likely be promoted based on their monthly
sales in pesos? Use 5% level of significance.
A B C
12,000 15,500 12,889
10,000 12,500 16,000
10,900 12,000 15,000
18,000 13,000 12,700
16,000 14,000 15,000
14,400 15,888 13,000
14,000 12,300 12,000
15,500 15,000 16,000
18,800 19,000 16,000

More Related Content

Similar to Hypothesis Testing Examples ANOVA Z-Tests

Inferential Statistics.pdf
Inferential Statistics.pdfInferential Statistics.pdf
Inferential Statistics.pdfShivakumar B N
ย 
6-Inferential-Statistics.pptx
6-Inferential-Statistics.pptx6-Inferential-Statistics.pptx
6-Inferential-Statistics.pptxsordillasecondsem
ย 
Parametric Test
Parametric TestParametric Test
Parametric TestAmritaKumari83
ย 
Sampling and Sampling Distributions
Sampling and Sampling DistributionsSampling and Sampling Distributions
Sampling and Sampling DistributionsJessa Albit
ย 
Epidemiological study design and it's significance
Epidemiological study design and it's significanceEpidemiological study design and it's significance
Epidemiological study design and it's significanceGurunathVhanmane1
ย 
Assessment 3 ContextYou will review the theory, logic, and a.docx
Assessment 3 ContextYou will review the theory, logic, and a.docxAssessment 3 ContextYou will review the theory, logic, and a.docx
Assessment 3 ContextYou will review the theory, logic, and a.docxgalerussel59292
ย 
T test^jsample size^j ethics
T test^jsample size^j ethicsT test^jsample size^j ethics
T test^jsample size^j ethicsAbhishek Thakur
ย 
test_using_one-way_analysis_of_varianceANOVA_063847.pptx
test_using_one-way_analysis_of_varianceANOVA_063847.pptxtest_using_one-way_analysis_of_varianceANOVA_063847.pptx
test_using_one-way_analysis_of_varianceANOVA_063847.pptxRaquelMaacap
ย 
Chapter 11
Chapter 11Chapter 11
Chapter 11bmcfad01
ย 
Day 3 SPSS
Day 3 SPSSDay 3 SPSS
Day 3 SPSSabir hossain
ย 
Parametric test 7
Parametric test 7Parametric test 7
Parametric test 7Sundar B N
ย 
Amrita kumari
Amrita kumariAmrita kumari
Amrita kumariAmritaKumari83
ย 
Happiness Data SetAuthor Jackson, S.L. (2017) Statistics plain
Happiness Data SetAuthor Jackson, S.L. (2017) Statistics plain Happiness Data SetAuthor Jackson, S.L. (2017) Statistics plain
Happiness Data SetAuthor Jackson, S.L. (2017) Statistics plain ShainaBoling829
ย 
Parametric Statistical tests
Parametric Statistical testsParametric Statistical tests
Parametric Statistical testsSundar B N
ย 
Statistical Significance Tests.pptx
Statistical Significance Tests.pptxStatistical Significance Tests.pptx
Statistical Significance Tests.pptxAldofChrist
ย 
Parametric Test by Vikramjit Singh
Parametric Test  by  Vikramjit SinghParametric Test  by  Vikramjit Singh
Parametric Test by Vikramjit SinghVikramjit Singh
ย 
Analyzing experimental research data
Analyzing experimental research dataAnalyzing experimental research data
Analyzing experimental research dataAtula Ahuja
ย 

Similar to Hypothesis Testing Examples ANOVA Z-Tests (20)

Inferential Statistics.pdf
Inferential Statistics.pdfInferential Statistics.pdf
Inferential Statistics.pdf
ย 
6-Inferential-Statistics.pptx
6-Inferential-Statistics.pptx6-Inferential-Statistics.pptx
6-Inferential-Statistics.pptx
ย 
Parametric Test
Parametric TestParametric Test
Parametric Test
ย 
T-test
T-testT-test
T-test
ย 
Sampling and Sampling Distributions
Sampling and Sampling DistributionsSampling and Sampling Distributions
Sampling and Sampling Distributions
ย 
Epidemiological study design and it's significance
Epidemiological study design and it's significanceEpidemiological study design and it's significance
Epidemiological study design and it's significance
ย 
Assessment 3 ContextYou will review the theory, logic, and a.docx
Assessment 3 ContextYou will review the theory, logic, and a.docxAssessment 3 ContextYou will review the theory, logic, and a.docx
Assessment 3 ContextYou will review the theory, logic, and a.docx
ย 
T test^jsample size^j ethics
T test^jsample size^j ethicsT test^jsample size^j ethics
T test^jsample size^j ethics
ย 
test_using_one-way_analysis_of_varianceANOVA_063847.pptx
test_using_one-way_analysis_of_varianceANOVA_063847.pptxtest_using_one-way_analysis_of_varianceANOVA_063847.pptx
test_using_one-way_analysis_of_varianceANOVA_063847.pptx
ย 
Chapter 11
Chapter 11Chapter 11
Chapter 11
ย 
T- test .pptx
T- test .pptxT- test .pptx
T- test .pptx
ย 
Day 3 SPSS
Day 3 SPSSDay 3 SPSS
Day 3 SPSS
ย 
Parametric test 7
Parametric test 7Parametric test 7
Parametric test 7
ย 
Amrita kumari
Amrita kumariAmrita kumari
Amrita kumari
ย 
t test
t testt test
t test
ย 
Happiness Data SetAuthor Jackson, S.L. (2017) Statistics plain
Happiness Data SetAuthor Jackson, S.L. (2017) Statistics plain Happiness Data SetAuthor Jackson, S.L. (2017) Statistics plain
Happiness Data SetAuthor Jackson, S.L. (2017) Statistics plain
ย 
Parametric Statistical tests
Parametric Statistical testsParametric Statistical tests
Parametric Statistical tests
ย 
Statistical Significance Tests.pptx
Statistical Significance Tests.pptxStatistical Significance Tests.pptx
Statistical Significance Tests.pptx
ย 
Parametric Test by Vikramjit Singh
Parametric Test  by  Vikramjit SinghParametric Test  by  Vikramjit Singh
Parametric Test by Vikramjit Singh
ย 
Analyzing experimental research data
Analyzing experimental research dataAnalyzing experimental research data
Analyzing experimental research data
ย 

Recently uploaded

18-04-UA_REPORT_MEDIALITERAะกY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAะกY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAะกY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAะกY_INDEX-DM_23-1-final-eng.pdfssuser54595a
ย 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...Dr. Mazin Mohamed alkathiri
ย 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
ย 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
ย 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
ย 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)โ€”โ€”โ€”โ€”IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)โ€”โ€”โ€”โ€”IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)โ€”โ€”โ€”โ€”IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)โ€”โ€”โ€”โ€”IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
ย 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
ย 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
ย 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
ย 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
ย 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
ย 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
ย 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
ย 
เคญเคพเคฐเคค-เคฐเฅ‹เคฎ เคตเฅเคฏเคพเคชเคพเคฐ.pptx, Indo-Roman Trade,
เคญเคพเคฐเคค-เคฐเฅ‹เคฎ เคตเฅเคฏเคพเคชเคพเคฐ.pptx, Indo-Roman Trade,เคญเคพเคฐเคค-เคฐเฅ‹เคฎ เคตเฅเคฏเคพเคชเคพเคฐ.pptx, Indo-Roman Trade,
เคญเคพเคฐเคค-เคฐเฅ‹เคฎ เคตเฅเคฏเคพเคชเคพเคฐ.pptx, Indo-Roman Trade,Virag Sontakke
ย 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
ย 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
ย 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
ย 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
ย 

Recently uploaded (20)

18-04-UA_REPORT_MEDIALITERAะกY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAะกY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAะกY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAะกY_INDEX-DM_23-1-final-eng.pdf
ย 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
ย 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
ย 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
ย 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
ย 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
ย 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)โ€”โ€”โ€”โ€”IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)โ€”โ€”โ€”โ€”IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)โ€”โ€”โ€”โ€”IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)โ€”โ€”โ€”โ€”IMP.OF KSHARA ...
ย 
Model Call Girl in Tilak Nagar Delhi reach out to us at ๐Ÿ”9953056974๐Ÿ”
Model Call Girl in Tilak Nagar Delhi reach out to us at ๐Ÿ”9953056974๐Ÿ”Model Call Girl in Tilak Nagar Delhi reach out to us at ๐Ÿ”9953056974๐Ÿ”
Model Call Girl in Tilak Nagar Delhi reach out to us at ๐Ÿ”9953056974๐Ÿ”
ย 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
ย 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
ย 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
ย 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
ย 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
ย 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
ย 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
ย 
เคญเคพเคฐเคค-เคฐเฅ‹เคฎ เคตเฅเคฏเคพเคชเคพเคฐ.pptx, Indo-Roman Trade,
เคญเคพเคฐเคค-เคฐเฅ‹เคฎ เคตเฅเคฏเคพเคชเคพเคฐ.pptx, Indo-Roman Trade,เคญเคพเคฐเคค-เคฐเฅ‹เคฎ เคตเฅเคฏเคพเคชเคพเคฐ.pptx, Indo-Roman Trade,
เคญเคพเคฐเคค-เคฐเฅ‹เคฎ เคตเฅเคฏเคพเคชเคพเคฐ.pptx, Indo-Roman Trade,
ย 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
ย 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
ย 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
ย 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
ย 

Hypothesis Testing Examples ANOVA Z-Tests

  • 1. Hypothesis Testing Z-test โ€“ used when the population standard deviation is given. ๐‘ง = ๐‘ฅโˆ’๐œ‡ ๐œŽ โˆ™ ๐‘› x โ€“ actual mean (computed mean) ๐œ‡ โ€“ hypothesized mean ๐œŽ โ€“ population standard deviation n โ€“ population size (z test using one sample mean)
  • 2. Hypothesis Testing Example: A random sample of 100 recorded deaths in the Philippines during the past years showed an average life span of 71.8 years, with a population standard deviation of 8.9 years. Does this seem to conclude that the average life span is greater than 70 years? Test the hypothesis using 0.05 level of significance.
  • 3. Hypothesis Testing Example: Suppose we want to test whether or not the girls, on average, score higher than 600 on SAT verbal section. If the sample mean of 20 girls on SAT verbal section is 641 with population standard deviation of 100. Test the hypothesis using 0.05 level of significance.
  • 4. Hypothesis Testing Example: Suppose it is known from experience that the standard deviation of the weight of 10 ounce packages of cookies is 0.20 ounces. To check whether the true average is 10 ounces on a given day, employees select a random sample of 36 packages and find that their mean weight is 9.45 ounces. Perform two-tailed z-test using ฮฑ = 0.01 level of significance.
  • 5. Hypothesis Testing Example: According to the website philbasiceducation.com, the Philippine high schoolโ€™s mean percentage score (MPS) in National Achievement test for mathematics is 46.37% for the school year 2011-2012 with standard deviation of 10.3%. Aware of this figure, the principal of Isulan National High School prepared a new mathematics program for the school year 2012-2013, for grade 10 students to cater improvement in mathematics education.
  • 6. Hypothesis Testing Example: To validate the principalโ€™s claim that her program will substantially improve mathematics teaching, she selected 80 students at random from grade 10 consisting of 10 sections. The students undergone the said mathematics program for the whole year. Now, after the 2012-2013 NAT results, it was known that the MPS of these 80 students is 50.1%. Based on the data, can the principal conclude at 0.05 level of significance that the new program improves the mathematics proficiency of grade 10 students in INHS?
  • 7. Hypothesis Testing Z test using two sample means ๐’› = ๐’™๐Ÿ โˆ’ ๐’™๐Ÿ (๐’”๐Ÿ)๐Ÿ ๐’๐Ÿ + (๐’”๐Ÿ)๐Ÿ ๐’๐Ÿ ๐’™๐Ÿ-sample mean for group 1 ๐’™๐Ÿ- sample mean for group 2 (๐’”๐Ÿ)๐Ÿ - sample variance for group 1 (๐’”๐Ÿ)๐Ÿ - sample variance for group 2 ๐’๐Ÿ - sample size for group 1 ๐’๐Ÿ - sample size for group 2
  • 8. Hypothesis Testing Example: A bank is opening a new branch in one of two town neighborhoods. One of the factors considered by the bank is whether the average monthly income (in thousand pesos) in the two neighborhoods differ. From census records, the bank drew two random samples of 100 families each and obtained the following information:
  • 9. Hypothesis Testing Example: Neighborhoods The bank wishes to test the null hypothesis that the two neighborhoods have equal mean income. What should the bank conclude? Test the hypothesis using a = 0.05. Sample A Sample B ๐’™๐Ÿ = ๐Ÿ๐ŸŽ, ๐Ÿ–๐ŸŽ๐ŸŽ ๐’™๐Ÿ = ๐Ÿ๐ŸŽ, ๐Ÿ‘๐ŸŽ๐ŸŽ ๐’”๐Ÿ = ๐Ÿ‘๐ŸŽ๐ŸŽ ๐’”๐Ÿ = ๐Ÿ’๐ŸŽ๐ŸŽ ๐’๐Ÿ = ๐Ÿ๐ŸŽ๐ŸŽ ๐’๐Ÿ = ๐Ÿ๐ŸŽ๐ŸŽ
  • 10. Hypothesis Testing Example: The average lifetime of 125 Brand X Alkaline AA batteries and 130 Brand Y Alkaline AA batteries were found to be 9.5 hours and 9.2 hours respectively. Suppose the population standard deviations of lifetimes are 1.2 hours for brand X and 1.8 hours for brand Y batteries, test the hypothesis using 0.05 level of significance.
  • 11. Hypothesis Testing F-test Analysis of Variance (ANOVA) for one- way classification or one-way ANOVA -The one-way analysis of variance is used to test the claim that three or more population means are equal. -This is an extension of the two independent samples t-test -The one-way is because each value is classified in exactly one way Examples include comparisons by gender, race, political party, color, etc.
  • 12. Hypothesis Testing The null hypothesis is that the means are all equal The alternative hypothesis is that at least one of the means is different Think about the Sesame Streetยฎ game where three of these things are kind of the same, but one of these things is not like the other. They donโ€™t all have to be different, just one of them.
  • 13. Hypothesis Testing The ANOVA doesnโ€™t test that one mean is less than another, only whether theyโ€™re all equal or at least one is different.
  • 14. Hypothesis Testing ๐‘‘๐‘“๐‘ = ๐‘˜ โˆ’ 1 Where: N = number of samples ๐‘‘๐‘“๐‘ค = ๐‘ โˆ’ ๐‘˜ k= number of columns ๐‘‘๐‘“๐‘ก = ๐‘ โˆ’ 1
  • 15. Hypothesis Testing Where: SSB = ( ๐‘‹๐ด๐‘–)2 ๐‘›๐ด๐‘– โˆ’ (๐‘‹๐‘–)2 ๐‘ TSS = ๐‘‹๐‘– 2 โˆ’ ( ๐‘‹๐‘–)2 ๐‘ SSW = TSS-SSB N=sample size X=observed value n = number of rows A=given factor or category i = individual observation of cell
  • 16. Hypothesis Testing Determining Which Mean(s) Is/Are Different If you fail to reject the null hypothesis in an ANOVA then you are done. You know, with some level of confidence, that the treatment means are statistically equal. However, if you reject the null then you must conduct a separate test to determine which mean(s) is/are different. There are several techniques for testing the differences between means, but the most common test is the Least Significant Difference Test.
  • 17. Hypothesis Testing LSD (for balanced sample) = ๐Ÿร—๐‘ด๐‘บ๐‘ฌร—๐‘ญ๐Ÿ,๐‘ตโˆ’๐’Œ ๐’“ Where: MSE is mean square error and r is the number of rows in each treatment. Thus, if the absolute value of the difference between any two treatment means is greater than LSD, we may conclude that they are not statistically equal.
  • 18. Hypothesis Testing Example: The statistics classroom is divided into three rows: front, middle, and back. The instructor noticed that the further the students were from him, the more likely they were to miss class or use an instant messenger during class. He wanted to see if the students further away did worse on the exams.
  • 19. Hypothesis Testing Example: A random sample of the students in each row was taken. The score for those students on the second exam was recorded. Test using a=0.05. Front Middle Back 82 83 38 83 78 59 97 68 55 93 61 66 55 77 45 67 54 52 53 69 52
  • 20. Hypothesis Testing Example: Suppose the National Transportation Safety Board (NTSB) wants to examine the safety of compact cars, midsize cars, and full-size cars. It collects a sample of three for each of the treatments (cars types). Using the hypothetical data provided below, test whether the mean pressure applied to the driverโ€™s head during a crash test is equal for each types of car. Use ฮฑ = 5%. Compact Midsize Full-size 643 469 484 655 427 456 702 525 402
  • 21. Hypothesis Testing Example: A psychologist was interested in whether different TV shows lead to a more positive outlook on life. People were split into 4 groups and then taken to a room to view a program. The four groups saw: The Muppet show, Futurama, The News, and No Program. After the program a blood sample was taken and serotonin levels measured (remember more serotonin more happy!)
  • 22. Hypothesis Testing Example: The Muppet show Futurama BBC News No Program 11 4 4 7 7 8 3 7 8 6 2 5 14 11 2 4 11 9 3 3 10 8 6 4 5 4 4
  • 23. Hypothesis Testing Example: Determine who among the three salesman will most likely be promoted based on their monthly sales in pesos? Use 5% level of significance. A B C 12,000 15,500 12,889 10,000 12,500 16,000 10,900 12,000 15,000 18,000 13,000 12,700 16,000 14,000 15,000 14,400 15,888 13,000 14,000 12,300 12,000 15,500 15,000 16,000 18,800 19,000 16,000