SlideShare uma empresa Scribd logo
1 de 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.

Mais conteúdo relacionado

Mais procurados

Hypothesis testing ppt final
Hypothesis testing ppt finalHypothesis testing ppt final
Hypothesis testing ppt final
piyushdhaker
 
Statistical inference
Statistical inferenceStatistical inference
Statistical inference
Jags Jagdish
 
Categorical data analysis.pptx
Categorical data analysis.pptxCategorical data analysis.pptx
Categorical data analysis.pptx
Begashaw3
 

Mais procurados (20)

Parametric vs Nonparametric Tests: When to use which
Parametric vs Nonparametric Tests: When to use whichParametric vs Nonparametric Tests: When to use which
Parametric vs Nonparametric Tests: When to use which
 
Correlation and Regression
Correlation and RegressionCorrelation and Regression
Correlation and Regression
 
Categorical data analysis
Categorical data analysisCategorical data analysis
Categorical data analysis
 
Confidence Intervals
Confidence IntervalsConfidence Intervals
Confidence Intervals
 
Confidence Intervals: Basic concepts and overview
Confidence Intervals: Basic concepts and overviewConfidence Intervals: Basic concepts and overview
Confidence Intervals: Basic concepts and overview
 
Hypothesis testing ppt final
Hypothesis testing ppt finalHypothesis testing ppt final
Hypothesis testing ppt final
 
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
 
Statistical inference
Statistical inferenceStatistical inference
Statistical inference
 
Categorical data analysis.pptx
Categorical data analysis.pptxCategorical data analysis.pptx
Categorical data analysis.pptx
 
4.5. logistic regression
4.5. logistic regression4.5. logistic regression
4.5. logistic regression
 
Test of-significance : Z test , Chi square test
Test of-significance : Z test , Chi square testTest of-significance : Z test , Chi square test
Test of-significance : Z test , Chi square test
 
Probability Distributions
Probability Distributions Probability Distributions
Probability Distributions
 
Non parametric methods
Non parametric methodsNon parametric methods
Non parametric methods
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Correlations using SPSS
Correlations using SPSSCorrelations using SPSS
Correlations using SPSS
 
Confidence interval
Confidence intervalConfidence interval
Confidence interval
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
INFERENTIAL STATISTICS: AN INTRODUCTION
INFERENTIAL STATISTICS: AN INTRODUCTIONINFERENTIAL STATISTICS: AN INTRODUCTION
INFERENTIAL STATISTICS: AN INTRODUCTION
 
Point Estimation
Point Estimation Point Estimation
Point Estimation
 
F-Distribution
F-DistributionF-Distribution
F-Distribution
 

Destaque

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
 

Destaque (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
 

Semelhante a 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
 

Semelhante a 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
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
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
 

Último

Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pillsMifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Abortion pills in Kuwait Cytotec pills in Kuwait
 
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
 
Mckinsey foundation level Handbook for Viewing
Mckinsey foundation level Handbook for ViewingMckinsey foundation level Handbook for Viewing
Mckinsey foundation level Handbook for Viewing
Nauman Safdar
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
daisycvs
 
Mifepristone Available in Muscat +918761049707^^ €€ Buy Abortion Pills in Oman
Mifepristone Available in Muscat +918761049707^^ €€ Buy Abortion Pills in OmanMifepristone Available in Muscat +918761049707^^ €€ Buy Abortion Pills in Oman
Mifepristone Available in Muscat +918761049707^^ €€ Buy Abortion Pills in Oman
instagramfab782445
 

Último (20)

Falcon Invoice Discounting: The best investment platform in india for investors
Falcon Invoice Discounting: The best investment platform in india for investorsFalcon Invoice Discounting: The best investment platform in india for investors
Falcon Invoice Discounting: The best investment platform in india for investors
 
Falcon's Invoice Discounting: Your Path to Prosperity
Falcon's Invoice Discounting: Your Path to ProsperityFalcon's Invoice Discounting: Your Path to Prosperity
Falcon's Invoice Discounting: Your Path to Prosperity
 
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pillsMifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
 
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
 
Arti Languages Pre Seed Teaser Deck 2024.pdf
Arti Languages Pre Seed Teaser Deck 2024.pdfArti Languages Pre Seed Teaser Deck 2024.pdf
Arti Languages Pre Seed Teaser Deck 2024.pdf
 
Putting the SPARK into Virtual Training.pptx
Putting the SPARK into Virtual Training.pptxPutting the SPARK into Virtual Training.pptx
Putting the SPARK into Virtual Training.pptx
 
New 2024 Cannabis Edibles Investor Pitch Deck Template
New 2024 Cannabis Edibles Investor Pitch Deck TemplateNew 2024 Cannabis Edibles Investor Pitch Deck Template
New 2024 Cannabis Edibles Investor Pitch Deck Template
 
Lundin Gold - Q1 2024 Conference Call Presentation (Revised)
Lundin Gold - Q1 2024 Conference Call Presentation (Revised)Lundin Gold - Q1 2024 Conference Call Presentation (Revised)
Lundin Gold - Q1 2024 Conference Call Presentation (Revised)
 
Mckinsey foundation level Handbook for Viewing
Mckinsey foundation level Handbook for ViewingMckinsey foundation level Handbook for Viewing
Mckinsey foundation level Handbook for Viewing
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
 
Phases of Negotiation .pptx
 Phases of Negotiation .pptx Phases of Negotiation .pptx
Phases of Negotiation .pptx
 
Falcon Invoice Discounting: Tailored Financial Wings
Falcon Invoice Discounting: Tailored Financial WingsFalcon Invoice Discounting: Tailored Financial Wings
Falcon Invoice Discounting: Tailored Financial Wings
 
Escorts in Nungambakkam Phone 8250092165 Enjoy 24/7 Escort Service Enjoy Your...
Escorts in Nungambakkam Phone 8250092165 Enjoy 24/7 Escort Service Enjoy Your...Escorts in Nungambakkam Phone 8250092165 Enjoy 24/7 Escort Service Enjoy Your...
Escorts in Nungambakkam Phone 8250092165 Enjoy 24/7 Escort Service Enjoy Your...
 
Over the Top (OTT) Market Size & Growth Outlook 2024-2030
Over the Top (OTT) Market Size & Growth Outlook 2024-2030Over the Top (OTT) Market Size & Growth Outlook 2024-2030
Over the Top (OTT) Market Size & Growth Outlook 2024-2030
 
CROSS CULTURAL NEGOTIATION BY PANMISEM NS
CROSS CULTURAL NEGOTIATION BY PANMISEM NSCROSS CULTURAL NEGOTIATION BY PANMISEM NS
CROSS CULTURAL NEGOTIATION BY PANMISEM NS
 
Buy gmail accounts.pdf buy Old Gmail Accounts
Buy gmail accounts.pdf buy Old Gmail AccountsBuy gmail accounts.pdf buy Old Gmail Accounts
Buy gmail accounts.pdf buy Old Gmail Accounts
 
Falcon Invoice Discounting: Unlock Your Business Potential
Falcon Invoice Discounting: Unlock Your Business PotentialFalcon Invoice Discounting: Unlock Your Business Potential
Falcon Invoice Discounting: Unlock Your Business Potential
 
Power point presentation on enterprise performance management
Power point presentation on enterprise performance managementPower point presentation on enterprise performance management
Power point presentation on enterprise performance management
 
HomeRoots Pitch Deck | Investor Insights | April 2024
HomeRoots Pitch Deck | Investor Insights | April 2024HomeRoots Pitch Deck | Investor Insights | April 2024
HomeRoots Pitch Deck | Investor Insights | April 2024
 
Mifepristone Available in Muscat +918761049707^^ €€ Buy Abortion Pills in Oman
Mifepristone Available in Muscat +918761049707^^ €€ Buy Abortion Pills in OmanMifepristone Available in Muscat +918761049707^^ €€ Buy Abortion Pills in Oman
Mifepristone Available in Muscat +918761049707^^ €€ Buy Abortion Pills in Oman
 

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.