220 likes | 299 Views
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License . CS 312: Algorithm Analysis. Lecture #11: Review of Basic Probability Theory. Slides by: Eric Ringger. Announcements. Project #2 Due: today Code Reviews are good Project #3
E N D
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License. CS 312: Algorithm Analysis Lecture #11: Review of Basic Probability Theory Slides by: Eric Ringger
Announcements • Project #2 • Due: today • Code Reviews are good • Project #3 • Help session: Tuesday at 5pm • 1066 TMCB
Objectives • Learn important ideas from probability theory • Prepare for the proof of the average case analysis of Quicksort
Average Case Analysis • We know: • Quicksort takes in the worst case • and in the best case. • How would you approach an average case analysis of Quicksort?
Average Case Analysis • How would you approach an average case analysis?
Basic Probability Theory We need the following ideas: • Samples / Outcomes • Events • Probability Measures • Random Variables • Values of Random Variables • Expected value of random variable
Values of Random Variables • We speak of values of x (in the range) as “events”, just as we did for subsets of the domain.
Questions? • Samples / Outcomes • Events • Probability Measures • Random Variables • Values of Random Variables • Expected value of random variable
Assignment • HW #8 – updated on schedule • Send me email with your chosen theorem