Statistical Testing of Random Number Generators Juan Soto 301/975-4641.

Slides:



Advertisements
Similar presentations
Random Number Generation & Testing Juan Soto 301/
Advertisements

1 A Statistical Test Suite for Random and Pseudorandom Number Generators for Cryptographic Application This contribution discusses some aspects of testing.
Clustering V. Outline Validating clustering results Randomization tests.
1 Hypothesis testing. 2 A common aim in many studies is to check whether the data agree with certain predictions. These predictions are hypotheses about.
CORE 1 Patterns in Chance. Daily Starter Begin Handout.
+ Random Number Tests. + Load balancing (computing) Load balancing is a computer networking method for distributing workloads across multiple computing.
Stat 301 – Day 17 Tests of Significance. Last Time – Sampling cont. Different types of sampling and nonsampling errors  Can only judge sampling bias.
Hypothesis testing Week 10 Lecture 2.
HYPOTHESIS TESTING Four Steps Statistical Significance Outcomes Sampling Distributions.
Midterm Review. Review of previous weeks Pairwise sequence alignment Scoring matrices PAM, BLOSUM, Dynamic programming Needleman-Wunsch (Global) Semi-global.
1 Practicals, Methodology & Statistics II Laura McAvinue School of Psychology Trinity College Dublin.
PSYC512: Research Methods PSYC512: Research Methods Lecture 19 Brian P. Dyre University of Idaho.
Chapter 14 Simulation. Monte Carlo Process Statistical Analysis of Simulation Results Verification of the Simulation Model Computer Simulation with Excel.
Sequence comparison: Significance of similarity scores Genome 559: Introduction to Statistical and Computational Genomics Prof. James H. Thomas.
Statistical hypothesis testing – Inferential statistics I.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 11 Analyzing the Association Between Categorical Variables Section 11.5 Small Sample.
One Sample  M ean μ, Variance σ 2, Proportion π Two Samples  M eans, Variances, Proportions μ1 vs. μ2 σ12 vs. σ22 π1 vs. π Multiple.
Copyright © Cengage Learning. All rights reserved. 11 Applications of Chi-Square.
1 © Lecture note 3 Hypothesis Testing MAKE HYPOTHESIS ©
Claims about a Population Mean when σ is Known Objective: test a claim.
Tests of significance & hypothesis testing Dr. Omar Al Jadaan Assistant Professor – Computer Science & Mathematics.
Means Tests Hypothesis Testing Assumptions Testing (Normality)
+ Chapter 9 Summary. + Section 9.1 Significance Tests: The Basics After this section, you should be able to… STATE correct hypotheses for a significance.
Statistical Review We will be working with two types of probability distributions: Discrete distributions –If the random variable of interest can take.
Case Study - Relative Risk and Odds Ratio John Snow’s Cholera Investigations.
● Final exam Wednesday, 6/10, 11:30-2:30. ● Bring your own blue books ● Closed book. Calculators and 2-page cheat sheet allowed. No cell phone/computer.
Chapter 7 Random-Number Generation
Tests for Random Numbers Dr. Akram Ibrahim Aly Lecture (9)
One-Sample Tests of Hypothesis
Sequential Expected Utility Theory: Sequential Sampling in Economic Decision Making under Risk Andrea Isoni Andrea Isoni (Warwick) Graham Loomes Graham.
A Monte Carlo Approach to Estimating Impacts from Highly Intermittent Sources on Short Term Standards Clint Bowman and Ranil Dhammapala, State of Washington,
One-Sample Tests of Hypothesis Chapter 10 McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved.
Hypothesis Testing with One Sample Chapter 7. § 7.2 Hypothesis Testing for the Mean (Large Samples)
Biostatistics Class 6 Hypothesis Testing: One-Sample Inference 2/29/2000.
Don’t cry because it is all over, smile because it happened.
An Embedded True Random Number Generator for FPGAs Bebek, Jerry Paul Kohlbrenner Lockheed Martin 3201 Jermantown Road Fairfax, VA 22030, USA
4.3 Binomial Distributions. Red Tiles and Green Tiles in a Row You have 4 red tiles and 3 green tiles. You need to select 4 tiles. Repeated use of a tiles.
Statistics - methodology for collecting, analyzing, interpreting and drawing conclusions from collected data Anastasia Kadina GM presentation 6/15/2015.
Confidence intervals and hypothesis testing Petter Mostad
One-Sample Tests of Hypothesis. Hypothesis and Hypothesis Testing HYPOTHESIS A statement about the value of a population parameter developed for the purpose.
Testing Hypothesis That Data Fit a Given Probability Distribution Problem: We have a sample of size n. Determine if the data fits a probability distribution.
Monté Carlo Simulation  Understand the concept of Monté Carlo Simulation  Learn how to use Monté Carlo Simulation to make good decisions  Learn how.
Optimal Bayes Classification
Randomness Test Fall 2012 By Yaohang Li, Ph.D.. Review Last Class –Random Number Generation –Uniform Distribution This Class –Test of Randomness –Chi.
Tests of Random Number Generators
1 When we free ourselves of desire, we will know serenity and freedom.
Essential Statistics Chapter 91 Introducing Probability.
Chapter 10 Introducing Probability BPS - 5th Ed. Chapter 101.
Chapter Outline Goodness of Fit test Test of Independence.
Copyright © Cengage Learning. All rights reserved. Chi-Square and F Distributions 10.
Comp. Genomics Recitation 10 4/7/09 Differential expression detection.
© Copyright McGraw-Hill 2004
One-Sample Tests of Hypothesis Chapter 10 McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Simulation in Healthcare Ozcan: Chapter 15 ISE 491 Fall 2009 Dr. Burtner.
The statistics of pairwise alignment BMI/CS 576 Colin Dewey Fall 2015.
MAT 4830 Mathematical Modeling 04 Monte Carlo Integrations
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 12 Tests of Goodness of Fit and Independence n Goodness of Fit Test: A Multinomial.
Testing a Single Mean Module 16. Tests of Significance Confidence intervals are used to estimate a population parameter. Tests of Significance or Hypothesis.
Assessing the significance of (data mining) results Data D, an algorithm A Beautiful result A (D) But: what does it mean? How to determine whether the.
Hypothesis Testing Steps for the Rejection Region Method State H 1 and State H 0 State the Test Statistic and its sampling distribution (normal or t) Determine.
The Idea of the Statistical Test. A statistical test evaluates the "fit" of a hypothesis to a sample.
Hypothesis Testing. Statistical Inference – dealing with parameter and model uncertainty  Confidence Intervals (credible intervals)  Hypothesis Tests.
Rejection Regions and Critical Values Rejection region (or critical region) The range of values for which the null hypothesis is not probable. If a test.
Dieharder An Open Source Random Number Generator Tester Robert G. Brown Physics Department Duke TechExpo 2011.
One-Sample Tests of Hypothesis
Basic simulation methodology
STAT 312 Chapter 7 - Statistical Intervals Based on a Single Sample
Unit 6 Probability.
One-Sample Tests of Hypothesis
Probability: The Study of Randomness
Presentation transcript:

Statistical Testing of Random Number Generators Juan Soto 301/

Outline Statistical Hypotheses Testing The NIST Statistical Test Suite Repeated Trial Assessment Current Work Items Summary

Statistical Test Suites

Statistical Hypotheses Testing: Evaluation Approaches Threshold Values –A binary sequence fails a test if the test statistic falls below a pre-specified threshold value. –e.g., Sequence Complexity Test (Crypt-XS) Probability Values (P-values) –A binary sequence fails a test if the test statistic falls below a preset significance level. –e.g., Each statistical test in the NIST STS

The NIST Statistical Test Suite NIST Framework –Given a finite length binary sequence, S, compute a test statistic and its corresponding P-value. Application of the Statistical Tests –50-60 P-values per binary sequence. –Very small P-values indicate failure of a test.

The NIST Statistical Test Suite Strings Viewed As Random Walks Look for Patterns Complexity/ Compression

Repeated Trial Assessment Numerical Experiments –Samples of 300 binary sequences (10 6 bits/sequence). –Apply 5 statistical tests 1 = Frequency, 2 = Cusum, 3 = Runs, 4 = Spectral, 5 = ApEn. Analysis of Empirical Results –1500 P-values per sample. –In theory, P-values should be uniformly distributed. –% of Passing Sequences:

BBS PRNG Empirical Results

CCG PRNG Empirical Results

Alternate Decision Rule

Current Work Items Peer review process is underway Independence of the statistical tests Development of new statistical tests –Long Sequences - Ising Model Based Tests –Modification for Short Sequences

Correlation Matrix

Summary New metrics to investigate the randomness of cryptographic RNGs. Illustrated numerical experiments conducted utilizing the NIST STS. Addressed the analysis of empirical results.

Questions? Comments?