SlideShare a Scribd company logo
1 of 29
Lecture 7
Virtual University of Pakistan 1
• Random Numbers
• Checking Normality
• Hypothesis testing
HYPOTHESIS TESTING
HYPOTHESIS
What do you mean by a Hypothesis?
A supposition or explanation that is provisionally accepted in order to
interpret certain events or phenomena, and to provide guidance for
further investigation.
OR
A hypothesis is a tentative statement about the relationship between two
or more variables.
HYPOTHESIS TESTING
Statistically, an assumption about certain characteristics of a
population.
The statistical procedure for testing a hypothesis requires some
understanding of the null hypothesis and alternative hypothesis.
TYPES OF HYPOTHESIS
Null Hypothesis
A null hypothesis is "the hypothesis that there is no relationship between
two or more variables. In a mathematical formulation of the null hypothesis
there will typically be an equal sign. This hypothesis is denoted by H0.
Alternate Hypothesis
The alternative hypothesis proposes a relationship between two or more
variables. In a mathematical formulation of the alternative hypothesis there
will typically be an inequality, or not equal to symbol. This hypothesis is
denoted by either Ha or by H1.
EXAMPLE OF HYPOTHESES
For example, you might have come up with a measurable
hypothesis that children have a higher IQ if they eat oily fish for
a period of time.
Null hypothesis: Children who eat oily fish for six months do
not show a higher IQ.
Alternative hypothesis: Children who eat oily fish for six
months will show a higher IQ
A common statistical method is to compare a population to the
mean.
H0 : The children will show no increase in mean intelligence.
i.e.
H0 :
H1 : The children will show an increase in mean intelligence.
i.e.
H1 :
100
 
100
 
TYPES OF ERRORS
What are errors in Hypothesis Testing?
The purpose of Hypothesis Testing is to reject or not reject the Null
Hypothesis based on statistical evidence
Hypothesis Testing is said to have resulted in an error when the
decision regarding treatment of the Null Hypothesis is wrong
There are basically two types of errors we can make:
TYPES OF ERRORS
Type-I Error (Ho right but rejected)
When Null Hypothesis is rejected despite the test on data
showing that the outcome was true
Type-II Error (Ho wrong but not rejected)
When Null Hypothesis is not rejected despite the test on data
showing that the outcome was false
A type I error, also known as an error of the first kind,
occurs when the null hypothesis (H0) is true, but is rejected.
A type I error may be compared with a so called false positive.
The rate of the type I error is called the size of the test and
denoted by the Greek letter α (alpha).
It usually equals the significance level of a test.
If type I error is fixed at 5 %, it means that there are about 5
chances in 100 that we will reject H0 when H0 is true.
Type I Error
Type II error, also known as an error of the second kind, occurs when the null
hypothesis is false, but erroneously fails to be rejected.
Type II error means accepting the hypothesis which should have been rejected.
A type II error may be compared with a so-called False Negative.
The rate of the type II error is denoted by the Greek letter β (beta) and related
to the power of a test (which equals 1-β ).
Type II Error
In the tabular form two error can be
presented as follows:
Null hypothesis (H0)
is true
Null hypothesis (H0)
is false
Reject null
hypothesis
Type I error
False decision
Correct
True decision
Fail to reject null
hypothesis
Correct
True decision
Type II error
False decision
Reducing Type I Errors
The chances of making a Type I error is reduced by increasing the
level of confidence.
Reducing Type II Errors
Test condition and acceptance criteria are in turn reduces Type II
errors. This increases the number of times we reject the Null
hypothesis – with a resulting increase in the number of Type I
errors.
Type II Error and Power
• “Power” of a test is the probability of rejecting null when alternative
is true.
• “Power” = 1 - P(Type II error)
• To minimize the P(Type II error), we equivalently want to maximize
power.
• But power depends on the value under the alternative hypothesis .
P-value
P-value - Measure of the strength of evidence the sample
data provides against the null hypothesis:
P(Evidence This strong or stronger against H0 | H0 is true)
)
(
: obs
z
Z
P
p
val
P 


INTERPRETING RESULTS
Interpreting the weight of evidence against the Null
Hypothesis for rejecting / not rejecting Ho
If the p-value for testing Ho is less than –
 < 0.10, we have some evidence that Ho is false
 < 0.05, we have strong evidence that Ho is false
 < 0.01, we have very strong evidence that Ho is false
 < 0.001, we have extremely strong evidence that Ho is false
Simple and Composite Hypothesis
A simple hypothesis is one in which all parameters of the distribution
are specified. For example, if the heights of college students are
normally distributed with , the hypothesis that its mean is, say,
, that is , we have stated a simple hypothesis, as the mean
and variance together specify a normal distribution completely.
Simple and Composite Hypothesis
A hypothesis which is not simple (i.e. in which not all of the parameters
are specified) is called a composite hypothesis. For instance, if we
hypothesize that (and ) or and , the
hypothesis becomes a composite hypothesis because we cannot know
the exact distribution of the population in either case. Obviously, the
parameters and have more than one value and no
specified values are being assigned.
: 62
H  
Critical Region (or Rejection Region)
The critical region CR, or rejection region RR, is a set of
values of the test statistic for which the null hypothesis is
rejected in a hypothesis test. That is, the sample space for
the test statistic is partitioned into two regions; one region
(the critical region) will lead us to reject the null hypothesis
H0, the other will not. So, if the observed value of the test
statistic is a member of the critical region, we conclude
"Reject H0"; if it is not a member of the critical region then
we conclude "Do not reject H0".
Critical
Region
Critical Region
Critical
Region
Critical
Regions
Critical Value
Critical Value
( z score )
Fail to reject H0
Reject H0
Any value that separates the critical region (where we reject the
null hypothesis) from the values of the test statistic that do not
lead to a rejection of the null hypothesis
Level of Significance, a
and the Rejection Region
H0:   3
H1:  < 3
0
0
0
H0:   3
H1:  > 3
H0:   3
H1:   3
a
a
a/2
Critical
Value(s)
Rejection Regions
Two-tailed Test
H0: =
H1: 
ais divided equally between
the two tails of the critical
region
Means less than or greater than
Values that differ significantly from H0
Right-tailed Test
H0: =
H1: > Points Right
Values that
differ significantly
from Ho
Left-tailed Test
H0: =
H1: <
Points Left
Values that
differ
significantly
from Ho

More Related Content

Similar to lecture no.7 computation.pptx

business research management
business research management business research management
business research management ApneetSaini
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testingAfra Fathima
 
Top schools in delhi ncr
Top schools in delhi ncrTop schools in delhi ncr
Top schools in delhi ncrEdhole.com
 
20200519073328de6dca404c.pdfkshhjejhehdhd
20200519073328de6dca404c.pdfkshhjejhehdhd20200519073328de6dca404c.pdfkshhjejhehdhd
20200519073328de6dca404c.pdfkshhjejhehdhdHimanshuSharma723273
 
Testing of hypotheses
Testing of hypothesesTesting of hypotheses
Testing of hypothesesRajThakuri
 
hypothesis test
 hypothesis test hypothesis test
hypothesis testUnsa Shakir
 
Hypothesis testing pdf bhavana.pdf
Hypothesis testing pdf bhavana.pdfHypothesis testing pdf bhavana.pdf
Hypothesis testing pdf bhavana.pdfSimhadri Bhavana
 
Formulating Hypotheses
Formulating Hypotheses Formulating Hypotheses
Formulating Hypotheses Shilpi Panchal
 
Testing of Hypothesis.pptx
Testing of Hypothesis.pptxTesting of Hypothesis.pptx
Testing of Hypothesis.pptxhemamalini398951
 
testingofhypothesis-150108150611-conversion-gate02.pptx
testingofhypothesis-150108150611-conversion-gate02.pptxtestingofhypothesis-150108150611-conversion-gate02.pptx
testingofhypothesis-150108150611-conversion-gate02.pptxwigatox256
 
Unit 4 Tests of Significance
Unit 4 Tests of SignificanceUnit 4 Tests of Significance
Unit 4 Tests of SignificanceRai University
 
Hypothesis testing and p values 06
Hypothesis testing and p values  06Hypothesis testing and p values  06
Hypothesis testing and p values 06DrZahid Khan
 
Testing of hypothesis
Testing of hypothesisTesting of hypothesis
Testing of hypothesisJags Jagdish
 

Similar to lecture no.7 computation.pptx (20)

business research management
business research management business research management
business research management
 
Testing of hypothesis
Testing of hypothesisTesting of hypothesis
Testing of hypothesis
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Top schools in delhi ncr
Top schools in delhi ncrTop schools in delhi ncr
Top schools in delhi ncr
 
20200519073328de6dca404c.pdfkshhjejhehdhd
20200519073328de6dca404c.pdfkshhjejhehdhd20200519073328de6dca404c.pdfkshhjejhehdhd
20200519073328de6dca404c.pdfkshhjejhehdhd
 
Formulatinghypotheses
Formulatinghypotheses Formulatinghypotheses
Formulatinghypotheses
 
Testing of hypotheses
Testing of hypothesesTesting of hypotheses
Testing of hypotheses
 
hypothesis test
 hypothesis test hypothesis test
hypothesis test
 
Hypothesis testing pdf bhavana.pdf
Hypothesis testing pdf bhavana.pdfHypothesis testing pdf bhavana.pdf
Hypothesis testing pdf bhavana.pdf
 
Formulating Hypotheses
Formulating Hypotheses Formulating Hypotheses
Formulating Hypotheses
 
Testing of Hypothesis.pptx
Testing of Hypothesis.pptxTesting of Hypothesis.pptx
Testing of Hypothesis.pptx
 
testingofhypothesis-150108150611-conversion-gate02.pptx
testingofhypothesis-150108150611-conversion-gate02.pptxtestingofhypothesis-150108150611-conversion-gate02.pptx
testingofhypothesis-150108150611-conversion-gate02.pptx
 
Unit 4 Tests of Significance
Unit 4 Tests of SignificanceUnit 4 Tests of Significance
Unit 4 Tests of Significance
 
Rm 3 Hypothesis
Rm   3   HypothesisRm   3   Hypothesis
Rm 3 Hypothesis
 
Hypothesis Testing.pptx
Hypothesis Testing.pptxHypothesis Testing.pptx
Hypothesis Testing.pptx
 
Hypothesis testing and p values 06
Hypothesis testing and p values  06Hypothesis testing and p values  06
Hypothesis testing and p values 06
 
Inferential Statistics
Inferential StatisticsInferential Statistics
Inferential Statistics
 
Hypothesis
HypothesisHypothesis
Hypothesis
 
Testing of hypothesis
Testing of hypothesisTesting of hypothesis
Testing of hypothesis
 
P value
P valueP value
P value
 

More from ssuser378d7c

Lecture 17. Smoking.ppt in the word of env
Lecture 17. Smoking.ppt in the word of  envLecture 17. Smoking.ppt in the word of  env
Lecture 17. Smoking.ppt in the word of envssuser378d7c
 
Lecture 15. Marine Pollution.ppt for the environmental education
Lecture 15. Marine Pollution.ppt for the environmental educationLecture 15. Marine Pollution.ppt for the environmental education
Lecture 15. Marine Pollution.ppt for the environmental educationssuser378d7c
 
Forest in Pakistan in Details and the word
Forest in Pakistan in Details and the wordForest in Pakistan in Details and the word
Forest in Pakistan in Details and the wordssuser378d7c
 
lecture 5 SPC Charta.pptx
lecture 5 SPC Charta.pptxlecture 5 SPC Charta.pptx
lecture 5 SPC Charta.pptxssuser378d7c
 
lecture 4 Graphs.pptx
lecture 4 Graphs.pptxlecture 4 Graphs.pptx
lecture 4 Graphs.pptxssuser378d7c
 
Lecture 3 Dispersion(1).pptx
Lecture 3 Dispersion(1).pptxLecture 3 Dispersion(1).pptx
Lecture 3 Dispersion(1).pptxssuser378d7c
 
lecture 2 Centeral Tendency.pptx
lecture 2 Centeral Tendency.pptxlecture 2 Centeral Tendency.pptx
lecture 2 Centeral Tendency.pptxssuser378d7c
 
input and output devices.ppt
input and output devices.pptinput and output devices.ppt
input and output devices.pptssuser378d7c
 

More from ssuser378d7c (9)

Lecture 17. Smoking.ppt in the word of env
Lecture 17. Smoking.ppt in the word of  envLecture 17. Smoking.ppt in the word of  env
Lecture 17. Smoking.ppt in the word of env
 
Lecture 15. Marine Pollution.ppt for the environmental education
Lecture 15. Marine Pollution.ppt for the environmental educationLecture 15. Marine Pollution.ppt for the environmental education
Lecture 15. Marine Pollution.ppt for the environmental education
 
Forest in Pakistan in Details and the word
Forest in Pakistan in Details and the wordForest in Pakistan in Details and the word
Forest in Pakistan in Details and the word
 
lecture 5 SPC Charta.pptx
lecture 5 SPC Charta.pptxlecture 5 SPC Charta.pptx
lecture 5 SPC Charta.pptx
 
lecture 4 Graphs.pptx
lecture 4 Graphs.pptxlecture 4 Graphs.pptx
lecture 4 Graphs.pptx
 
Lecture 3 Dispersion(1).pptx
Lecture 3 Dispersion(1).pptxLecture 3 Dispersion(1).pptx
Lecture 3 Dispersion(1).pptx
 
lecture 2 Centeral Tendency.pptx
lecture 2 Centeral Tendency.pptxlecture 2 Centeral Tendency.pptx
lecture 2 Centeral Tendency.pptx
 
input and output devices.ppt
input and output devices.pptinput and output devices.ppt
input and output devices.ppt
 
8607 day 1.pptx
8607 day 1.pptx8607 day 1.pptx
8607 day 1.pptx
 

Recently uploaded

Call Girls In Safdarjung Enclave 24/7✡️9711147426✡️ Escorts Service
Call Girls In Safdarjung Enclave 24/7✡️9711147426✡️ Escorts ServiceCall Girls In Safdarjung Enclave 24/7✡️9711147426✡️ Escorts Service
Call Girls In Safdarjung Enclave 24/7✡️9711147426✡️ Escorts Servicejennyeacort
 
Design Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William VickeryDesign Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William VickeryWilliamVickery6
 
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)jennyeacort
 
Call In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCR
Call In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCRCall In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCR
Call In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCRdollysharma2066
 
办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书
办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书
办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书zdzoqco
 
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一F La
 
Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Rndexperts
 
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degreeyuu sss
 
3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdf3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdfSwaraliBorhade
 
How to Be Famous in your Field just visit our Site
How to Be Famous in your Field just visit our SiteHow to Be Famous in your Field just visit our Site
How to Be Famous in your Field just visit our Sitegalleryaagency
 
Call Girls Satellite 7397865700 Ridhima Hire Me Full Night
Call Girls Satellite 7397865700 Ridhima Hire Me Full NightCall Girls Satellite 7397865700 Ridhima Hire Me Full Night
Call Girls Satellite 7397865700 Ridhima Hire Me Full Nightssuser7cb4ff
 
在线办理ohio毕业证俄亥俄大学毕业证成绩单留信学历认证
在线办理ohio毕业证俄亥俄大学毕业证成绩单留信学历认证在线办理ohio毕业证俄亥俄大学毕业证成绩单留信学历认证
在线办理ohio毕业证俄亥俄大学毕业证成绩单留信学历认证nhjeo1gg
 
Mookuthi is an artisanal nose ornament brand based in Madras.
Mookuthi is an artisanal nose ornament brand based in Madras.Mookuthi is an artisanal nose ornament brand based in Madras.
Mookuthi is an artisanal nose ornament brand based in Madras.Mookuthi
 
Design principles on typography in design
Design principles on typography in designDesign principles on typography in design
Design principles on typography in designnooreen17
 
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一F dds
 
call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一z xss
 
Call Girls Meghani Nagar 7397865700 Independent Call Girls
Call Girls Meghani Nagar 7397865700  Independent Call GirlsCall Girls Meghani Nagar 7397865700  Independent Call Girls
Call Girls Meghani Nagar 7397865700 Independent Call Girlsssuser7cb4ff
 
PORTAFOLIO 2024_ ANASTASIYA KUDINOVA
PORTAFOLIO   2024_  ANASTASIYA  KUDINOVAPORTAFOLIO   2024_  ANASTASIYA  KUDINOVA
PORTAFOLIO 2024_ ANASTASIYA KUDINOVAAnastasiya Kudinova
 
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一Fi sss
 

Recently uploaded (20)

Call Girls In Safdarjung Enclave 24/7✡️9711147426✡️ Escorts Service
Call Girls In Safdarjung Enclave 24/7✡️9711147426✡️ Escorts ServiceCall Girls In Safdarjung Enclave 24/7✡️9711147426✡️ Escorts Service
Call Girls In Safdarjung Enclave 24/7✡️9711147426✡️ Escorts Service
 
Design Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William VickeryDesign Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William Vickery
 
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)
 
Call In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCR
Call In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCRCall In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCR
Call In girls Bhikaji Cama Place 🔝 ⇛8377877756 FULL Enjoy Delhi NCR
 
办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书
办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书
办理卡尔顿大学毕业证成绩单|购买加拿大文凭证书
 
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一
 
Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025
 
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
 
3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdf3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdf
 
How to Be Famous in your Field just visit our Site
How to Be Famous in your Field just visit our SiteHow to Be Famous in your Field just visit our Site
How to Be Famous in your Field just visit our Site
 
Call Girls Satellite 7397865700 Ridhima Hire Me Full Night
Call Girls Satellite 7397865700 Ridhima Hire Me Full NightCall Girls Satellite 7397865700 Ridhima Hire Me Full Night
Call Girls Satellite 7397865700 Ridhima Hire Me Full Night
 
在线办理ohio毕业证俄亥俄大学毕业证成绩单留信学历认证
在线办理ohio毕业证俄亥俄大学毕业证成绩单留信学历认证在线办理ohio毕业证俄亥俄大学毕业证成绩单留信学历认证
在线办理ohio毕业证俄亥俄大学毕业证成绩单留信学历认证
 
Mookuthi is an artisanal nose ornament brand based in Madras.
Mookuthi is an artisanal nose ornament brand based in Madras.Mookuthi is an artisanal nose ornament brand based in Madras.
Mookuthi is an artisanal nose ornament brand based in Madras.
 
Design principles on typography in design
Design principles on typography in designDesign principles on typography in design
Design principles on typography in design
 
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一
 
call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
 
Call Girls Meghani Nagar 7397865700 Independent Call Girls
Call Girls Meghani Nagar 7397865700  Independent Call GirlsCall Girls Meghani Nagar 7397865700  Independent Call Girls
Call Girls Meghani Nagar 7397865700 Independent Call Girls
 
PORTAFOLIO 2024_ ANASTASIYA KUDINOVA
PORTAFOLIO   2024_  ANASTASIYA  KUDINOVAPORTAFOLIO   2024_  ANASTASIYA  KUDINOVA
PORTAFOLIO 2024_ ANASTASIYA KUDINOVA
 
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一
 

lecture no.7 computation.pptx

  • 2. • Random Numbers • Checking Normality • Hypothesis testing
  • 4. HYPOTHESIS What do you mean by a Hypothesis? A supposition or explanation that is provisionally accepted in order to interpret certain events or phenomena, and to provide guidance for further investigation. OR A hypothesis is a tentative statement about the relationship between two or more variables.
  • 5. HYPOTHESIS TESTING Statistically, an assumption about certain characteristics of a population. The statistical procedure for testing a hypothesis requires some understanding of the null hypothesis and alternative hypothesis.
  • 6. TYPES OF HYPOTHESIS Null Hypothesis A null hypothesis is "the hypothesis that there is no relationship between two or more variables. In a mathematical formulation of the null hypothesis there will typically be an equal sign. This hypothesis is denoted by H0. Alternate Hypothesis The alternative hypothesis proposes a relationship between two or more variables. In a mathematical formulation of the alternative hypothesis there will typically be an inequality, or not equal to symbol. This hypothesis is denoted by either Ha or by H1.
  • 7. EXAMPLE OF HYPOTHESES For example, you might have come up with a measurable hypothesis that children have a higher IQ if they eat oily fish for a period of time. Null hypothesis: Children who eat oily fish for six months do not show a higher IQ. Alternative hypothesis: Children who eat oily fish for six months will show a higher IQ
  • 8. A common statistical method is to compare a population to the mean. H0 : The children will show no increase in mean intelligence. i.e. H0 : H1 : The children will show an increase in mean intelligence. i.e. H1 : 100   100  
  • 9. TYPES OF ERRORS What are errors in Hypothesis Testing? The purpose of Hypothesis Testing is to reject or not reject the Null Hypothesis based on statistical evidence Hypothesis Testing is said to have resulted in an error when the decision regarding treatment of the Null Hypothesis is wrong There are basically two types of errors we can make:
  • 10. TYPES OF ERRORS Type-I Error (Ho right but rejected) When Null Hypothesis is rejected despite the test on data showing that the outcome was true Type-II Error (Ho wrong but not rejected) When Null Hypothesis is not rejected despite the test on data showing that the outcome was false
  • 11. A type I error, also known as an error of the first kind, occurs when the null hypothesis (H0) is true, but is rejected. A type I error may be compared with a so called false positive. The rate of the type I error is called the size of the test and denoted by the Greek letter α (alpha). It usually equals the significance level of a test. If type I error is fixed at 5 %, it means that there are about 5 chances in 100 that we will reject H0 when H0 is true. Type I Error
  • 12. Type II error, also known as an error of the second kind, occurs when the null hypothesis is false, but erroneously fails to be rejected. Type II error means accepting the hypothesis which should have been rejected. A type II error may be compared with a so-called False Negative. The rate of the type II error is denoted by the Greek letter β (beta) and related to the power of a test (which equals 1-β ). Type II Error
  • 13. In the tabular form two error can be presented as follows: Null hypothesis (H0) is true Null hypothesis (H0) is false Reject null hypothesis Type I error False decision Correct True decision Fail to reject null hypothesis Correct True decision Type II error False decision
  • 14. Reducing Type I Errors The chances of making a Type I error is reduced by increasing the level of confidence.
  • 15. Reducing Type II Errors Test condition and acceptance criteria are in turn reduces Type II errors. This increases the number of times we reject the Null hypothesis – with a resulting increase in the number of Type I errors.
  • 16. Type II Error and Power • “Power” of a test is the probability of rejecting null when alternative is true. • “Power” = 1 - P(Type II error) • To minimize the P(Type II error), we equivalently want to maximize power. • But power depends on the value under the alternative hypothesis .
  • 17. P-value P-value - Measure of the strength of evidence the sample data provides against the null hypothesis: P(Evidence This strong or stronger against H0 | H0 is true) ) ( : obs z Z P p val P   
  • 18. INTERPRETING RESULTS Interpreting the weight of evidence against the Null Hypothesis for rejecting / not rejecting Ho If the p-value for testing Ho is less than –  < 0.10, we have some evidence that Ho is false  < 0.05, we have strong evidence that Ho is false  < 0.01, we have very strong evidence that Ho is false  < 0.001, we have extremely strong evidence that Ho is false
  • 19. Simple and Composite Hypothesis A simple hypothesis is one in which all parameters of the distribution are specified. For example, if the heights of college students are normally distributed with , the hypothesis that its mean is, say, , that is , we have stated a simple hypothesis, as the mean and variance together specify a normal distribution completely.
  • 20. Simple and Composite Hypothesis A hypothesis which is not simple (i.e. in which not all of the parameters are specified) is called a composite hypothesis. For instance, if we hypothesize that (and ) or and , the hypothesis becomes a composite hypothesis because we cannot know the exact distribution of the population in either case. Obviously, the parameters and have more than one value and no specified values are being assigned. : 62 H  
  • 21. Critical Region (or Rejection Region) The critical region CR, or rejection region RR, is a set of values of the test statistic for which the null hypothesis is rejected in a hypothesis test. That is, the sample space for the test statistic is partitioned into two regions; one region (the critical region) will lead us to reject the null hypothesis H0, the other will not. So, if the observed value of the test statistic is a member of the critical region, we conclude "Reject H0"; if it is not a member of the critical region then we conclude "Do not reject H0".
  • 25. Critical Value Critical Value ( z score ) Fail to reject H0 Reject H0 Any value that separates the critical region (where we reject the null hypothesis) from the values of the test statistic that do not lead to a rejection of the null hypothesis
  • 26. Level of Significance, a and the Rejection Region H0:   3 H1:  < 3 0 0 0 H0:   3 H1:  > 3 H0:   3 H1:   3 a a a/2 Critical Value(s) Rejection Regions
  • 27. Two-tailed Test H0: = H1:  ais divided equally between the two tails of the critical region Means less than or greater than Values that differ significantly from H0
  • 28. Right-tailed Test H0: = H1: > Points Right Values that differ significantly from Ho
  • 29. Left-tailed Test H0: = H1: < Points Left Values that differ significantly from Ho