SlideShare a Scribd company logo
1 of 8
Kolmogorov-SmirnovTest
& Its Implementation
-Ramesh Giri
Contents:
-> Random numbers??
-> True and pseudo random??
-> Main properties of pseudo random .
-> Kolmogorov-Smirnov?
-> Why Kolmogorov-Smirnov?
Random numbers
Sequence of numbers or symbols that cannot be
reasonably predicted better than by a random chance.
True Random
Random number sequence that has no chance of
being predicted.
Pseudo Random
Random number sequence that has some chance of
being predicted.
Properties of pseudo random number
-> Dependent
-> Uniformity
-> Deterministic
-> Tractable
Kolmogorov-Smirnov Test
-> Used to test the uniformity of the given sequence.
-> Compares the continuous cdf, F(X), of the uniform
distribution to the empirical cdf, SN(x), of the sample of N
observations.
-> Based on the statistic
D = max | F(x) - SN(x)|
Algorithm:
• Step 1: Rank the data from smallest to largest. Let Ri denote ith
smallest observation, so that R 1 <=R 2 <=R 3 <= ...<=R N
• Step2: Compute D+ = max {i/N –Ri} and D-= max {Ri –(i-1)/N}
• Step 3: Find D = max {D+, D-}
• Step 4: Determine the critical value, Dα, from Table for the specified
value of α and the sample size N.
• Step 5: If the sample statistic D is greater than the tabulated value of
Dα, the null hypothesis that the data are a sample from uniform
distribution is rejected
Example
Give Numbers: 0.05, 0.14, 0.44, 0.81, 0.92.
Critical value of D for α = 0.05 and for N=5 is 0.565.
Now,
D+ = max(D+) = 0.26
D- = max(D-) = 0.21
So, D = max (D+, D-) = 0.26.
From tabulated value, D=0.565, i.e. greater than 0.26 (observed).
So, the hypothesis, no difference between the distribution of the generated number are the uniform
distribution is nor rejected. i.e. Accepted.
Ri 0.05 0.14 0.44 0.81 0.92
i/N 0.2 0.4 0.6 0.8 1.0
i/N-Ri (D+) 0.15 0.26 0.16 -0.01 0.07
Ri-(i-1)/N (D-) 0.05 -0.06 0.04 0.21 0.13
Conclusion:
• K-S test can be only applied to pseudo random numbers.
• Used to find whether the sequence is uniformly distributed or not
• Based on the statistic
D = max | F(x) - SN(x)|

More Related Content

What's hot

Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testingrishi.indian
 
Logistic Ordinal Regression
Logistic Ordinal RegressionLogistic Ordinal Regression
Logistic Ordinal RegressionSri Ambati
 
Introduction to Probability and Probability Distributions
Introduction to Probability and Probability DistributionsIntroduction to Probability and Probability Distributions
Introduction to Probability and Probability DistributionsJezhabeth Villegas
 
Binomial probability distribution
Binomial probability distributionBinomial probability distribution
Binomial probability distributionNadeem Uddin
 
Inferential statistics powerpoint
Inferential statistics powerpointInferential statistics powerpoint
Inferential statistics powerpointkellula
 
Probability Distributions for Discrete Variables
Probability Distributions for Discrete VariablesProbability Distributions for Discrete Variables
Probability Distributions for Discrete Variablesgetyourcheaton
 
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
 
One Sample T Test
One Sample T TestOne Sample T Test
One Sample T Testshoffma5
 
Probability And Its Axioms
Probability And Its AxiomsProbability And Its Axioms
Probability And Its Axiomsmathscontent
 
Confidence interval & probability statements
Confidence interval & probability statements Confidence interval & probability statements
Confidence interval & probability statements DrZahid Khan
 

What's hot (20)

Confidence Intervals
Confidence IntervalsConfidence Intervals
Confidence Intervals
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Logistic Ordinal Regression
Logistic Ordinal RegressionLogistic Ordinal Regression
Logistic Ordinal Regression
 
Introduction to Probability and Probability Distributions
Introduction to Probability and Probability DistributionsIntroduction to Probability and Probability Distributions
Introduction to Probability and Probability Distributions
 
The Standard Normal Distribution
The Standard Normal DistributionThe Standard Normal Distribution
The Standard Normal Distribution
 
Binomial probability distribution
Binomial probability distributionBinomial probability distribution
Binomial probability distribution
 
Inferential statistics powerpoint
Inferential statistics powerpointInferential statistics powerpoint
Inferential statistics powerpoint
 
Kruskal Wall Test
Kruskal Wall TestKruskal Wall Test
Kruskal Wall Test
 
Probability Distributions for Discrete Variables
Probability Distributions for Discrete VariablesProbability Distributions for Discrete Variables
Probability Distributions for Discrete Variables
 
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
 
Kolmogorov Smirnov | Statistics
Kolmogorov Smirnov | StatisticsKolmogorov Smirnov | Statistics
Kolmogorov Smirnov | Statistics
 
One Sample T Test
One Sample T TestOne Sample T Test
One Sample T Test
 
Binomial probability distributions
Binomial probability distributions  Binomial probability distributions
Binomial probability distributions
 
Lilliefors test
Lilliefors testLilliefors test
Lilliefors test
 
Probability And Its Axioms
Probability And Its AxiomsProbability And Its Axioms
Probability And Its Axioms
 
Two sample t-test
Two sample t-testTwo sample t-test
Two sample t-test
 
Student t-test
Student t-testStudent t-test
Student t-test
 
Confidence interval & probability statements
Confidence interval & probability statements Confidence interval & probability statements
Confidence interval & probability statements
 
Sign test
Sign testSign test
Sign test
 
Sampling Distribution
Sampling DistributionSampling Distribution
Sampling Distribution
 

Similar to Kolmogorov smirnov test

C2 st lecture 10 basic statistics and the z test handout
C2 st lecture 10   basic statistics and the z test handoutC2 st lecture 10   basic statistics and the z test handout
C2 st lecture 10 basic statistics and the z test handoutfatima d
 
Statistics for interpreting test scores
Statistics for interpreting test scoresStatistics for interpreting test scores
Statistics for interpreting test scoresmpazhou
 
zScores_HANDOUT.pdf
zScores_HANDOUT.pdfzScores_HANDOUT.pdf
zScores_HANDOUT.pdfJoebest8
 
From Data to Decisions, a Mixed Path of Data Visualization and Machine Learning
From Data to Decisions, a Mixed Path of Data Visualization and Machine LearningFrom Data to Decisions, a Mixed Path of Data Visualization and Machine Learning
From Data to Decisions, a Mixed Path of Data Visualization and Machine LearningQianwen Wang
 
Statisticsforbiologists colstons
Statisticsforbiologists colstonsStatisticsforbiologists colstons
Statisticsforbiologists colstonsandymartin
 
Statistics-Non parametric test
Statistics-Non parametric testStatistics-Non parametric test
Statistics-Non parametric testRabin BK
 
3.4 Measures of Position
3.4 Measures of Position3.4 Measures of Position
3.4 Measures of Positionmlong24
 
Linear regression by Kodebay
Linear regression by KodebayLinear regression by Kodebay
Linear regression by KodebayKodebay
 
MODULE 5- EDA.pptx
MODULE 5- EDA.pptxMODULE 5- EDA.pptx
MODULE 5- EDA.pptxnikshaikh786
 

Similar to Kolmogorov smirnov test (20)

factoring
factoringfactoring
factoring
 
Z-SCORE.pptx
Z-SCORE.pptxZ-SCORE.pptx
Z-SCORE.pptx
 
C2 st lecture 10 basic statistics and the z test handout
C2 st lecture 10   basic statistics and the z test handoutC2 st lecture 10   basic statistics and the z test handout
C2 st lecture 10 basic statistics and the z test handout
 
Correlation
CorrelationCorrelation
Correlation
 
Correlation
CorrelationCorrelation
Correlation
 
Correlation
CorrelationCorrelation
Correlation
 
Measures of Dispersion.pptx
Measures of Dispersion.pptxMeasures of Dispersion.pptx
Measures of Dispersion.pptx
 
Measures of Variation
Measures of VariationMeasures of Variation
Measures of Variation
 
Statistics for interpreting test scores
Statistics for interpreting test scoresStatistics for interpreting test scores
Statistics for interpreting test scores
 
zScores_HANDOUT.pdf
zScores_HANDOUT.pdfzScores_HANDOUT.pdf
zScores_HANDOUT.pdf
 
From Data to Decisions, a Mixed Path of Data Visualization and Machine Learning
From Data to Decisions, a Mixed Path of Data Visualization and Machine LearningFrom Data to Decisions, a Mixed Path of Data Visualization and Machine Learning
From Data to Decisions, a Mixed Path of Data Visualization and Machine Learning
 
Statisticsforbiologists colstons
Statisticsforbiologists colstonsStatisticsforbiologists colstons
Statisticsforbiologists colstons
 
Statistics-Non parametric test
Statistics-Non parametric testStatistics-Non parametric test
Statistics-Non parametric test
 
3.4 Measures of Position
3.4 Measures of Position3.4 Measures of Position
3.4 Measures of Position
 
Linear regression by Kodebay
Linear regression by KodebayLinear regression by Kodebay
Linear regression by Kodebay
 
MODULE 5- EDA.pptx
MODULE 5- EDA.pptxMODULE 5- EDA.pptx
MODULE 5- EDA.pptx
 
Regression
RegressionRegression
Regression
 
Normal Distribution
Normal DistributionNormal Distribution
Normal Distribution
 
Overview Of Quartile.pptx
Overview Of Quartile.pptxOverview Of Quartile.pptx
Overview Of Quartile.pptx
 
Lecture 10.4 bt
Lecture 10.4 btLecture 10.4 bt
Lecture 10.4 bt
 

Recently uploaded

7. Epi of Chronic respiratory diseases.ppt
7. Epi of Chronic respiratory diseases.ppt7. Epi of Chronic respiratory diseases.ppt
7. Epi of Chronic respiratory diseases.pptibrahimabdi22
 
Fun all Day Call Girls in Jaipur 9332606886 High Profile Call Girls You Ca...
Fun all Day Call Girls in Jaipur   9332606886  High Profile Call Girls You Ca...Fun all Day Call Girls in Jaipur   9332606886  High Profile Call Girls You Ca...
Fun all Day Call Girls in Jaipur 9332606886 High Profile Call Girls You Ca...kumargunjan9515
 
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样wsppdmt
 
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...Elaine Werffeli
 
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book nowVadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book nowgargpaaro
 
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
 
Jodhpur Park | Call Girls in Kolkata Phone No 8005736733 Elite Escort Service...
Jodhpur Park | Call Girls in Kolkata Phone No 8005736733 Elite Escort Service...Jodhpur Park | Call Girls in Kolkata Phone No 8005736733 Elite Escort Service...
Jodhpur Park | Call Girls in Kolkata Phone No 8005736733 Elite Escort Service...HyderabadDolls
 
Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...gajnagarg
 
Ranking and Scoring Exercises for Research
Ranking and Scoring Exercises for ResearchRanking and Scoring Exercises for Research
Ranking and Scoring Exercises for ResearchRajesh Mondal
 
Top Call Girls in Balaghat 9332606886Call Girls Advance Cash On Delivery Ser...
Top Call Girls in Balaghat  9332606886Call Girls Advance Cash On Delivery Ser...Top Call Girls in Balaghat  9332606886Call Girls Advance Cash On Delivery Ser...
Top Call Girls in Balaghat 9332606886Call Girls Advance Cash On Delivery Ser...kumargunjan9515
 
Computer science Sql cheat sheet.pdf.pdf
Computer science Sql cheat sheet.pdf.pdfComputer science Sql cheat sheet.pdf.pdf
Computer science Sql cheat sheet.pdf.pdfSayantanBiswas37
 
Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...gajnagarg
 
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With Orange
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With OrangePredicting HDB Resale Prices - Conducting Linear Regression Analysis With Orange
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With OrangeThinkInnovation
 
Digital Transformation Playbook by Graham Ware
Digital Transformation Playbook by Graham WareDigital Transformation Playbook by Graham Ware
Digital Transformation Playbook by Graham WareGraham Ware
 
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制vexqp
 
Gartner's Data Analytics Maturity Model.pptx
Gartner's Data Analytics Maturity Model.pptxGartner's Data Analytics Maturity Model.pptx
Gartner's Data Analytics Maturity Model.pptxchadhar227
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Reconciling Conflicting Data Curation Actions: Transparency Through Argument...
Reconciling Conflicting Data Curation Actions:  Transparency Through Argument...Reconciling Conflicting Data Curation Actions:  Transparency Through Argument...
Reconciling Conflicting Data Curation Actions: Transparency Through Argument...Bertram Ludäscher
 
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi ArabiaIn Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabiaahmedjiabur940
 

Recently uploaded (20)

7. Epi of Chronic respiratory diseases.ppt
7. Epi of Chronic respiratory diseases.ppt7. Epi of Chronic respiratory diseases.ppt
7. Epi of Chronic respiratory diseases.ppt
 
Fun all Day Call Girls in Jaipur 9332606886 High Profile Call Girls You Ca...
Fun all Day Call Girls in Jaipur   9332606886  High Profile Call Girls You Ca...Fun all Day Call Girls in Jaipur   9332606886  High Profile Call Girls You Ca...
Fun all Day Call Girls in Jaipur 9332606886 High Profile Call Girls You Ca...
 
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
 
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
 
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book nowVadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
 
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
 
Jodhpur Park | Call Girls in Kolkata Phone No 8005736733 Elite Escort Service...
Jodhpur Park | Call Girls in Kolkata Phone No 8005736733 Elite Escort Service...Jodhpur Park | Call Girls in Kolkata Phone No 8005736733 Elite Escort Service...
Jodhpur Park | Call Girls in Kolkata Phone No 8005736733 Elite Escort Service...
 
Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...
 
Ranking and Scoring Exercises for Research
Ranking and Scoring Exercises for ResearchRanking and Scoring Exercises for Research
Ranking and Scoring Exercises for Research
 
Top Call Girls in Balaghat 9332606886Call Girls Advance Cash On Delivery Ser...
Top Call Girls in Balaghat  9332606886Call Girls Advance Cash On Delivery Ser...Top Call Girls in Balaghat  9332606886Call Girls Advance Cash On Delivery Ser...
Top Call Girls in Balaghat 9332606886Call Girls Advance Cash On Delivery Ser...
 
Computer science Sql cheat sheet.pdf.pdf
Computer science Sql cheat sheet.pdf.pdfComputer science Sql cheat sheet.pdf.pdf
Computer science Sql cheat sheet.pdf.pdf
 
Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...
 
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With Orange
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With OrangePredicting HDB Resale Prices - Conducting Linear Regression Analysis With Orange
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With Orange
 
Digital Transformation Playbook by Graham Ware
Digital Transformation Playbook by Graham WareDigital Transformation Playbook by Graham Ware
Digital Transformation Playbook by Graham Ware
 
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
 
Gartner's Data Analytics Maturity Model.pptx
Gartner's Data Analytics Maturity Model.pptxGartner's Data Analytics Maturity Model.pptx
Gartner's Data Analytics Maturity Model.pptx
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Reconciling Conflicting Data Curation Actions: Transparency Through Argument...
Reconciling Conflicting Data Curation Actions:  Transparency Through Argument...Reconciling Conflicting Data Curation Actions:  Transparency Through Argument...
Reconciling Conflicting Data Curation Actions: Transparency Through Argument...
 
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi ArabiaIn Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
 

Kolmogorov smirnov test

  • 2. Contents: -> Random numbers?? -> True and pseudo random?? -> Main properties of pseudo random . -> Kolmogorov-Smirnov? -> Why Kolmogorov-Smirnov?
  • 3. Random numbers Sequence of numbers or symbols that cannot be reasonably predicted better than by a random chance. True Random Random number sequence that has no chance of being predicted. Pseudo Random Random number sequence that has some chance of being predicted.
  • 4. Properties of pseudo random number -> Dependent -> Uniformity -> Deterministic -> Tractable
  • 5. Kolmogorov-Smirnov Test -> Used to test the uniformity of the given sequence. -> Compares the continuous cdf, F(X), of the uniform distribution to the empirical cdf, SN(x), of the sample of N observations. -> Based on the statistic D = max | F(x) - SN(x)|
  • 6. Algorithm: • Step 1: Rank the data from smallest to largest. Let Ri denote ith smallest observation, so that R 1 <=R 2 <=R 3 <= ...<=R N • Step2: Compute D+ = max {i/N –Ri} and D-= max {Ri –(i-1)/N} • Step 3: Find D = max {D+, D-} • Step 4: Determine the critical value, Dα, from Table for the specified value of α and the sample size N. • Step 5: If the sample statistic D is greater than the tabulated value of Dα, the null hypothesis that the data are a sample from uniform distribution is rejected
  • 7. Example Give Numbers: 0.05, 0.14, 0.44, 0.81, 0.92. Critical value of D for α = 0.05 and for N=5 is 0.565. Now, D+ = max(D+) = 0.26 D- = max(D-) = 0.21 So, D = max (D+, D-) = 0.26. From tabulated value, D=0.565, i.e. greater than 0.26 (observed). So, the hypothesis, no difference between the distribution of the generated number are the uniform distribution is nor rejected. i.e. Accepted. Ri 0.05 0.14 0.44 0.81 0.92 i/N 0.2 0.4 0.6 0.8 1.0 i/N-Ri (D+) 0.15 0.26 0.16 -0.01 0.07 Ri-(i-1)/N (D-) 0.05 -0.06 0.04 0.21 0.13
  • 8. Conclusion: • K-S test can be only applied to pseudo random numbers. • Used to find whether the sequence is uniformly distributed or not • Based on the statistic D = max | F(x) - SN(x)|