DiscoverIEE 475: Simulating Stochastic SystemsLecture E2 (2024-10-01): Random-Variate Generation
Lecture E2 (2024-10-01): Random-Variate Generation

Lecture E2 (2024-10-01): Random-Variate Generation

Update: 2024-10-01
Share

Description

In this lecture, we review pseudo-random number generation and then introduce random-variate generation by way of inverse-transform sampling. In particular, we start with a review of the two most important properties of a pseudo-random number generator (PRNG), uniformity and independence, and discuss statistically rigorous methods for testing for these two properties. For uniformity, we focus on a Chi-square/Chi-squared test for larger numbers of samples and a Kolmogorov–Smirnov (KS) test for smaller numbers of samples. For independence, we discuss autocorrelation tests and runs test, and then we demonstrate a runs above-and-below-the-mean test. We then shift to discussing inverse-transform sampling for continuous random variates and discrete random variates and how the resulting random-variate generators might be implemented in a tool like Rockwell Automation's Arena.

<iframe allowfullscreen="" class="BLOG_video_class" height="266" src="https://www.youtube.com/embed/Pj-mvR6yLs0" width="320" youtube-src-id="Pj-mvR6yLs0"></iframe>


Comments 
loading
In Channel
loading
00:00
00:00
1.0x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

Lecture E2 (2024-10-01): Random-Variate Generation

Lecture E2 (2024-10-01): Random-Variate Generation

Theodore P. Pavlic