SlideShare a Scribd company logo
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.

More Related Content

What's hot

Anova (f test) and mean differentiation
Anova (f test) and mean differentiationAnova (f test) and mean differentiation
Anova (f test) and mean differentiation
Subramani Parasuraman
 
Two way analysis of variance (anova)
Two way analysis of variance (anova)Two way analysis of variance (anova)
Two way analysis of variance (anova)
Randel Roy Raluto
 
What is chi square test
What  is  chi square testWhat  is  chi square test
What is chi square test
Talent Corner HR Services Pvt Ltd.
 
Analysis of Variance-ANOVA
Analysis of Variance-ANOVAAnalysis of Variance-ANOVA
Analysis of Variance-ANOVA
Rabin BK
 
Assumptions of ANOVA
Assumptions of ANOVAAssumptions of ANOVA
Assumptions of ANOVA
richardchandler
 
Chi square
Chi squareChi square
Chi square
utpal sharma
 
Z-Test with Examples
Z-Test with ExamplesZ-Test with Examples
Z-Test with Examples
Cotton Research Institute Multan
 
Analysis Of Variance - ANOVA
Analysis Of Variance - ANOVAAnalysis Of Variance - ANOVA
Analysis Of Variance - ANOVA
Saumya Bhatnagar
 
Chi square test
Chi square testChi square test
Chi square test
Mrunal Dhole
 
Anova randomized block design
Anova randomized block designAnova randomized block design
Anova randomized block design
Irfan Hussain
 
Chi square test
Chi square testChi square test
Chi square test
AmanRathore54
 
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
Regent University
 
RESEARCH METHODOLOGY - 2nd year ppt
RESEARCH METHODOLOGY - 2nd year pptRESEARCH METHODOLOGY - 2nd year ppt
RESEARCH METHODOLOGY - 2nd year ppt
Aayushi Chhabra
 
Chi Square
Chi SquareChi Square
Chi SquareJolie Yu
 
Chapter 5 experimental design for sbh
Chapter 5 experimental design for sbhChapter 5 experimental design for sbh
Chapter 5 experimental design for sbh
Rione Drevale
 
Chi squared test
Chi squared testChi squared test
Chi squared test
Dhruv Patel
 
Chi square
Chi squareChi square
Chi square
PoojaVishnoi7
 
Chi -square test
Chi -square testChi -square test
Chi -square test
VIVEK KUMAR SINGH
 

What's hot (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
 

Similar to 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 significance
Dr. Jayesh Vyas
 
Ttest
TtestTtest
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
Snehamurali18
 
Medical statistics2
Medical statistics2Medical statistics2
Medical statistics2
Amany El-seoud
 
Statistical techniques used in measurement
Statistical techniques used in measurementStatistical techniques used in measurement
Statistical techniques used in measurement
ShivamKhajuria3
 
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
Long Beach City College
 
Goodness of-fit
Goodness of-fit  Goodness of-fit
Goodness of-fit
Long 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.pdf
Shivakumar 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 distributions
Lama 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
 
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
Sindhura Kopparthi
 
InnerSoft STATS - Methods and formulas help
InnerSoft STATS - Methods and formulas helpInnerSoft STATS - Methods and formulas help
InnerSoft STATS - Methods and formulas help
InnerSoft
 
Statistical analysis by iswar
Statistical analysis by iswarStatistical analysis by iswar
Lecture-6.pdf
Lecture-6.pdfLecture-6.pdf
Lecture-6.pdf
RochelleGomez4
 
Parametric Statistics
Parametric StatisticsParametric Statistics
Parametric Statistics
jennytuazon01630
 
Chi square
Chi square Chi square
Chi square
HemamaliniSakthivel
 
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
Neelam Zafar
 
Talk 3
Talk 3Talk 3
Marketing Research Hypothesis Testing.pptx
Marketing Research Hypothesis Testing.pptxMarketing Research Hypothesis Testing.pptx
Marketing Research Hypothesis Testing.pptx
xababid981
 

Similar to 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
 

More from Santhanam Krishnan

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

More from 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
 

Recently uploaded

2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
Col Mukteshwar Prasad
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
AzmatAli747758
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
PedroFerreira53928
 

Recently uploaded (20)

2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 

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.