SlideShare a Scribd company logo
7
Most read
8
Most read
11
Most read
RANDOM NUMBER GENERATION Lecture Notes: Chapter 8
Properties of Random Numbers Uniformity Independence
Characteristics: Continuous uniform distribution between 0 to 1. If the interval (0,1) is divided into n classes, n/n. The probability of observing a particular value is independent of previous numbers.
Psuedo-Random Numbers: A sequence of numbers between 0 to 1 which simulates the ideal properties of uniform distribution and independence as closely as possible.
Possible errors of Psuedo-Random Numbers Generated numbers may not be uniformly distributed Numbers may be discrete valued instead of continuous Mean and variance may be too high or too low Cyclic variations may occur such as autocorrelation, successive numbers,  groupings of numbers
Characteristics of Routines (Generators): Fast Portable Long cycle Replicable Imitate randomness
Techniques for Generating Psuedo-Random Numbers Mid square method Mid product method Linear Congruential method Combined Congruential method
Linear Congruential method proposed by Lehmer (1951) produces a sequence of integers between 0 to m-1 if c = 0, multiplicative Congruential method if c  is not equal 0, mixed Congruential method Where X 0  = seed X i  = random integer C  = increment A  = constant multiplier M  = modulus R i   = random numbers = X i  / m
Combined Congruential method combination of two or more multiplicative congruential generators
Hypothesis Tests for Random Numbers Hypothesis when testing for uniformity: Hypothesis when testing for independence:
Test for Random Numbers: Frequency test Kolmogorov-Smirnov test Chi-square test Runs test Runs up Runs down Runs above the mean Runs below the mean Autocorrelation test Gap test Poker test
Other Tests Good’s Serial Test [1953, 1967] Median-Spectrum Test [Cox and Lewis, 1966, Durbin, 1967] A Variance Heterogeneity Test [Cox and Lewis, 1966] Even with all these tests, it is still no guarantee that randomness is achieve

More Related Content

PPTX
Unit 3 random number generation, random-variate generation
PDF
Random number generator
PPTX
Pseudo Random Number
PPTX
Midsquare method- simulation system
PPSX
Generate and test random numbers
PPTX
Random Number Generation
PPTX
Introduction to ML (Machine Learning)
PPTX
Monte Carlo Simulation
Unit 3 random number generation, random-variate generation
Random number generator
Pseudo Random Number
Midsquare method- simulation system
Generate and test random numbers
Random Number Generation
Introduction to ML (Machine Learning)
Monte Carlo Simulation

What's hot (20)

PPT
Classification (ML).ppt
PPTX
Asymptotic notations
PPT
Probability And Probability Distributions
PPT
Fuzzy logic
PPTX
Galois field
PPTX
Application of fuzzy logic
PPT
Random variate generation
PDF
Autoencoders
PPTX
Soft computing
PPT
Fuzzy Set Theory
PPTX
Introduction to Maximum Likelihood Estimator
PPT
Fuzzy relations
PPT
K mean-clustering algorithm
PPT
Artificial Neural Networks - ANN
PPTX
Presentation on supervised learning
PPT
numerical methods
PDF
02 Machine Learning - Introduction probability
PDF
Introduction to Recurrent Neural Network
PDF
Support Vector Machines ( SVM )
PPTX
System Modeling & Simulation Introduction
Classification (ML).ppt
Asymptotic notations
Probability And Probability Distributions
Fuzzy logic
Galois field
Application of fuzzy logic
Random variate generation
Autoencoders
Soft computing
Fuzzy Set Theory
Introduction to Maximum Likelihood Estimator
Fuzzy relations
K mean-clustering algorithm
Artificial Neural Networks - ANN
Presentation on supervised learning
numerical methods
02 Machine Learning - Introduction probability
Introduction to Recurrent Neural Network
Support Vector Machines ( SVM )
System Modeling & Simulation Introduction
Ad

Viewers also liked (6)

PPSX
Power Point Presentation
PPTX
Simulation-Run-Statistics
PPTX
Matlab Distributions
PPTX
Poisson distribution
PPTX
Poisson distribution
PPT
Much ado about randomness. What is really a random number?
Power Point Presentation
Simulation-Run-Statistics
Matlab Distributions
Poisson distribution
Poisson distribution
Much ado about randomness. What is really a random number?
Ad

Similar to Random number generation (20)

PPTX
Testing Numbers for Randomness Chi Square test
PPTX
MT6702 Unit 2 Random Number Generation
PPT
Genetic algorithm
PPTX
Presentation chi-square test & Anova
DOCX
Module-2_Notes-with-Example for data science
PPTX
Unit-3 of mathematical foundation of ai ml
PPTX
Basics of Structural Equation Modeling
PDF
Prob distros
PPTX
5. RV and Distributions.pptx
PDF
AN ALTERNATIVE APPROACH FOR SELECTION OF PSEUDO RANDOM NUMBERS FOR ONLINE EXA...
PPTX
Predictive analytics using 'R' Programming
DOCX
ADVANCED STATISTICS PREVIOUS YEAR QUESTIONS.docx
DOC
QNT 275 Exceptional Education - snaptutorial.com
PDF
Non Parametric Test by Vikramjit Singh
DOC
QNT 275 Inspiring Innovation / tutorialrank.com
PPTX
Probability distribution Function & Decision Trees in machine learning
PPTX
Inorganic CHEMISTRY
PDF
Probability and basic statistics with R
PPTX
Unit3
PPTX
probability for beginners masters in africa.ppt
Testing Numbers for Randomness Chi Square test
MT6702 Unit 2 Random Number Generation
Genetic algorithm
Presentation chi-square test & Anova
Module-2_Notes-with-Example for data science
Unit-3 of mathematical foundation of ai ml
Basics of Structural Equation Modeling
Prob distros
5. RV and Distributions.pptx
AN ALTERNATIVE APPROACH FOR SELECTION OF PSEUDO RANDOM NUMBERS FOR ONLINE EXA...
Predictive analytics using 'R' Programming
ADVANCED STATISTICS PREVIOUS YEAR QUESTIONS.docx
QNT 275 Exceptional Education - snaptutorial.com
Non Parametric Test by Vikramjit Singh
QNT 275 Inspiring Innovation / tutorialrank.com
Probability distribution Function & Decision Trees in machine learning
Inorganic CHEMISTRY
Probability and basic statistics with R
Unit3
probability for beginners masters in africa.ppt

More from De La Salle University-Manila (20)

PPTX
DOC
DOC
Queuing problems
PDF
Verfication and validation of simulation models
DOC
Markov exercises
PDF
PDF
Game theory problem set
DOC
Decision theory Problems
DOC
Decision theory handouts
PDF
Sequential decisionmaking
PDF
DOC
Decision theory blockwood
PPT
PPT
Monte carlo simulation
PPT
PPT
Conceptual modeling
PPT
Chapter3 general principles of discrete event simulation
PPT
Comparison and evaluation of alternative designs
Queuing problems
Verfication and validation of simulation models
Markov exercises
Game theory problem set
Decision theory Problems
Decision theory handouts
Sequential decisionmaking
Decision theory blockwood
Monte carlo simulation
Conceptual modeling
Chapter3 general principles of discrete event simulation
Comparison and evaluation of alternative designs

Recently uploaded (20)

PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PPTX
PPH.pptx obstetrics and gynecology in nursing
PPTX
Institutional Correction lecture only . . .
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
 
PDF
Pre independence Education in Inndia.pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
 
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
Cell Structure & Organelles in detailed.
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
Cell Types and Its function , kingdom of life
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PPH.pptx obstetrics and gynecology in nursing
Institutional Correction lecture only . . .
VCE English Exam - Section C Student Revision Booklet
Week 4 Term 3 Study Techniques revisited.pptx
 
Pre independence Education in Inndia.pdf
Microbial diseases, their pathogenesis and prophylaxis
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
 
102 student loan defaulters named and shamed – Is someone you know on the list?
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Cell Structure & Organelles in detailed.
STATICS OF THE RIGID BODIES Hibbelers.pdf
O7-L3 Supply Chain Operations - ICLT Program
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
2.FourierTransform-ShortQuestionswithAnswers.pdf
Anesthesia in Laparoscopic Surgery in India
Cell Types and Its function , kingdom of life
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
human mycosis Human fungal infections are called human mycosis..pptx

Random number generation

  • 1. RANDOM NUMBER GENERATION Lecture Notes: Chapter 8
  • 2. Properties of Random Numbers Uniformity Independence
  • 3. Characteristics: Continuous uniform distribution between 0 to 1. If the interval (0,1) is divided into n classes, n/n. The probability of observing a particular value is independent of previous numbers.
  • 4. Psuedo-Random Numbers: A sequence of numbers between 0 to 1 which simulates the ideal properties of uniform distribution and independence as closely as possible.
  • 5. Possible errors of Psuedo-Random Numbers Generated numbers may not be uniformly distributed Numbers may be discrete valued instead of continuous Mean and variance may be too high or too low Cyclic variations may occur such as autocorrelation, successive numbers, groupings of numbers
  • 6. Characteristics of Routines (Generators): Fast Portable Long cycle Replicable Imitate randomness
  • 7. Techniques for Generating Psuedo-Random Numbers Mid square method Mid product method Linear Congruential method Combined Congruential method
  • 8. Linear Congruential method proposed by Lehmer (1951) produces a sequence of integers between 0 to m-1 if c = 0, multiplicative Congruential method if c is not equal 0, mixed Congruential method Where X 0 = seed X i = random integer C = increment A = constant multiplier M = modulus R i = random numbers = X i / m
  • 9. Combined Congruential method combination of two or more multiplicative congruential generators
  • 10. Hypothesis Tests for Random Numbers Hypothesis when testing for uniformity: Hypothesis when testing for independence:
  • 11. Test for Random Numbers: Frequency test Kolmogorov-Smirnov test Chi-square test Runs test Runs up Runs down Runs above the mean Runs below the mean Autocorrelation test Gap test Poker test
  • 12. Other Tests Good’s Serial Test [1953, 1967] Median-Spectrum Test [Cox and Lewis, 1966, Durbin, 1967] A Variance Heterogeneity Test [Cox and Lewis, 1966] Even with all these tests, it is still no guarantee that randomness is achieve