SlideShare ist ein Scribd-Unternehmen logo
1 von 21
Testing of Hypothesis
and
Good ness of fit
Dr. Anil V Dusane
Sir Parashurambhau College, Pune, India
anildusane@gmail.com
www.careerguru.co.com
1
Hypothesis
• An hypothesis is a speculation concerning about an observed phenomenon.
If the speculation is translated into a statement about some condition of a
population/s that statement is referred as statistical hypothesis.
Examples of hypothesis.
1. A particular feed will increase the weight in buffaloes.
2. The use of new soil fumigant will drastically reduce the nematode problems.
3. An average life of a product produced by company A is more than that of
company B.
2
Definition of hypothesis test
• A hypothesis test is a procedure used to conclude
whether the characteristic measured in a sample
agrees reasonably well with the hypothesis or not.
• In other words, hypothesis test is a procedure
governed by certain rules, that leads to take a
decision about the hypothesis for its acceptance or
rejection on the basis of sample values.
3
Steps involved in testing of hypothesis
Following important steps are involved in the testing of
hypothesis.
1. Starting the Null or alternative hypothesis.
2. Selecting the level of significance.
3. Determining the test distribution.
4. Defining the rejection (or critical) regions.
5. Performing statistical test.
6. Drawing statistical conclusion.
4
Stating of the null hypothesis
• A hypothesis, which is to be actually tested for acceptance or rejection, is
termed as null hypothesis.
• According to Fisher null hypothesis is a hypothesis which is tested for
possible rejection under the assumption that it is true.
• In general, null hypothesis refers the hypothesis that the researcher wishes to
disprove since disproving that hypothesis provides a stronger proof to the
researcher.
• It is denoted by Ho. The hypothesis which faulty rejection is more harmful
is treated as null hypothesis.
5
Alternative hypothesis
• This hypothesis gives an alternative to the first (null) hypothesis.
• This hypothesis is accepted only when the null hypothesis is
rejected.
• It is a complement of the null hypothesis or it is a hypothesis
which is used to verify the null hypothesis.
• It is demoted by H1.
6
Selection of a level of significance
• This is the second step in hypothesis testing. It is the selection of 
(confidence limit) level of significance.
• Based on the observational data a test is performed to decide whether the
postulated hypothesis to be accepted or not and this involves certain
amount of risk.
• This amount of risk is termed as a level of significance.
• The amount of evidence required to accept that an event is unlikely to have
arisen by chance is known as the significance level or critical p-value.
7
Level of significance
• The level of significance establishes a criterion for rejection or acceptance of
null hypothesis.
• It is denoted by ‘’ conventionally chosen as 0.05 or 0.01 = 0.01(%1) is used
for high precision and  = 0.05 (%5) for moderate precision.
• In other words, a probability of Ho when it is true is referred as the level of
significance.
• It is nothing but probability of committing the type I error (rejecting the null
hypothesis when it is true.
• It is desirable to select small value of . However smaller  of increases beta
risk or the probability of incurring type II error (accepting false null
hypothesis). 8
Types of Errors
• Since the decision of acceptance or rejection of Ho (null hypothesis) is based on the
sampling. It is subject to the two kinds of errors.
• Type I error—rejecting null hypothesis Ho when it is true.
• Type II error—accept of null hypothesis Ho when it is false.
• A common misconception is that a statistically significant result is always of practical
significance, or demonstrates a large effect in the population. Given a sufficiently large
sample, extremely small and non-notable differences can be found to be statistically
significant.
• One of the more common problems in significance testing is the tendency for multiple
comparisons to yield spurious significant differences even where the null hypothesis is true.
• The "insignificance" does not mean unimportant, and propose that the scientific community
should abandon usage of the test altogether, as it can cause false hypotheses to be accepted
and true hypotheses to be rejected. 9
Determine the test distribution
• The test statistic is the value used to determine whether null
hypothesis should be rejected or accepted.
• The choice of the appropriate statistical test is based on the value of
appropriate sampling distribution i.e. the normal or any other
distribution such a t- distribution.
• If our sample size is less than 30 (n30) then we must use ‘t’
distribution.
10
Defining the rejection or critical regions
• The critical value is the point of determination between the acceptance
and rejection regions, it can be presented in the standard units of
measurements (Z-scale) or in actual units of measurements (x-scale).
• The figure shows the critical regions of a test statistic when the sapling
distribution is assumed normally distributed.
• If the test statistics value falls in the acceptance region, the null
hypothesis is accepted.
• If the value falls in the region in the rejection region (0.025+0.025 =
0.050), null hypothesis is rejected.
11
Performing statistical test
• If we use testing a hypothesis about the population mean
(m) we must first calculate the sample mean. From this
estimate S.E. and establish the test ratio in standard units.
• The acceptance or rejection boundaries (critical values)
should be represented in the actual units of measurements
(x-scale)
12
Drawing a statistical conclusion
• Having performed the statistical test, it is now possible
to determine whether the sample information agrees
reasonably well with the hypothesis and to make
inference about the population.
• The acceptance or rejection of null hypothesis is the
conclusion of the test.
13
Student’s ‘t’ test
• To test the agreement between hypothesis and observation two biometrical tests viz. chi-
square (χ2 test) and students t-test are performed.
• It is invented by Gosset ( 1876-1937).
• The statistics of small samples is revolutionized by this test.
• A t-test is any statistical hypothesis test in which the test statistics follows a Student’s t-
distribution in null hypothesis is true.
• It is most commonly applied when the test statistic would follow a normal distribution if
the value of a scaling term in the test statistic were known.
• When the scaling term is unknown and is replaced by an estimate based on the data, the
test statistic (under certain conditions) follows a Student's t distribution.
14
Importance of Student’s ‘t’ test
1. Small samples do not follow the normal distribution therefore when
biologists has to interpret and draw the decision from the very small samples
of data he has to often make use of t-test. e.g. if number of animals with
some rare disease that is available for examination may be quite small and in
such cases the doctors can make the use of t-test.
2. The t-test is the most common statistical procedure in the medical literature.
3. This method is used to find out whether the differences between two
different samples are significant or mere fluctuations of errors.
4. This test ensures whether the mean difference between two related
populations /treatments /genotypes is significant or nor can be tested.
15
Importance of Student’s ‘t’ test
5. When the sample size is large the t-test distribution closely approximates to
the normal distribution.
6. If a symmetric distribution (mean, mode and median coincide) unlike the
normal distribution, the shape of t-distribution varies according to the size of
the sample or according to the degree of freedom. The shape of t distribution is
flatter than the z- distribution.
16
Unpaired t test
• This test is applied to unpaired data of independent observations made on
individuals of two different or separate groups or samples drawn from two different
populations.
• Steps to be followed for calculation of ‘t’
1. Calculate the means of two samples are calculated and the difference between the
means of two samples.
2. Calculate the standard error of the difference between two means.
3. Calculate t test value by the ratio between the observed difference of means and its
standard error.
4. Calculated t value is compared with t table to find out the significance at the
particular degree of freedom.
17
Paired t test
• It is applied when each individual give a pair of observations. Here the paired data of
independent observation from one sample only to be compared. This kind of
observations are made available in biological sciences such as
a)To study the effect of fertilizer, pesticide, drug on the plant.
b) to compare the effect of two different fertilizers or drugs.
c) to compare the result of two techniques or the accuracy of two different instruments.
• Steps to be followed for calculation of ‘t’
1. The difference in each set of paired observations are made.
2. The mean difference is calculated.
3. The standard deviation of the difference (SD) and then standard error of mean from the
same is calculated.
4. The calculated value of t is compared with t table to find out the significance at the
particular degree of freedom.
18
Chi-square test (χ2) of goodness of fit
• Chi-square is denoted χ2
• χ2 = ∑ (O-E) 2 /E where O= observed value; E- expected value.
• Chi-square is used to determine whether the deviations of the
observed data from the expected data are small or large enough to
accept or reject the fitted curve.
• Each curve is tested at 5% of one percent level of significance,
whenever the observed value of χ2 exceeded the table of χ2 0.05/ χ2
0.001, the difference between the observed and expected data will be
considered highly significant and fit will be considered poor.
19
Chi-square test (χ2)
• In other words, if the observed and χ2 is less than or equal to the
table value of chi-square then we accept the fit.
• Chi-square (χ2) permits to test whether observed frequencies in
distribution differ significantly from the frequencies which can be
expected according to some hypothesis.
• Chi-square is also used to test how closely the actual distribution
approximates to a particular theoretical distribution.
• The validity of the normal distribution can be tested by chi-square
test.
20
Application of chi-square test
Chi-square has three major application related to statistics are
1.Testing of goodness of fit.
2.Testing for independence.
3.Testing homogeneity.
• Chi-square has applications in the field of bioinformatics. Chi-
square test is applied to compare the distribution of certain
properties of genes such as genomic content, mutation rate, etc.
belonging to different categories viz. disease genes, essential
genes, genes on a certain chromosome etc.
• It is also used for solving modern cryptographic problems.
21

Weitere ähnliche Inhalte

Was ist angesagt?

Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testingHossain Hemel
 
Statistical analysis and interpretation
Statistical analysis and interpretationStatistical analysis and interpretation
Statistical analysis and interpretationDave Marcial
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testingRashmi Vaishya
 
Introduction to the t Statistic
Introduction to the t StatisticIntroduction to the t Statistic
Introduction to the t Statisticjasondroesch
 
t test using spss
t test using spsst test using spss
t test using spssParag Shah
 
Probability and Samples: The Distribution of Sample Means
Probability and Samples: The Distribution of Sample MeansProbability and Samples: The Distribution of Sample Means
Probability and Samples: The Distribution of Sample Meansjasondroesch
 
Testing Hypothesis
Testing HypothesisTesting Hypothesis
Testing HypothesisAzmi Mohd Tamil
 
Non parametric-tests
Non parametric-testsNon parametric-tests
Non parametric-testsAsmita Bhagdikar
 
Non parametric tests by meenu
Non parametric tests by meenuNon parametric tests by meenu
Non parametric tests by meenumeenu saharan
 
Hypothesis testing , T test , chi square test, z test
Hypothesis testing , T test , chi square test, z test Hypothesis testing , T test , chi square test, z test
Hypothesis testing , T test , chi square test, z test Irfan Ullah
 
Hypothesis testing ppt final
Hypothesis testing ppt finalHypothesis testing ppt final
Hypothesis testing ppt finalpiyushdhaker
 
Hypothesis testing Part1
Hypothesis testing Part1Hypothesis testing Part1
Hypothesis testing Part1Akhila Prabhakaran
 
LECTURE 1 ONE SAMPLE T TEST.ppt
LECTURE 1 ONE SAMPLE T TEST.pptLECTURE 1 ONE SAMPLE T TEST.ppt
LECTURE 1 ONE SAMPLE T TEST.pptKEHKASHANNIZAM
 
Inferential Statistics
Inferential StatisticsInferential Statistics
Inferential Statisticsewhite00
 
Correlation and Regression
Correlation and RegressionCorrelation and Regression
Correlation and Regressionjasondroesch
 
Discrete and continuous probability distributions ppt @ bec doms
Discrete and continuous probability distributions ppt @ bec domsDiscrete and continuous probability distributions ppt @ bec doms
Discrete and continuous probability distributions ppt @ bec domsBabasab Patil
 
Measure of Dispersion in statistics
Measure of Dispersion in statisticsMeasure of Dispersion in statistics
Measure of Dispersion in statisticsMd. Mehadi Hassan Bappy
 

Was ist angesagt? (20)

Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Statistical analysis and interpretation
Statistical analysis and interpretationStatistical analysis and interpretation
Statistical analysis and interpretation
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Introduction to the t Statistic
Introduction to the t StatisticIntroduction to the t Statistic
Introduction to the t Statistic
 
t test using spss
t test using spsst test using spss
t test using spss
 
Probability and Samples: The Distribution of Sample Means
Probability and Samples: The Distribution of Sample MeansProbability and Samples: The Distribution of Sample Means
Probability and Samples: The Distribution of Sample Means
 
Testing Hypothesis
Testing HypothesisTesting Hypothesis
Testing Hypothesis
 
Non parametric-tests
Non parametric-testsNon parametric-tests
Non parametric-tests
 
Non parametric tests by meenu
Non parametric tests by meenuNon parametric tests by meenu
Non parametric tests by meenu
 
Variability
VariabilityVariability
Variability
 
Hypothesis testing , T test , chi square test, z test
Hypothesis testing , T test , chi square test, z test Hypothesis testing , T test , chi square test, z test
Hypothesis testing , T test , chi square test, z test
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Hypothesis testing ppt final
Hypothesis testing ppt finalHypothesis testing ppt final
Hypothesis testing ppt final
 
Hypothesis testing Part1
Hypothesis testing Part1Hypothesis testing Part1
Hypothesis testing Part1
 
LECTURE 1 ONE SAMPLE T TEST.ppt
LECTURE 1 ONE SAMPLE T TEST.pptLECTURE 1 ONE SAMPLE T TEST.ppt
LECTURE 1 ONE SAMPLE T TEST.ppt
 
Test for proportion
Test for proportionTest for proportion
Test for proportion
 
Inferential Statistics
Inferential StatisticsInferential Statistics
Inferential Statistics
 
Correlation and Regression
Correlation and RegressionCorrelation and Regression
Correlation and Regression
 
Discrete and continuous probability distributions ppt @ bec doms
Discrete and continuous probability distributions ppt @ bec domsDiscrete and continuous probability distributions ppt @ bec doms
Discrete and continuous probability distributions ppt @ bec doms
 
Measure of Dispersion in statistics
Measure of Dispersion in statisticsMeasure of Dispersion in statistics
Measure of Dispersion in statistics
 

Ähnlich wie Testing of hypothesis and Goodness of fit

Statistical analysis
Statistical analysisStatistical analysis
Statistical analysisSuresh Sundar
 
Tests of significance Periodontology
Tests of significance PeriodontologyTests of significance Periodontology
Tests of significance PeriodontologySaiLakshmi128
 
tests of significance
tests of significancetests of significance
tests of significancebenita regi
 
Statistical-Tests-and-Hypothesis-Testing.pptx
Statistical-Tests-and-Hypothesis-Testing.pptxStatistical-Tests-and-Hypothesis-Testing.pptx
Statistical-Tests-and-Hypothesis-Testing.pptxCHRISTINE MAY CERDA
 
Unit 4 Tests of Significance
Unit 4 Tests of SignificanceUnit 4 Tests of Significance
Unit 4 Tests of SignificanceRai University
 
Chapter 28 clincal trials
Chapter 28 clincal trials Chapter 28 clincal trials
Chapter 28 clincal trials Nilesh Kucha
 
Research method ch07 statistical methods 1
Research method ch07 statistical methods 1Research method ch07 statistical methods 1
Research method ch07 statistical methods 1naranbatn
 
hypothesis testing
hypothesis testinghypothesis testing
hypothesis testingilona50
 
Testing of Hypothesis combined with tests.pdf
Testing of Hypothesis combined with tests.pdfTesting of Hypothesis combined with tests.pdf
Testing of Hypothesis combined with tests.pdfRamBk5
 
TEST OF SIGNIFICANCE.pptx
TEST OF SIGNIFICANCE.pptxTEST OF SIGNIFICANCE.pptx
TEST OF SIGNIFICANCE.pptxJoicePjiji
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testingMuhammadasif909
 
Lect w6 hypothesis_testing
Lect w6 hypothesis_testingLect w6 hypothesis_testing
Lect w6 hypothesis_testingRione Drevale
 
Parametric vs non parametric test
Parametric vs non parametric testParametric vs non parametric test
Parametric vs non parametric testar9530
 
scope and need of biostatics
scope and need of  biostaticsscope and need of  biostatics
scope and need of biostaticsdr_sharmajyoti01
 
Research Hypothesis
Research HypothesisResearch Hypothesis
Research HypothesisRavinder Singh
 
pratik meshram-Unit 4 contemporary marketing research full notes pune univers...
pratik meshram-Unit 4 contemporary marketing research full notes pune univers...pratik meshram-Unit 4 contemporary marketing research full notes pune univers...
pratik meshram-Unit 4 contemporary marketing research full notes pune univers...Pratik Meshram
 
Sample determinants and size
Sample determinants and sizeSample determinants and size
Sample determinants and sizeTarek Tawfik Amin
 
Application of statistical tests in Biomedical Research .pptx
Application of statistical tests in Biomedical Research .pptxApplication of statistical tests in Biomedical Research .pptx
Application of statistical tests in Biomedical Research .pptxHalim AS
 
Bio-Statistics in Bio-Medical research
Bio-Statistics in Bio-Medical researchBio-Statistics in Bio-Medical research
Bio-Statistics in Bio-Medical researchShinjan Patra
 

Ähnlich wie Testing of hypothesis and Goodness of fit (20)

Statistical analysis
Statistical analysisStatistical analysis
Statistical analysis
 
Tests of significance Periodontology
Tests of significance PeriodontologyTests of significance Periodontology
Tests of significance Periodontology
 
tests of significance
tests of significancetests of significance
tests of significance
 
Statistical-Tests-and-Hypothesis-Testing.pptx
Statistical-Tests-and-Hypothesis-Testing.pptxStatistical-Tests-and-Hypothesis-Testing.pptx
Statistical-Tests-and-Hypothesis-Testing.pptx
 
Unit 4 Tests of Significance
Unit 4 Tests of SignificanceUnit 4 Tests of Significance
Unit 4 Tests of Significance
 
Chapter 28 clincal trials
Chapter 28 clincal trials Chapter 28 clincal trials
Chapter 28 clincal trials
 
Research method ch07 statistical methods 1
Research method ch07 statistical methods 1Research method ch07 statistical methods 1
Research method ch07 statistical methods 1
 
hypothesis testing
hypothesis testinghypothesis testing
hypothesis testing
 
Testing of Hypothesis combined with tests.pdf
Testing of Hypothesis combined with tests.pdfTesting of Hypothesis combined with tests.pdf
Testing of Hypothesis combined with tests.pdf
 
TEST OF SIGNIFICANCE.pptx
TEST OF SIGNIFICANCE.pptxTEST OF SIGNIFICANCE.pptx
TEST OF SIGNIFICANCE.pptx
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Lect w6 hypothesis_testing
Lect w6 hypothesis_testingLect w6 hypothesis_testing
Lect w6 hypothesis_testing
 
Parametric tests
Parametric testsParametric tests
Parametric tests
 
Parametric vs non parametric test
Parametric vs non parametric testParametric vs non parametric test
Parametric vs non parametric test
 
scope and need of biostatics
scope and need of  biostaticsscope and need of  biostatics
scope and need of biostatics
 
Research Hypothesis
Research HypothesisResearch Hypothesis
Research Hypothesis
 
pratik meshram-Unit 4 contemporary marketing research full notes pune univers...
pratik meshram-Unit 4 contemporary marketing research full notes pune univers...pratik meshram-Unit 4 contemporary marketing research full notes pune univers...
pratik meshram-Unit 4 contemporary marketing research full notes pune univers...
 
Sample determinants and size
Sample determinants and sizeSample determinants and size
Sample determinants and size
 
Application of statistical tests in Biomedical Research .pptx
Application of statistical tests in Biomedical Research .pptxApplication of statistical tests in Biomedical Research .pptx
Application of statistical tests in Biomedical Research .pptx
 
Bio-Statistics in Bio-Medical research
Bio-Statistics in Bio-Medical researchBio-Statistics in Bio-Medical research
Bio-Statistics in Bio-Medical research
 

Mehr von Sir Parashurambhau College, Pune

Role of Non-teaching staff in College administration and NAAC accreditation
Role of Non-teaching staff in College administration and NAAC accreditationRole of Non-teaching staff in College administration and NAAC accreditation
Role of Non-teaching staff in College administration and NAAC accreditationSir Parashurambhau College, Pune
 

Mehr von Sir Parashurambhau College, Pune (20)

Photosynthesis
PhotosynthesisPhotosynthesis
Photosynthesis
 
Respiration
RespirationRespiration
Respiration
 
Academic and administrative audit (AAA)
Academic and administrative audit (AAA)Academic and administrative audit (AAA)
Academic and administrative audit (AAA)
 
Ph d. research funding agencies6sept2020
Ph d. research funding agencies6sept2020Ph d. research funding agencies6sept2020
Ph d. research funding agencies6sept2020
 
Correlation and Regression
Correlation and RegressionCorrelation and Regression
Correlation and Regression
 
Measures of Dispersion (Variability)
Measures of Dispersion (Variability)Measures of Dispersion (Variability)
Measures of Dispersion (Variability)
 
Measures of Central tendency
Measures of Central tendencyMeasures of Central tendency
Measures of Central tendency
 
Tabular and Graphical Representation of Data
Tabular and Graphical Representation of Data Tabular and Graphical Representation of Data
Tabular and Graphical Representation of Data
 
Sample and sampling
Sample and samplingSample and sampling
Sample and sampling
 
Introduction of Biostatistics
Introduction of BiostatisticsIntroduction of Biostatistics
Introduction of Biostatistics
 
Role of Non-teaching staff in College administration and NAAC accreditation
Role of Non-teaching staff in College administration and NAAC accreditationRole of Non-teaching staff in College administration and NAAC accreditation
Role of Non-teaching staff in College administration and NAAC accreditation
 
Personality Development and Career orientation
Personality Development and Career orientationPersonality Development and Career orientation
Personality Development and Career orientation
 
Overview of Creativity
Overview of CreativityOverview of Creativity
Overview of Creativity
 
Overview of translocation(Phloem transport)
Overview of translocation(Phloem transport)Overview of translocation(Phloem transport)
Overview of translocation(Phloem transport)
 
Overview of Carbohydrates
Overview of CarbohydratesOverview of Carbohydrates
Overview of Carbohydrates
 
Overview of Lipids
Overview of LipidsOverview of Lipids
Overview of Lipids
 
Overview of Proteins
Overview of ProteinsOverview of Proteins
Overview of Proteins
 
Overview of enzyme
Overview of enzymeOverview of enzyme
Overview of enzyme
 
Overview of amino acids
Overview of amino acidsOverview of amino acids
Overview of amino acids
 
Overview of Microscopic techniques
Overview of Microscopic techniques  Overview of Microscopic techniques
Overview of Microscopic techniques
 

KĂźrzlich hochgeladen

Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...amitlee9823
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxfirstjob4
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceDelhi Call girls
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionfulawalesam
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfAccredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfadriantubila
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfMarinCaroMartnezBerg
 
Sampling (random) method and Non random.ppt
Sampling (random) method and Non random.pptSampling (random) method and Non random.ppt
Sampling (random) method and Non random.pptDr. Soumendra Kumar Patra
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz1
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...amitlee9823
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFxolyaivanovalion
 
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxBPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxMohammedJunaid861692
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Researchmichael115558
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxolyaivanovalion
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxolyaivanovalion
 
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Valters Lauzums
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfLars Albertsson
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysismanisha194592
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...amitlee9823
 

KĂźrzlich hochgeladen (20)

Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptx
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interaction
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfAccredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
Sampling (random) method and Non random.ppt
Sampling (random) method and Non random.pptSampling (random) method and Non random.ppt
Sampling (random) method and Non random.ppt
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxBPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
 
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptx
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
 
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 

Testing of hypothesis and Goodness of fit

  • 1. Testing of Hypothesis and Good ness of fit Dr. Anil V Dusane Sir Parashurambhau College, Pune, India anildusane@gmail.com www.careerguru.co.com 1
  • 2. Hypothesis • An hypothesis is a speculation concerning about an observed phenomenon. If the speculation is translated into a statement about some condition of a population/s that statement is referred as statistical hypothesis. Examples of hypothesis. 1. A particular feed will increase the weight in buffaloes. 2. The use of new soil fumigant will drastically reduce the nematode problems. 3. An average life of a product produced by company A is more than that of company B. 2
  • 3. Definition of hypothesis test • A hypothesis test is a procedure used to conclude whether the characteristic measured in a sample agrees reasonably well with the hypothesis or not. • In other words, hypothesis test is a procedure governed by certain rules, that leads to take a decision about the hypothesis for its acceptance or rejection on the basis of sample values. 3
  • 4. Steps involved in testing of hypothesis Following important steps are involved in the testing of hypothesis. 1. Starting the Null or alternative hypothesis. 2. Selecting the level of significance. 3. Determining the test distribution. 4. Defining the rejection (or critical) regions. 5. Performing statistical test. 6. Drawing statistical conclusion. 4
  • 5. Stating of the null hypothesis • A hypothesis, which is to be actually tested for acceptance or rejection, is termed as null hypothesis. • According to Fisher null hypothesis is a hypothesis which is tested for possible rejection under the assumption that it is true. • In general, null hypothesis refers the hypothesis that the researcher wishes to disprove since disproving that hypothesis provides a stronger proof to the researcher. • It is denoted by Ho. The hypothesis which faulty rejection is more harmful is treated as null hypothesis. 5
  • 6. Alternative hypothesis • This hypothesis gives an alternative to the first (null) hypothesis. • This hypothesis is accepted only when the null hypothesis is rejected. • It is a complement of the null hypothesis or it is a hypothesis which is used to verify the null hypothesis. • It is demoted by H1. 6
  • 7. Selection of a level of significance • This is the second step in hypothesis testing. It is the selection of  (confidence limit) level of significance. • Based on the observational data a test is performed to decide whether the postulated hypothesis to be accepted or not and this involves certain amount of risk. • This amount of risk is termed as a level of significance. • The amount of evidence required to accept that an event is unlikely to have arisen by chance is known as the significance level or critical p-value. 7
  • 8. Level of significance • The level of significance establishes a criterion for rejection or acceptance of null hypothesis. • It is denoted by ‘’ conventionally chosen as 0.05 or 0.01 = 0.01(%1) is used for high precision and  = 0.05 (%5) for moderate precision. • In other words, a probability of Ho when it is true is referred as the level of significance. • It is nothing but probability of committing the type I error (rejecting the null hypothesis when it is true. • It is desirable to select small value of . However smaller  of increases beta risk or the probability of incurring type II error (accepting false null hypothesis). 8
  • 9. Types of Errors • Since the decision of acceptance or rejection of Ho (null hypothesis) is based on the sampling. It is subject to the two kinds of errors. • Type I error—rejecting null hypothesis Ho when it is true. • Type II error—accept of null hypothesis Ho when it is false. • A common misconception is that a statistically significant result is always of practical significance, or demonstrates a large effect in the population. Given a sufficiently large sample, extremely small and non-notable differences can be found to be statistically significant. • One of the more common problems in significance testing is the tendency for multiple comparisons to yield spurious significant differences even where the null hypothesis is true. • The "insignificance" does not mean unimportant, and propose that the scientific community should abandon usage of the test altogether, as it can cause false hypotheses to be accepted and true hypotheses to be rejected. 9
  • 10. Determine the test distribution • The test statistic is the value used to determine whether null hypothesis should be rejected or accepted. • The choice of the appropriate statistical test is based on the value of appropriate sampling distribution i.e. the normal or any other distribution such a t- distribution. • If our sample size is less than 30 (n30) then we must use ‘t’ distribution. 10
  • 11. Defining the rejection or critical regions • The critical value is the point of determination between the acceptance and rejection regions, it can be presented in the standard units of measurements (Z-scale) or in actual units of measurements (x-scale). • The figure shows the critical regions of a test statistic when the sapling distribution is assumed normally distributed. • If the test statistics value falls in the acceptance region, the null hypothesis is accepted. • If the value falls in the region in the rejection region (0.025+0.025 = 0.050), null hypothesis is rejected. 11
  • 12. Performing statistical test • If we use testing a hypothesis about the population mean (m) we must first calculate the sample mean. From this estimate S.E. and establish the test ratio in standard units. • The acceptance or rejection boundaries (critical values) should be represented in the actual units of measurements (x-scale) 12
  • 13. Drawing a statistical conclusion • Having performed the statistical test, it is now possible to determine whether the sample information agrees reasonably well with the hypothesis and to make inference about the population. • The acceptance or rejection of null hypothesis is the conclusion of the test. 13
  • 14. Student’s ‘t’ test • To test the agreement between hypothesis and observation two biometrical tests viz. chi- square (χ2 test) and students t-test are performed. • It is invented by Gosset ( 1876-1937). • The statistics of small samples is revolutionized by this test. • A t-test is any statistical hypothesis test in which the test statistics follows a Student’s t- distribution in null hypothesis is true. • It is most commonly applied when the test statistic would follow a normal distribution if the value of a scaling term in the test statistic were known. • When the scaling term is unknown and is replaced by an estimate based on the data, the test statistic (under certain conditions) follows a Student's t distribution. 14
  • 15. Importance of Student’s ‘t’ test 1. Small samples do not follow the normal distribution therefore when biologists has to interpret and draw the decision from the very small samples of data he has to often make use of t-test. e.g. if number of animals with some rare disease that is available for examination may be quite small and in such cases the doctors can make the use of t-test. 2. The t-test is the most common statistical procedure in the medical literature. 3. This method is used to find out whether the differences between two different samples are significant or mere fluctuations of errors. 4. This test ensures whether the mean difference between two related populations /treatments /genotypes is significant or nor can be tested. 15
  • 16. Importance of Student’s ‘t’ test 5. When the sample size is large the t-test distribution closely approximates to the normal distribution. 6. If a symmetric distribution (mean, mode and median coincide) unlike the normal distribution, the shape of t-distribution varies according to the size of the sample or according to the degree of freedom. The shape of t distribution is flatter than the z- distribution. 16
  • 17. Unpaired t test • This test is applied to unpaired data of independent observations made on individuals of two different or separate groups or samples drawn from two different populations. • Steps to be followed for calculation of ‘t’ 1. Calculate the means of two samples are calculated and the difference between the means of two samples. 2. Calculate the standard error of the difference between two means. 3. Calculate t test value by the ratio between the observed difference of means and its standard error. 4. Calculated t value is compared with t table to find out the significance at the particular degree of freedom. 17
  • 18. Paired t test • It is applied when each individual give a pair of observations. Here the paired data of independent observation from one sample only to be compared. This kind of observations are made available in biological sciences such as a)To study the effect of fertilizer, pesticide, drug on the plant. b) to compare the effect of two different fertilizers or drugs. c) to compare the result of two techniques or the accuracy of two different instruments. • Steps to be followed for calculation of ‘t’ 1. The difference in each set of paired observations are made. 2. The mean difference is calculated. 3. The standard deviation of the difference (SD) and then standard error of mean from the same is calculated. 4. The calculated value of t is compared with t table to find out the significance at the particular degree of freedom. 18
  • 19. Chi-square test (χ2) of goodness of fit • Chi-square is denoted χ2 • χ2 = ∑ (O-E) 2 /E where O= observed value; E- expected value. • Chi-square is used to determine whether the deviations of the observed data from the expected data are small or large enough to accept or reject the fitted curve. • Each curve is tested at 5% of one percent level of significance, whenever the observed value of χ2 exceeded the table of χ2 0.05/ χ2 0.001, the difference between the observed and expected data will be considered highly significant and fit will be considered poor. 19
  • 20. Chi-square test (χ2) • In other words, if the observed and χ2 is less than or equal to the table value of chi-square then we accept the fit. • Chi-square (χ2) permits to test whether observed frequencies in distribution differ significantly from the frequencies which can be expected according to some hypothesis. • Chi-square is also used to test how closely the actual distribution approximates to a particular theoretical distribution. • The validity of the normal distribution can be tested by chi-square test. 20
  • 21. Application of chi-square test Chi-square has three major application related to statistics are 1.Testing of goodness of fit. 2.Testing for independence. 3.Testing homogeneity. • Chi-square has applications in the field of bioinformatics. Chi- square test is applied to compare the distribution of certain properties of genes such as genomic content, mutation rate, etc. belonging to different categories viz. disease genes, essential genes, genes on a certain chromosome etc. • It is also used for solving modern cryptographic problems. 21