Save this video free

IEE 475: Lecture E2 (2026-09-29): Random-Variate Generation

Ted Pavlic · 1:08:34 · Watch on YouTube

Part of Arizona State University IEE 475 Simulating Stochastic Systems. See all 22 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

IEE 475 Lecture E2 covers how to test pseudo-random number generators for uniformity and independence, then convert uniform draws into distribution-specific samples using inverse transforms. It works through chi-square and Kolmogorov–Smirnov tests, a runs-above-and-below-the-mean test, Arena seed streams, and inverse CDF derivations for exponential and triangular distributions.

Key takeaways

Chapters

0:00 Homework D2: Histogram the Generated Variates
3:00 Midterm Format, Schedule, and Practice Resources
7:55 Distribution Vocabulary and the Inverse-Transform Idea
11:00 PRNG Seeds and Named Streams in Arena
16:47 The Two Required PRNG Properties: Uniformity and Independence
22:33 Chi-Square Uniformity Test with Four Equal-Width Bins
31:39 Kolmogorov–Smirnov Test for Small Samples
39:53 Interpreting Test Results and Moving Independence Checks to Software
45:36 Runs Above and Below the Mean: Convert Draws into a Binary Sequence
53:57 Runs-Test Z Score and Combined Linear Congruential Generators
56:43 Arena Distribution Expressions and Inverse-Transform Sampling
58:18 Exponential Variates from the Inverse CDF
1:02:23 Deriving the Triangular Distribution CDF
1:05:40 Invert the Triangular CDF and Select Valid Square-Root Branches

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:01 Okay, so this is the last um lecture content that we need before the midterm. So uh after today where we're going to talk about random variant generation, that's the last topic I'm expecting you to to be tested on on the midterm. So then um after today, the next lecture on Thursday will be the midterm review and then next week is the midterm week. So homework C2 solutions have been released, so you can check those out. Homework D2 is out. It's posted. It's due Saturday. Solution sets will be distributed on Sunday, so before the midterm opens. Um some uh if you're having, you know, nowadays um histograms have gotten a little easier to put together in Excel and so on. But if you're having issues with putting together histograms, there are some instructions that are embedded right in

0:48 the top of the homework assignment. Um make sure that in your histogram, you histogram the random variant and not the random numbers. So if your histogram comes out and it's just flat uniform, you're probably histogramming the wrong uh column. So you might have created like say a column in Excel, one of random numbers, the other with your random variants, and you might have histogram the wrong one because it shouldn't just be flat. That's the distribution we'd expect sort of on the inputs, but on the outputs it should look like the probability density function. So look out for that common issue. Um you know the submission doc, docx or pdf format. Um, do not submit uh a spreadsheet, just a pure spreadsheet with thousands and thousands of numbers and assume that that's good enough because that would require the TA to

1:35 download your spreadsheet and then the TA to put together the histogram and so

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Ted Pavlic.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.