SlideShare ist ein Scribd-Unternehmen logo
1 von 4
The Kolmogorov-Smirnov
Test

XIMB
The Kolmogorov-Smirnov Test (K-S Test) is used to test the goodnessof-fit of a theoretical frequency distribution, i.e., whether there is a
significant difference between an observed frequency distribution and a
given theoretical (expected) frequency distribution.
•Similar to what the Chi-Square test does, but the K-S test has several
advantages:
More powerful test.
Easier to compute and use, as no grouping of data is required.
The test statistic is independent of the expected frequency
distribution. It only depends on the sample size n.
THE HYPOTHESES:

H0:

The observed frequency distribution is consistent with the
theoretical frequency distribution (Good fit).

H1: The observed frequency distribution is not consistent with the
theoretical frequency distribution (Bad fit).

α = Level of significance of the test.
•Here we use the cumulative probability distribution (CDF) of observed and
theoretical frequencies.
The K-S Test Statistic:

Here,
Fe = the expected relative cumulative frequencies(CDF).
Fo = the observed relative cumulative frequencies(CDF).
•If the gap between Fe and Fo is large then Ho should be rejected.
•The value of the test statistic is obtained from the observed data listed in
the tabular form.
•A K-S test is a one tailed test.
•The critical values of Dn have been tabulated and can be found from the
K-S table for corresponding levels of significance and sample size n.
•The calculated value of Dn is compared with the critical value of Dn.
If the calculated value > critical value, then reject H0.
Example:
Pg # 834, Prob. # SC14-7.
Soln.:
H0: The distn. is normal with µ= 6.80, σ= 1.24.
H1: Above not true.
Value of the
variable

fo

Cumulat
ive
fo

Fo
(obs.
CDF)

Fe
(exp.
CDF)

|Fe – Fo|

≤ 4.009

13

13

0.0173

0.0122

0.0051

4.010-5.869

158

171

0.2280

0.2266

0.0014

5.870-7.729

437

608

0.8017

0.7734

0.0373

7.730-9.589

122

730

0.9733

0.9878

0.0145

>9.590

20

750

1.0000

1.0000

0.0000

We obtain Fe values from the normal table, z= (X- µ)/ σ.
The calculated value of Dn is the maximum value in the | Fe - Fo |
column. Thus, 0.0373.
For 0.15 level of significance, Dcritical = 1.14/√n = 1.14/√750 = 0.0416.
Dn < Dcritical , so accept H0 and conclude that it is a good fit.

Weitere ähnliche Inhalte

Was ist angesagt?

F Distribution
F  DistributionF  Distribution
F Distribution
jravish
 
Hypothesis testing an introduction
Hypothesis testing an introductionHypothesis testing an introduction
Hypothesis testing an introduction
Geetika Gulyani
 

Was ist angesagt? (20)

Hypothesis
HypothesisHypothesis
Hypothesis
 
Statistical inference concept, procedure of hypothesis testing
Statistical inference   concept, procedure of hypothesis testingStatistical inference   concept, procedure of hypothesis testing
Statistical inference concept, procedure of hypothesis testing
 
Sampling Distributions and Estimators
Sampling Distributions and Estimators Sampling Distributions and Estimators
Sampling Distributions and Estimators
 
Normality test on SPSS
Normality test on SPSSNormality test on SPSS
Normality test on SPSS
 
The Standard Normal Distribution
The Standard Normal Distribution  The Standard Normal Distribution
The Standard Normal Distribution
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Statistics "Descriptive & Inferential"
Statistics "Descriptive & Inferential"Statistics "Descriptive & Inferential"
Statistics "Descriptive & Inferential"
 
F Distribution
F  DistributionF  Distribution
F Distribution
 
Normal distribution
Normal distributionNormal distribution
Normal distribution
 
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
 
Basic Statistics
Basic  StatisticsBasic  Statistics
Basic Statistics
 
Poisson distribution
Poisson distributionPoisson distribution
Poisson distribution
 
Statistics: Probability
Statistics: ProbabilityStatistics: Probability
Statistics: Probability
 
Poisson distribution
Poisson distributionPoisson distribution
Poisson distribution
 
Measures of Dispersion - Thiyagu
Measures of Dispersion - ThiyaguMeasures of Dispersion - Thiyagu
Measures of Dispersion - Thiyagu
 
Sampling distribution
Sampling distributionSampling distribution
Sampling distribution
 
Measures of Central Tendency
Measures of Central TendencyMeasures of Central Tendency
Measures of Central Tendency
 
Hypothesis testing an introduction
Hypothesis testing an introductionHypothesis testing an introduction
Hypothesis testing an introduction
 
Two sample t-test
Two sample t-testTwo sample t-test
Two sample t-test
 
T test statistics
T test statisticsT test statistics
T test statistics
 

Andere mochten auch

03 The Chi Squared Test
03 The Chi Squared Test03 The Chi Squared Test
03 The Chi Squared Test
Jaya Kumar
 
Spss non parametrik universitas padjadjaran
Spss non parametrik universitas padjadjaranSpss non parametrik universitas padjadjaran
Spss non parametrik universitas padjadjaran
Ullank Stira
 
Uji wilcoxon
Uji wilcoxonUji wilcoxon
Uji wilcoxon
defris24
 
4 uji mc nemar untuk signifikansi perubahan [compatibility mode] (1)
4 uji mc nemar untuk signifikansi perubahan [compatibility mode] (1)4 uji mc nemar untuk signifikansi perubahan [compatibility mode] (1)
4 uji mc nemar untuk signifikansi perubahan [compatibility mode] (1)
Va Kim Hyun
 

Andere mochten auch (20)

Prueba Kolmogorov-Smirnov
Prueba Kolmogorov-SmirnovPrueba Kolmogorov-Smirnov
Prueba Kolmogorov-Smirnov
 
KOLGOMOROV-SMIRNOV
KOLGOMOROV-SMIRNOVKOLGOMOROV-SMIRNOV
KOLGOMOROV-SMIRNOV
 
kolmogorov smirnov PPT
kolmogorov smirnov PPTkolmogorov smirnov PPT
kolmogorov smirnov PPT
 
Prueba de kolmogorov smirnow
Prueba de kolmogorov smirnowPrueba de kolmogorov smirnow
Prueba de kolmogorov smirnow
 
Prueba de ks
Prueba de ksPrueba de ks
Prueba de ks
 
Non parametric tests
Non parametric testsNon parametric tests
Non parametric tests
 
Testing for normality
Testing for normalityTesting for normality
Testing for normality
 
Non-Parametric Tests
Non-Parametric TestsNon-Parametric Tests
Non-Parametric Tests
 
Wifi slide by G.K.Sourav
Wifi slide by G.K.SouravWifi slide by G.K.Sourav
Wifi slide by G.K.Sourav
 
03 The Chi Squared Test
03 The Chi Squared Test03 The Chi Squared Test
03 The Chi Squared Test
 
Parallel computing diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami
Parallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md SamiParallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami
Parallel computing diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami
 
dipositivas de analisis estructural
dipositivas de analisis estructural dipositivas de analisis estructural
dipositivas de analisis estructural
 
Chi squared test
Chi squared testChi squared test
Chi squared test
 
Spss non parametrik universitas padjadjaran
Spss non parametrik universitas padjadjaranSpss non parametrik universitas padjadjaran
Spss non parametrik universitas padjadjaran
 
Uji wilcoxon
Uji wilcoxonUji wilcoxon
Uji wilcoxon
 
uji kolmogorov smirnov
uji kolmogorov smirnovuji kolmogorov smirnov
uji kolmogorov smirnov
 
4 uji mc nemar untuk signifikansi perubahan [compatibility mode] (1)
4 uji mc nemar untuk signifikansi perubahan [compatibility mode] (1)4 uji mc nemar untuk signifikansi perubahan [compatibility mode] (1)
4 uji mc nemar untuk signifikansi perubahan [compatibility mode] (1)
 
Philippine fiscal and expenditure management reforms - Rolando Toledo - Phili...
Philippine fiscal and expenditure management reforms - Rolando Toledo - Phili...Philippine fiscal and expenditure management reforms - Rolando Toledo - Phili...
Philippine fiscal and expenditure management reforms - Rolando Toledo - Phili...
 
Chapter38
Chapter38Chapter38
Chapter38
 
Uji mann-whitney
Uji mann-whitneyUji mann-whitney
Uji mann-whitney
 

Ähnlich wie The kolmogorov smirnov test

Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
Jeremy Lane
 
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptx
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptxCHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptx
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptx
rathorebhagwan07
 

Ähnlich wie The kolmogorov smirnov test (20)

Chi square
Chi squareChi square
Chi square
 
Day 12 t test for dependent samples and single samples pdf
Day 12 t test for dependent samples and single samples pdfDay 12 t test for dependent samples and single samples pdf
Day 12 t test for dependent samples and single samples pdf
 
Categorical Data and Statistical Analysis
Categorical Data and Statistical AnalysisCategorical Data and Statistical Analysis
Categorical Data and Statistical Analysis
 
lecture-2.ppt
lecture-2.pptlecture-2.ppt
lecture-2.ppt
 
ONLINE Workshop Presentation - VCW
ONLINE Workshop Presentation - VCWONLINE Workshop Presentation - VCW
ONLINE Workshop Presentation - VCW
 
Multiple Regression.ppt
Multiple Regression.pptMultiple Regression.ppt
Multiple Regression.ppt
 
Multiple Regression.ppt
Multiple Regression.pptMultiple Regression.ppt
Multiple Regression.ppt
 
Chi square test final
Chi square test finalChi square test final
Chi square test final
 
Stat2013
Stat2013Stat2013
Stat2013
 
Test of significance in Statistics
Test of significance in StatisticsTest of significance in Statistics
Test of significance in Statistics
 
FandTtests.ppt
FandTtests.pptFandTtests.ppt
FandTtests.ppt
 
1625941932480.pptx
1625941932480.pptx1625941932480.pptx
1625941932480.pptx
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
chi-Square. test-
chi-Square. test-chi-Square. test-
chi-Square. test-
 
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptx
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptxCHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptx
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptx
 
Unit 4
Unit 4Unit 4
Unit 4
 
7 Chi-square and F (1).ppt
7 Chi-square and F (1).ppt7 Chi-square and F (1).ppt
7 Chi-square and F (1).ppt
 
Chisquared test.pptx
Chisquared test.pptxChisquared test.pptx
Chisquared test.pptx
 
Test of significance
Test of significanceTest of significance
Test of significance
 
Review on probability distributions, estimation and hypothesis testing
Review on probability distributions, estimation and hypothesis testingReview on probability distributions, estimation and hypothesis testing
Review on probability distributions, estimation and hypothesis testing
 

Kürzlich hochgeladen

Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
dlhescort
 
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
lizamodels9
 
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabiunwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
Abortion pills in Kuwait Cytotec pills in Kuwait
 
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Sheetaleventcompany
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Dipal Arora
 
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
amitlee9823
 
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
dollysharma2066
 

Kürzlich hochgeladen (20)

Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
 
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
 
Business Model Canvas (BMC)- A new venture concept
Business Model Canvas (BMC)-  A new venture conceptBusiness Model Canvas (BMC)-  A new venture concept
Business Model Canvas (BMC)- A new venture concept
 
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League City
 
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabiunwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
 
Forklift Operations: Safety through Cartoons
Forklift Operations: Safety through CartoonsForklift Operations: Safety through Cartoons
Forklift Operations: Safety through Cartoons
 
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
 
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communications
 
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptxB.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
 
RSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataRSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors Data
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
 
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
 
Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
 
Organizational Transformation Lead with Culture
Organizational Transformation Lead with CultureOrganizational Transformation Lead with Culture
Organizational Transformation Lead with Culture
 
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptx
 
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
 
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
 

The kolmogorov smirnov test

  • 2. The Kolmogorov-Smirnov Test (K-S Test) is used to test the goodnessof-fit of a theoretical frequency distribution, i.e., whether there is a significant difference between an observed frequency distribution and a given theoretical (expected) frequency distribution. •Similar to what the Chi-Square test does, but the K-S test has several advantages: More powerful test. Easier to compute and use, as no grouping of data is required. The test statistic is independent of the expected frequency distribution. It only depends on the sample size n. THE HYPOTHESES: H0: The observed frequency distribution is consistent with the theoretical frequency distribution (Good fit). H1: The observed frequency distribution is not consistent with the theoretical frequency distribution (Bad fit). α = Level of significance of the test. •Here we use the cumulative probability distribution (CDF) of observed and theoretical frequencies.
  • 3. The K-S Test Statistic: Here, Fe = the expected relative cumulative frequencies(CDF). Fo = the observed relative cumulative frequencies(CDF). •If the gap between Fe and Fo is large then Ho should be rejected. •The value of the test statistic is obtained from the observed data listed in the tabular form. •A K-S test is a one tailed test. •The critical values of Dn have been tabulated and can be found from the K-S table for corresponding levels of significance and sample size n. •The calculated value of Dn is compared with the critical value of Dn. If the calculated value > critical value, then reject H0.
  • 4. Example: Pg # 834, Prob. # SC14-7. Soln.: H0: The distn. is normal with µ= 6.80, σ= 1.24. H1: Above not true. Value of the variable fo Cumulat ive fo Fo (obs. CDF) Fe (exp. CDF) |Fe – Fo| ≤ 4.009 13 13 0.0173 0.0122 0.0051 4.010-5.869 158 171 0.2280 0.2266 0.0014 5.870-7.729 437 608 0.8017 0.7734 0.0373 7.730-9.589 122 730 0.9733 0.9878 0.0145 >9.590 20 750 1.0000 1.0000 0.0000 We obtain Fe values from the normal table, z= (X- µ)/ σ. The calculated value of Dn is the maximum value in the | Fe - Fo | column. Thus, 0.0373. For 0.15 level of significance, Dcritical = 1.14/√n = 1.14/√750 = 0.0416. Dn < Dcritical , so accept H0 and conclude that it is a good fit.