SlideShare une entreprise Scribd logo
1  sur  28
TYPES OF ERRORS
LARGE SAMPLE TEST
Type I
 To test the significance difference
between sample proportion p’ and
population proportion p, the test
statistic 𝒛 =
𝒑′−𝒑
𝒑𝒒
𝒏
, 𝒒 = 𝟏 − 𝒑 ,
n – sample size
Type II
 To test the significance difference
between two sample proportions
𝒑 𝟏
′
𝒂𝒏𝒅 𝒑 𝟐
′
 The test statistic 𝒛 =
𝒑 𝟏
′
−𝒑 𝟐
′
𝒑𝒒
𝟏
𝒏 𝟏
+
𝟏
𝒏 𝟐
, 𝒒 =
𝟏 − 𝒑, 𝒑 =
𝒏 𝟏 𝒑 𝟏
′
+𝒏 𝟐 𝒑 𝟐
′
𝒏 𝟏+𝒏 𝟐
,
𝒏 𝟏& 𝒏 𝟐 sample sizes
Type III
 To test the significance difference
between sample mean 𝒙 and
population mean 𝝁
 The test statistic 𝒛 =
𝒙−𝝁
𝝈/ 𝒏
, if 𝝈 is
known
 The test statistic 𝒛 =
𝒙−𝝁
𝒔/ 𝒏
, 𝐢𝐟 𝐬𝐚𝐦𝐩𝐥𝐞 𝐒. 𝐃 𝐬 𝐢𝐬 𝐤𝐧𝐨𝐰𝐧
Type IV
 To test the significance difference between two
sample mean 𝒙 𝟏 𝒂𝒏𝒅 𝒙 𝟐
 The test statistic 𝒛 =
𝒙 𝟏−𝒙 𝟐
𝝈 𝟏
𝟐
𝒏 𝟏
+
𝝈 𝟐
𝟐
𝒏 𝟐
, if 𝝈 𝟏 ≠ 𝝈 𝟐 and 𝝈 𝟏&𝝈 𝟐
are known
 The test statistic 𝒛 =
𝒙 𝟏−𝒙 𝟐
𝝈
𝟏
𝒏 𝟏
+
𝟏
𝒏 𝟐
, if 𝝈 𝟏 = 𝝈 𝟐 = 𝝈
 The test statistic 𝒛 =
𝒙 𝟏−𝒙 𝟐
𝒔 𝟏
𝟐
𝒏 𝟏
+
𝒔 𝟐
𝟐
𝒏 𝟐
, if 𝝈 𝟏&𝝈 𝟐 are not
known, 𝒔 𝟏
𝟐
& 𝒔 𝟐
𝟐
are known
Type V
 To test significance difference
between sample S.D s and population
S.D 𝝈
 The test statistic 𝒛 =
𝒔−𝝈
𝝈 𝟐
𝟐𝒏
Type VI
 To test the significance difference
between sample S.D’s 𝒔 𝟏 𝒂𝒏𝒅 𝒔 𝟐
 The test statistic 𝒛 =
𝒔 𝟏−𝒔 𝟐
𝒔 𝟏
𝟐
𝟐𝒏 𝟏
+
𝒔 𝟐
𝟐
𝟐𝒏 𝟐
SMALL SAMPLE TEST
STUDENT’S t- TEST
 If 𝑥1, 𝑥2 … . 𝑥 𝑛 are the random samples of size n from a Normal
population with mean 𝜇 and variance 𝜎2
(denoted by 𝒮2
)
 Sample mean 𝑥 =
1
𝑛 𝑖=1
𝑛
𝑥𝑖 and sample variance denoted by 𝓈2
 Population variance 𝒮2
=
1
𝑛−1 𝑖=1
𝑛
𝑥𝑖 − 𝑥 2
 The Student’s t- statistic is defined by =
𝑥−𝜇
𝑆/ 𝑛
, where n is the sample
size
 And the degrees of freedom is (𝑛 − 1)
 The relation between sample variance and population variance is 𝑛𝑠2
=
𝑛 − 1 𝑆2
t –Test - Type I
 To test the significance difference between
sample mean 𝒙 and population mean
𝝁 (single mean)
 n- sample size, 𝑥- sample mean , 𝜇 –
population mean
 The test statistic t =
𝒙−𝝁
𝑺/ 𝒏
, if S – population
S.D ( 𝑺 𝟐
population variance) is known,
 Degrees of freedom = (𝒏 − 𝟏)
 Test statistic t =
𝒙−𝝁
𝒔/ 𝒏−𝟏
, if s – sample S.D
(𝒔 𝟐
sample variance) is known
t-Test - Type II
 To test the significance difference
between two sample means 𝒙 𝟏 and 𝒙 𝟐
with sample size respectively 𝒏 𝟏 and 𝒏 𝟐
 The test statistic t =
𝒙 𝟏−𝒙 𝟐
𝑺
𝟏
𝒏 𝟏
+
𝟏
𝒏 𝟐
, if 𝒔 𝟏 & 𝒔 𝟐
sample S.D (𝒔 𝟏
𝟐
& 𝒔 𝟐
𝟐
− sample variances)
of respective samples are known and
S=
𝒏 𝟏 𝒔 𝟏
𝟐
+𝒏 𝟐 𝒔 𝟐
𝟐
𝒏 𝟏+𝒏 𝟐−𝟐
or S =
( 𝒙 𝟏−𝒙 𝟏
𝟐+ 𝒙 𝟐−𝒙 𝟐
𝟐)
𝒏 𝟏+𝒏 𝟐−𝟐
 Degrees of freedom is 𝒏 𝟏 + 𝒏 𝟐 − 𝟐
t- Test -Type III
 To test the significance difference in
means – Paired Data
 Given two samples are paired and same
size n ,
 The test statistic 𝒕 =
𝒅
𝑺 𝒏
, where d is
the difference between each
corresponding samples
 And 𝑺 =
𝒅− 𝒅
𝟐
𝒏−𝟏
 Degrees of freedom = (𝒏 − 𝟏)
NULL HYPOTHESIS 𝑯 𝟎 OF t-
TEST
 𝑯 𝟎 ∶ 𝝁 𝟏 = 𝝁 𝟐 , 𝑯 𝟏 ∶ 𝝁 𝟏 ≠ 𝝁 𝟐 𝒐𝒓 𝝁 𝟏 <
𝝁 𝟐 𝒐𝒓 𝝁 𝟏 > 𝝁 𝟐
 If calculated t < tabulated t with given
significance level, then 𝑯 𝟎 is
accepted
 If calculated t > tabulated t with given
significance level, then 𝑯 𝟎 is rejected
APPLICATION OF t- TEST
 TESTING THE SIGNIFICANCE OF THE
DIFFERENCE BETWEEN
 (1) THE MEAN OF A SAMPLE AND
THE MEAN OF THE POPULATION.
 (2) THE MEANS OF TWO SAMPLES
 VARIANCE RATION TEST (OR)
F- TEST FOR EQUALITY OF VARIANCE
 If 𝑥1, 𝑥2, … . 𝑥 𝑛1
𝑎𝑛𝑑 𝑦1, 𝑦2 … . 𝑦 𝑛2
are two independent
random sample from normal population.
 The test statistic 𝑭 =
𝑺 𝟏
𝟐
𝑺 𝟐
𝟐 𝒊𝒇 𝑺 𝟏
𝟐
> 𝑺 𝟐
𝟐
𝒐𝒓 =
𝑺 𝟐
𝟐
𝑺 𝟏
𝟐 (𝒊𝒇 𝑺 𝟐
𝟐
>
𝑺 𝟏
𝟐
)
 Where 𝑺 𝟏
𝟐
=
𝟏
𝒏 𝟏−𝟏 𝒊=𝟏
𝒏 𝟏
𝒙𝒊 − 𝒙𝒊
𝟐
& 𝑺 𝟐
𝟐
=
𝟏
𝒏 𝟐−𝟏 𝒊=𝟏
𝒏 𝟐
( 𝒚𝒊 −
NULL HYPOTHESIS 𝑯 𝟎 OF F-
TEST
 𝑯 𝟎 ; 𝝈 𝟏
𝟐
= 𝝈 𝟐
𝟐
𝑯 𝟏 ∶ 𝝈 𝟏
𝟐
≠ 𝝈 𝟐
𝟐
 If calculated F < tabulated F with
given significance level, then 𝑯 𝟎 is
accepted
 If calculated F > tabulated F with
given significance level, then 𝑯 𝟎 is
rejected
APPLICATION OF F- TEST
 (1) TESTING THE SIGNIFICANCE OF
THE DIFFERENCE BETWEEN THE
VARIANCES OF TWO POPULATIONS
FROM WHICH TWO SAMPLES ARE
DRAWN.
 (2) ANALYSIS OF VARIANCE.
CHI-SQUARE ( 𝝌 𝟐 ) DISTRIBUTION
 𝑂𝑖 (i=1,2…n) are set of observed
(experimental) frequencies and 𝐸𝑖
(i=1,2…n) are the corresponding set of
expected (theoretical or hypothetical)
frequencies, then the test statistic CHI-
SQUARE (𝜒2
) is defined by 𝝌 𝟐
=
𝒊=𝟏
𝒏 𝑶 𝒊−𝑬 𝒊
𝟐
𝑬 𝒊
 Degrees of freedom is 𝝂 = 𝒏 − 𝟏
 To test of independence of attributes (or) for the
(m x n) contingency table
 Test statistic CHI-SQUARE (𝜒2) is
𝜒2
=
𝑖=1
𝑛
𝑂𝑖 − 𝐸𝑖
2
𝐸𝑖
 Where 𝑬𝒊 =
𝒓𝒐𝒘 𝒕𝒐𝒕𝒂𝒍 × 𝒄𝒐𝒍𝒖𝒎𝒏 𝒕𝒐𝒕𝒂𝒍
𝑮𝒓𝒂𝒏𝒅 𝒕𝒐𝒕𝒂𝒍
,
 Degrees of freedom(𝒎 − 𝟏)(𝒏 − 𝟏), m- no. of
rows and n- no. of columns
 For fitting Binomial distribution – degrees of
freedom = (𝒏 − 𝟏)
 For fitting Poisson distribution – degrees of
freedom = (𝒏 − 𝟐)
NULL HYPOTHESIS (𝑯 𝟎) OF CHI-
SQUARE
 The null hypothesis (𝐻0) of the Chi-
Square test is that no relationship exists
on the categorical variables in the
population; they are independent.
APPLICATION OF CHI-SQUARE(𝝌 𝟐
)
TEST
 (1) IT IS USED TO TEST THE
GOODNESS OF FIT.
 (2) IT IS USED TO TEST THE
INDEPENDENCE OF ATTRIBUTES.
 (3) TO TEST THE HOMOGENEITY OF
A GIVEN DATA
CONDITIONS FOR THE APPLICATION OF
CHI-SQUARE (𝝌 𝟐)TEST
 (1) THE EXPERIMENTAL DATA (OR SAMPLE
DEVIATIONS) MUST BE INDEPENDENT OF EACH
OTHER.
 (2) THE SAMPLE SIZE SHOULD BE REASONABLY
LARGE, ≥ 50.
 (3) THE THEORETICAL CELL FREQUENCY
SHOULD BE ATLEAST 5. IF IT IS LESS THAN 5, IT
IS COMBINED WITH ADJACENT FREQUENCIES
SO THAT THE POOLED FREQUENCY IS > 5.
 (4) THE CONSTRAINTS ON THE CELL
FREQUENCIES SHOULD BE LINEAR.
 EG., 𝑂𝑖 = 𝐸𝑖 = 𝑁 ≥ 50
2 × 2 CONTIGENCY TABLE.
 LET A AND B TWO ATTRIBUTES. DIVIDING A INTO 𝐴1 AND 𝐴2 AND B
INTO 𝐵1, 𝐵2, WE GET THE FOLLOWING 2 × 2 TABLE, CALLED THE 2 × 2
TABLE.
FORMULA FOR THE CHI-SQUARE ( 𝝌 𝟐
)TEST OF INDEPENDENCE FOR
B A 𝑨 𝟏 𝑨 𝟐 Total
𝑩 𝟏 a b a + b
𝑩 𝟐 c d c + d
Total a + c b + d N=a+ b+ c+ d
THE VALUE OF 𝝌 𝟐
=
𝑵 𝒂𝒅−𝒃𝒄 𝟐
𝒂+𝒃 𝒄+𝒅 𝒂+𝒄 𝒃+𝒅
VARIOUS STEPS INVOLVED IN TESTING
OF HYPOTHESIS
 Step 1. State the null hypothesis 𝐻0.
 Step 2. Decide the alternate hypothesis 𝐻1.
 Step 3. Choose the level of significance
α(α = 5% or α = 1%)
 Step 4. Compute the test statistic 𝑍 =
𝑡 − 𝐸 𝑡
𝑆.𝐸 𝑜𝑓 (𝑡)
.
 Step 5. Compare the computed value of
|𝑍| with the table value of Z and decide
the acceptance or the rejection of 𝐻0.
 Step 6. Inference.

Contenu connexe

Tendances (20)

Anova (f test) and mean differentiation
Anova (f test) and mean differentiationAnova (f test) and mean differentiation
Anova (f test) and mean differentiation
 
Two way analysis of variance (anova)
Two way analysis of variance (anova)Two way analysis of variance (anova)
Two way analysis of variance (anova)
 
What is chi square test
What  is  chi square testWhat  is  chi square test
What is chi square test
 
Analysis of Variance-ANOVA
Analysis of Variance-ANOVAAnalysis of Variance-ANOVA
Analysis of Variance-ANOVA
 
Assumptions of ANOVA
Assumptions of ANOVAAssumptions of ANOVA
Assumptions of ANOVA
 
Chi square
Chi squareChi square
Chi square
 
Z-Test with Examples
Z-Test with ExamplesZ-Test with Examples
Z-Test with Examples
 
Analysis Of Variance - ANOVA
Analysis Of Variance - ANOVAAnalysis Of Variance - ANOVA
Analysis Of Variance - ANOVA
 
Chi square test
Chi square testChi square test
Chi square test
 
Anova randomized block design
Anova randomized block designAnova randomized block design
Anova randomized block design
 
Chi square test
Chi square testChi square test
Chi square test
 
The chi square test of indep of categorical variables
The chi square test of indep of categorical variablesThe chi square test of indep of categorical variables
The chi square test of indep of categorical variables
 
Comparing means
Comparing meansComparing means
Comparing means
 
RESEARCH METHODOLOGY - 2nd year ppt
RESEARCH METHODOLOGY - 2nd year pptRESEARCH METHODOLOGY - 2nd year ppt
RESEARCH METHODOLOGY - 2nd year ppt
 
Chi Square
Chi SquareChi Square
Chi Square
 
Chapter 5 experimental design for sbh
Chapter 5 experimental design for sbhChapter 5 experimental design for sbh
Chapter 5 experimental design for sbh
 
Chi squared test
Chi squared testChi squared test
Chi squared test
 
Chi square
Chi squareChi square
Chi square
 
Chi -square test
Chi -square testChi -square test
Chi -square test
 
One way anova
One way anovaOne way anova
One way anova
 

Similaire à Testing of hypothesis

Test of hypothesis test of significance
Test of hypothesis test of significanceTest of hypothesis test of significance
Test of hypothesis test of significanceDr. Jayesh Vyas
 
Chi square test social research refer.ppt
Chi square test social research refer.pptChi square test social research refer.ppt
Chi square test social research refer.pptSnehamurali18
 
Statistical techniques used in measurement
Statistical techniques used in measurementStatistical techniques used in measurement
Statistical techniques used in measurementShivamKhajuria3
 
Practice test ch 10 correlation reg ch 11 gof ch12 anova
Practice test ch 10 correlation reg ch 11 gof ch12 anovaPractice test ch 10 correlation reg ch 11 gof ch12 anova
Practice test ch 10 correlation reg ch 11 gof ch12 anovaLong Beach City College
 
Student's T test distributions & its Applications
Student's T test distributions & its Applications Student's T test distributions & its Applications
Student's T test distributions & its Applications vidit jain
 
Inferential Statistics.pdf
Inferential Statistics.pdfInferential Statistics.pdf
Inferential Statistics.pdfShivakumar B N
 
4 1 probability and discrete probability distributions
4 1 probability and discrete    probability distributions4 1 probability and discrete    probability distributions
4 1 probability and discrete probability distributionsLama K Banna
 
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
 
InnerSoft STATS - Methods and formulas help
InnerSoft STATS - Methods and formulas helpInnerSoft STATS - Methods and formulas help
InnerSoft STATS - Methods and formulas helpInnerSoft
 
Chi square and t tests, Neelam zafar & group
Chi square and t tests, Neelam zafar & groupChi square and t tests, Neelam zafar & group
Chi square and t tests, Neelam zafar & groupNeelam Zafar
 
Marketing Research Hypothesis Testing.pptx
Marketing Research Hypothesis Testing.pptxMarketing Research Hypothesis Testing.pptx
Marketing Research Hypothesis Testing.pptxxababid981
 

Similaire à Testing of hypothesis (20)

Test of hypothesis test of significance
Test of hypothesis test of significanceTest of hypothesis test of significance
Test of hypothesis test of significance
 
Ttest
TtestTtest
Ttest
 
Chi square test social research refer.ppt
Chi square test social research refer.pptChi square test social research refer.ppt
Chi square test social research refer.ppt
 
Medical statistics2
Medical statistics2Medical statistics2
Medical statistics2
 
Statistical techniques used in measurement
Statistical techniques used in measurementStatistical techniques used in measurement
Statistical techniques used in measurement
 
Practice test ch 10 correlation reg ch 11 gof ch12 anova
Practice test ch 10 correlation reg ch 11 gof ch12 anovaPractice test ch 10 correlation reg ch 11 gof ch12 anova
Practice test ch 10 correlation reg ch 11 gof ch12 anova
 
Goodness of-fit
Goodness of-fit  Goodness of-fit
Goodness of-fit
 
Student's T test distributions & its Applications
Student's T test distributions & its Applications Student's T test distributions & its Applications
Student's T test distributions & its Applications
 
Inferential Statistics.pdf
Inferential Statistics.pdfInferential Statistics.pdf
Inferential Statistics.pdf
 
4 1 probability and discrete probability distributions
4 1 probability and discrete    probability distributions4 1 probability and discrete    probability distributions
4 1 probability and discrete probability distributions
 
Point Estimate, Confidence Interval, Hypotesis tests
Point Estimate, Confidence Interval, Hypotesis testsPoint Estimate, Confidence Interval, Hypotesis tests
Point Estimate, Confidence Interval, Hypotesis tests
 
K.A.Sindhura-t,z,f tests
K.A.Sindhura-t,z,f testsK.A.Sindhura-t,z,f tests
K.A.Sindhura-t,z,f tests
 
InnerSoft STATS - Methods and formulas help
InnerSoft STATS - Methods and formulas helpInnerSoft STATS - Methods and formulas help
InnerSoft STATS - Methods and formulas help
 
Statistical analysis by iswar
Statistical analysis by iswarStatistical analysis by iswar
Statistical analysis by iswar
 
Lecture-6.pdf
Lecture-6.pdfLecture-6.pdf
Lecture-6.pdf
 
Parametric Statistics
Parametric StatisticsParametric Statistics
Parametric Statistics
 
Chi square
Chi square Chi square
Chi square
 
Chi square and t tests, Neelam zafar & group
Chi square and t tests, Neelam zafar & groupChi square and t tests, Neelam zafar & group
Chi square and t tests, Neelam zafar & group
 
Talk 3
Talk 3Talk 3
Talk 3
 
Marketing Research Hypothesis Testing.pptx
Marketing Research Hypothesis Testing.pptxMarketing Research Hypothesis Testing.pptx
Marketing Research Hypothesis Testing.pptx
 

Plus de Santhanam Krishnan (20)

Matrices
MatricesMatrices
Matrices
 
Integral calculus
Integral calculusIntegral calculus
Integral calculus
 
Functions of severable variables
Functions of severable variablesFunctions of severable variables
Functions of severable variables
 
Differential calculus maxima minima
Differential calculus  maxima minimaDifferential calculus  maxima minima
Differential calculus maxima minima
 
Differential Calculus- differentiation
Differential Calculus- differentiationDifferential Calculus- differentiation
Differential Calculus- differentiation
 
Differential calculus
Differential calculus  Differential calculus
Differential calculus
 
Fourier transforms
Fourier transformsFourier transforms
Fourier transforms
 
Fourier series
Fourier series Fourier series
Fourier series
 
Solution to second order pde
Solution to second order pdeSolution to second order pde
Solution to second order pde
 
Solution to pde
Solution to pdeSolution to pde
Solution to pde
 
Pde lagrangian
Pde lagrangianPde lagrangian
Pde lagrangian
 
Laplace transformation
Laplace transformationLaplace transformation
Laplace transformation
 
Complex integration
Complex integrationComplex integration
Complex integration
 
Differential equations
Differential equationsDifferential equations
Differential equations
 
Integral calculus
Integral calculusIntegral calculus
Integral calculus
 
Analytic function
Analytic functionAnalytic function
Analytic function
 
Vector calculus
Vector calculusVector calculus
Vector calculus
 
Design of experiments
Design of experimentsDesign of experiments
Design of experiments
 
Numerical solution of ordinary differential equations
Numerical solution of ordinary differential equationsNumerical solution of ordinary differential equations
Numerical solution of ordinary differential equations
 
Interpolation
InterpolationInterpolation
Interpolation
 

Dernier

Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIShubhangi Sonawane
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesShubhangi Sonawane
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 

Dernier (20)

Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 

Testing of hypothesis

  • 1.
  • 4. Type I  To test the significance difference between sample proportion p’ and population proportion p, the test statistic 𝒛 = 𝒑′−𝒑 𝒑𝒒 𝒏 , 𝒒 = 𝟏 − 𝒑 , n – sample size
  • 5. Type II  To test the significance difference between two sample proportions 𝒑 𝟏 ′ 𝒂𝒏𝒅 𝒑 𝟐 ′  The test statistic 𝒛 = 𝒑 𝟏 ′ −𝒑 𝟐 ′ 𝒑𝒒 𝟏 𝒏 𝟏 + 𝟏 𝒏 𝟐 , 𝒒 = 𝟏 − 𝒑, 𝒑 = 𝒏 𝟏 𝒑 𝟏 ′ +𝒏 𝟐 𝒑 𝟐 ′ 𝒏 𝟏+𝒏 𝟐 , 𝒏 𝟏& 𝒏 𝟐 sample sizes
  • 6. Type III  To test the significance difference between sample mean 𝒙 and population mean 𝝁  The test statistic 𝒛 = 𝒙−𝝁 𝝈/ 𝒏 , if 𝝈 is known  The test statistic 𝒛 = 𝒙−𝝁 𝒔/ 𝒏 , 𝐢𝐟 𝐬𝐚𝐦𝐩𝐥𝐞 𝐒. 𝐃 𝐬 𝐢𝐬 𝐤𝐧𝐨𝐰𝐧
  • 7. Type IV  To test the significance difference between two sample mean 𝒙 𝟏 𝒂𝒏𝒅 𝒙 𝟐  The test statistic 𝒛 = 𝒙 𝟏−𝒙 𝟐 𝝈 𝟏 𝟐 𝒏 𝟏 + 𝝈 𝟐 𝟐 𝒏 𝟐 , if 𝝈 𝟏 ≠ 𝝈 𝟐 and 𝝈 𝟏&𝝈 𝟐 are known  The test statistic 𝒛 = 𝒙 𝟏−𝒙 𝟐 𝝈 𝟏 𝒏 𝟏 + 𝟏 𝒏 𝟐 , if 𝝈 𝟏 = 𝝈 𝟐 = 𝝈  The test statistic 𝒛 = 𝒙 𝟏−𝒙 𝟐 𝒔 𝟏 𝟐 𝒏 𝟏 + 𝒔 𝟐 𝟐 𝒏 𝟐 , if 𝝈 𝟏&𝝈 𝟐 are not known, 𝒔 𝟏 𝟐 & 𝒔 𝟐 𝟐 are known
  • 8. Type V  To test significance difference between sample S.D s and population S.D 𝝈  The test statistic 𝒛 = 𝒔−𝝈 𝝈 𝟐 𝟐𝒏
  • 9. Type VI  To test the significance difference between sample S.D’s 𝒔 𝟏 𝒂𝒏𝒅 𝒔 𝟐  The test statistic 𝒛 = 𝒔 𝟏−𝒔 𝟐 𝒔 𝟏 𝟐 𝟐𝒏 𝟏 + 𝒔 𝟐 𝟐 𝟐𝒏 𝟐
  • 11. STUDENT’S t- TEST  If 𝑥1, 𝑥2 … . 𝑥 𝑛 are the random samples of size n from a Normal population with mean 𝜇 and variance 𝜎2 (denoted by 𝒮2 )  Sample mean 𝑥 = 1 𝑛 𝑖=1 𝑛 𝑥𝑖 and sample variance denoted by 𝓈2  Population variance 𝒮2 = 1 𝑛−1 𝑖=1 𝑛 𝑥𝑖 − 𝑥 2  The Student’s t- statistic is defined by = 𝑥−𝜇 𝑆/ 𝑛 , where n is the sample size  And the degrees of freedom is (𝑛 − 1)  The relation between sample variance and population variance is 𝑛𝑠2 = 𝑛 − 1 𝑆2
  • 12. t –Test - Type I  To test the significance difference between sample mean 𝒙 and population mean 𝝁 (single mean)  n- sample size, 𝑥- sample mean , 𝜇 – population mean  The test statistic t = 𝒙−𝝁 𝑺/ 𝒏 , if S – population S.D ( 𝑺 𝟐 population variance) is known,  Degrees of freedom = (𝒏 − 𝟏)  Test statistic t = 𝒙−𝝁 𝒔/ 𝒏−𝟏 , if s – sample S.D (𝒔 𝟐 sample variance) is known
  • 13. t-Test - Type II  To test the significance difference between two sample means 𝒙 𝟏 and 𝒙 𝟐 with sample size respectively 𝒏 𝟏 and 𝒏 𝟐  The test statistic t = 𝒙 𝟏−𝒙 𝟐 𝑺 𝟏 𝒏 𝟏 + 𝟏 𝒏 𝟐 , if 𝒔 𝟏 & 𝒔 𝟐 sample S.D (𝒔 𝟏 𝟐 & 𝒔 𝟐 𝟐 − sample variances) of respective samples are known and S= 𝒏 𝟏 𝒔 𝟏 𝟐 +𝒏 𝟐 𝒔 𝟐 𝟐 𝒏 𝟏+𝒏 𝟐−𝟐 or S = ( 𝒙 𝟏−𝒙 𝟏 𝟐+ 𝒙 𝟐−𝒙 𝟐 𝟐) 𝒏 𝟏+𝒏 𝟐−𝟐  Degrees of freedom is 𝒏 𝟏 + 𝒏 𝟐 − 𝟐
  • 14. t- Test -Type III  To test the significance difference in means – Paired Data  Given two samples are paired and same size n ,  The test statistic 𝒕 = 𝒅 𝑺 𝒏 , where d is the difference between each corresponding samples  And 𝑺 = 𝒅− 𝒅 𝟐 𝒏−𝟏  Degrees of freedom = (𝒏 − 𝟏)
  • 15. NULL HYPOTHESIS 𝑯 𝟎 OF t- TEST  𝑯 𝟎 ∶ 𝝁 𝟏 = 𝝁 𝟐 , 𝑯 𝟏 ∶ 𝝁 𝟏 ≠ 𝝁 𝟐 𝒐𝒓 𝝁 𝟏 < 𝝁 𝟐 𝒐𝒓 𝝁 𝟏 > 𝝁 𝟐  If calculated t < tabulated t with given significance level, then 𝑯 𝟎 is accepted  If calculated t > tabulated t with given significance level, then 𝑯 𝟎 is rejected
  • 16. APPLICATION OF t- TEST  TESTING THE SIGNIFICANCE OF THE DIFFERENCE BETWEEN  (1) THE MEAN OF A SAMPLE AND THE MEAN OF THE POPULATION.  (2) THE MEANS OF TWO SAMPLES
  • 17.  VARIANCE RATION TEST (OR) F- TEST FOR EQUALITY OF VARIANCE
  • 18.  If 𝑥1, 𝑥2, … . 𝑥 𝑛1 𝑎𝑛𝑑 𝑦1, 𝑦2 … . 𝑦 𝑛2 are two independent random sample from normal population.  The test statistic 𝑭 = 𝑺 𝟏 𝟐 𝑺 𝟐 𝟐 𝒊𝒇 𝑺 𝟏 𝟐 > 𝑺 𝟐 𝟐 𝒐𝒓 = 𝑺 𝟐 𝟐 𝑺 𝟏 𝟐 (𝒊𝒇 𝑺 𝟐 𝟐 > 𝑺 𝟏 𝟐 )  Where 𝑺 𝟏 𝟐 = 𝟏 𝒏 𝟏−𝟏 𝒊=𝟏 𝒏 𝟏 𝒙𝒊 − 𝒙𝒊 𝟐 & 𝑺 𝟐 𝟐 = 𝟏 𝒏 𝟐−𝟏 𝒊=𝟏 𝒏 𝟐 ( 𝒚𝒊 −
  • 19. NULL HYPOTHESIS 𝑯 𝟎 OF F- TEST  𝑯 𝟎 ; 𝝈 𝟏 𝟐 = 𝝈 𝟐 𝟐 𝑯 𝟏 ∶ 𝝈 𝟏 𝟐 ≠ 𝝈 𝟐 𝟐  If calculated F < tabulated F with given significance level, then 𝑯 𝟎 is accepted  If calculated F > tabulated F with given significance level, then 𝑯 𝟎 is rejected
  • 20. APPLICATION OF F- TEST  (1) TESTING THE SIGNIFICANCE OF THE DIFFERENCE BETWEEN THE VARIANCES OF TWO POPULATIONS FROM WHICH TWO SAMPLES ARE DRAWN.  (2) ANALYSIS OF VARIANCE.
  • 21. CHI-SQUARE ( 𝝌 𝟐 ) DISTRIBUTION  𝑂𝑖 (i=1,2…n) are set of observed (experimental) frequencies and 𝐸𝑖 (i=1,2…n) are the corresponding set of expected (theoretical or hypothetical) frequencies, then the test statistic CHI- SQUARE (𝜒2 ) is defined by 𝝌 𝟐 = 𝒊=𝟏 𝒏 𝑶 𝒊−𝑬 𝒊 𝟐 𝑬 𝒊  Degrees of freedom is 𝝂 = 𝒏 − 𝟏
  • 22.  To test of independence of attributes (or) for the (m x n) contingency table  Test statistic CHI-SQUARE (𝜒2) is 𝜒2 = 𝑖=1 𝑛 𝑂𝑖 − 𝐸𝑖 2 𝐸𝑖  Where 𝑬𝒊 = 𝒓𝒐𝒘 𝒕𝒐𝒕𝒂𝒍 × 𝒄𝒐𝒍𝒖𝒎𝒏 𝒕𝒐𝒕𝒂𝒍 𝑮𝒓𝒂𝒏𝒅 𝒕𝒐𝒕𝒂𝒍 ,  Degrees of freedom(𝒎 − 𝟏)(𝒏 − 𝟏), m- no. of rows and n- no. of columns  For fitting Binomial distribution – degrees of freedom = (𝒏 − 𝟏)  For fitting Poisson distribution – degrees of freedom = (𝒏 − 𝟐)
  • 23. NULL HYPOTHESIS (𝑯 𝟎) OF CHI- SQUARE  The null hypothesis (𝐻0) of the Chi- Square test is that no relationship exists on the categorical variables in the population; they are independent.
  • 24. APPLICATION OF CHI-SQUARE(𝝌 𝟐 ) TEST  (1) IT IS USED TO TEST THE GOODNESS OF FIT.  (2) IT IS USED TO TEST THE INDEPENDENCE OF ATTRIBUTES.  (3) TO TEST THE HOMOGENEITY OF A GIVEN DATA
  • 25. CONDITIONS FOR THE APPLICATION OF CHI-SQUARE (𝝌 𝟐)TEST  (1) THE EXPERIMENTAL DATA (OR SAMPLE DEVIATIONS) MUST BE INDEPENDENT OF EACH OTHER.  (2) THE SAMPLE SIZE SHOULD BE REASONABLY LARGE, ≥ 50.  (3) THE THEORETICAL CELL FREQUENCY SHOULD BE ATLEAST 5. IF IT IS LESS THAN 5, IT IS COMBINED WITH ADJACENT FREQUENCIES SO THAT THE POOLED FREQUENCY IS > 5.  (4) THE CONSTRAINTS ON THE CELL FREQUENCIES SHOULD BE LINEAR.  EG., 𝑂𝑖 = 𝐸𝑖 = 𝑁 ≥ 50
  • 26. 2 × 2 CONTIGENCY TABLE.  LET A AND B TWO ATTRIBUTES. DIVIDING A INTO 𝐴1 AND 𝐴2 AND B INTO 𝐵1, 𝐵2, WE GET THE FOLLOWING 2 × 2 TABLE, CALLED THE 2 × 2 TABLE.
  • 27. FORMULA FOR THE CHI-SQUARE ( 𝝌 𝟐 )TEST OF INDEPENDENCE FOR B A 𝑨 𝟏 𝑨 𝟐 Total 𝑩 𝟏 a b a + b 𝑩 𝟐 c d c + d Total a + c b + d N=a+ b+ c+ d THE VALUE OF 𝝌 𝟐 = 𝑵 𝒂𝒅−𝒃𝒄 𝟐 𝒂+𝒃 𝒄+𝒅 𝒂+𝒄 𝒃+𝒅
  • 28. VARIOUS STEPS INVOLVED IN TESTING OF HYPOTHESIS  Step 1. State the null hypothesis 𝐻0.  Step 2. Decide the alternate hypothesis 𝐻1.  Step 3. Choose the level of significance α(α = 5% or α = 1%)  Step 4. Compute the test statistic 𝑍 = 𝑡 − 𝐸 𝑡 𝑆.𝐸 𝑜𝑓 (𝑡) .  Step 5. Compare the computed value of |𝑍| with the table value of Z and decide the acceptance or the rejection of 𝐻0.  Step 6. Inference.