Probability Theory Overview and Analysis of Randomized Algorithms

Slides:



Advertisements
Similar presentations
Special random variables Chapter 5 Some discrete or continuous probability distributions.
Advertisements

Let X 1, X 2,..., X n be a set of independent random variables having a common distribution, and let E[ X i ] = . then, with probability 1 Strong law.
Important Random Variables Binomial: S X = { 0,1,2,..., n} Geometric: S X = { 0,1,2,... } Poisson: S X = { 0,1,2,... }
Random Variable A random variable X is a function that assign a real number, X(ζ), to each outcome ζ in the sample space of a random experiment. Domain.
Randomized Algorithms Randomized Algorithms CS648 Lecture 8 Tools for bounding deviation of a random variable Markov’s Inequality Chernoff Bound Lecture.
Chapter 1 Probability Theory (i) : One Random Variable
Probability Theory Part 2: Random Variables. Random Variables  The Notion of a Random Variable The outcome is not always a number Assign a numerical.
Prof. Bart Selman Module Probability --- Part d)
Chapter 6 Continuous Random Variables and Probability Distributions
TDC 369 / TDC 432 April 2, 2003 Greg Brewster. Topics Math Review Probability –Distributions –Random Variables –Expected Values.
Probability theory 2010 Outline  The need for transforms  Probability-generating function  Moment-generating function  Characteristic function  Applications.
CSE 221: Probabilistic Analysis of Computer Systems Topics covered: Continuous random variables Uniform and Normal distribution (Sec. 3.1, )
A random variable that has the following pmf is said to be a binomial random variable with parameters n, p The Binomial random variable.
The moment generating function of random variable X is given by Moment generating function.
Continuous Random Variables and Probability Distributions
CSE 221: Probabilistic Analysis of Computer Systems Topics covered: Special discrete distributions Sec
Ya Bao Fundamentals of Communications theory1 Random signals and Processes ref: F. G. Stremler, Introduction to Communication Systems 3/e Probability All.
Chapter 21 Random Variables Discrete: Bernoulli, Binomial, Geometric, Poisson Continuous: Uniform, Exponential, Gamma, Normal Expectation & Variance, Joint.
Sampling Distributions  A statistic is random in value … it changes from sample to sample.  The probability distribution of a statistic is called a sampling.
CIS 2033 based on Dekking et al. A Modern Introduction to Probability and Statistics, 2007 Instructor Longin Jan Latecki Chapter 7: Expectation and variance.
Problem A newly married couple plans to have four children and would like to have three girls and a boy. What are the chances (probability) their desire.
PBG 650 Advanced Plant Breeding
Tch-prob1 Chap 3. Random Variables The outcome of a random experiment need not be a number. However, we are usually interested in some measurement or numeric.
The Binomial Distribution Permutations: How many different pairs of two items are possible from these four letters: L, M. N, P. L,M L,N L,P M,L M,N M,P.
Random Variables. A random variable X is a real valued function defined on the sample space, X : S  R. The set { s  S : X ( s )  [ a, b ] is an event}.
Search Algorithms Prepared by John Reif, Ph.D. Analysis of Algorithms.
ENGR 610 Applied Statistics Fall Week 3 Marshall University CITE Jack Smith.
Probability Theory Overview and Analysis of Randomized Algorithms Prepared by John Reif, Ph.D. Analysis of Algorithms.
BINOMIALDISTRIBUTION AND ITS APPLICATION. Binomial Distribution  The binomial probability density function –f(x) = n C x p x q n-x for x=0,1,2,3…,n for.
Discrete Probability Distributions. Random Variable Random variable is a variable whose value is subject to variations due to chance. A random variable.
Binomial Experiment A binomial experiment (also known as a Bernoulli trial) is a statistical experiment that has the following properties:
Chapter 12 Probability. Chapter 12 The probability of an occurrence is written as P(A) and is equal to.
Week11 Parameter, Statistic and Random Samples A parameter is a number that describes the population. It is a fixed number, but in practice we do not know.
Chapter 7 Sampling and Sampling Distributions ©. Simple Random Sample simple random sample Suppose that we want to select a sample of n objects from a.
Expectation for multivariate distributions. Definition Let X 1, X 2, …, X n denote n jointly distributed random variable with joint density function f(x.
Chapter 01 Probability and Stochastic Processes References: Wolff, Stochastic Modeling and the Theory of Queues, Chapter 1 Altiok, Performance Analysis.
Stats Probability Theory Summary. The sample Space, S The sample space, S, for a random phenomena is the set of all possible outcomes.
PROBABILITY AND STATISTICS FOR ENGINEERING Hossein Sameti Department of Computer Engineering Sharif University of Technology Mean, Variance, Moments and.
Probability Refresher COMP5416 Advanced Network Technologies.
Chapter 01 Probability and Stochastic Processes References: Wolff, Stochastic Modeling and the Theory of Queues, Chapter 1 Altiok, Performance Analysis.
Expectation. Let X denote a discrete random variable with probability function p(x) (probability density function f(x) if X is continuous) then the expected.
IE 300, Fall 2012 Richard Sowers IESE. 8/30/2012 Goals: Rules of Probability Counting Equally likely Some examples.
Week 121 Law of Large Numbers Toss a coin n times. Suppose X i ’s are Bernoulli random variables with p = ½ and E(X i ) = ½. The proportion of heads is.
1 Probability and Statistical Inference (9th Edition) Chapter 5 (Part 2/2) Distributions of Functions of Random Variables November 25, 2015.
1 6. Mean, Variance, Moments and Characteristic Functions For a r.v X, its p.d.f represents complete information about it, and for any Borel set B on the.
Chapter 6 Large Random Samples Weiqi Luo ( 骆伟祺 ) School of Data & Computer Science Sun Yat-Sen University :
2.2 Discrete Random Variables 2.2 Discrete random variables Definition 2.2 –P27 Definition 2.3 –P27.
Andrey Markov, public domain image
Pattern Recognition Probability Review
Discrete Probability Distributions
Probability for Machine Learning
Appendix A: Probability Theory
Outline Introduction Signal, random variable, random process and spectra Analog modulation Analog to digital conversion Digital transmission through baseband.
3.1 Expectation Expectation Example
Normal Density Curve. Normal Density Curve 68 % 95 % 99.7 %
Probability & Statistics Probability Theory Mathematical Probability Models Event Relationships Distributions of Random Variables Continuous Random.
Probability Review for Financial Engineers
ASV Chapters 1 - Sample Spaces and Probabilities
Chernoff bounds The Chernoff bound for a random variable X is
Tomado del libro Cormen
Chapter 3 : Random Variables
Bernoulli Trials Two Possible Outcomes Trials are independent.
Further Topics on Random Variables: 1
Discrete Random Variables: Basics
Discrete Mathematics and its Applications Lecture 5 – Random graphs
Discrete Random Variables: Basics
Berlin Chen Department of Computer Science & Information Engineering
Each Distribution for Random Variables Has:
Discrete Random Variables: Basics
Moments of Random Variables
Presentation transcript:

Probability Theory Overview and Analysis of Randomized Algorithms Analysis of Algorithms Prepared by John Reif, Ph.D.

Probability Theory Topics Random Variables: Binomial and Geometric Useful Probabilistic Bounds and Inequalities

Readings Main Reading Selections: CLR, Chapter 5 and Appendix C

Probability Measures A probability measure (Prob) is a mapping from a set of events to the reals such that: For any event A 0 < Prob(A) < 1 Prob (all possible events) = 1 If A, B are mutually exclusive events, then Prob(A  B) = Prob (A) + Prob (B)

Conditional Probability Define

Bayes’ Theorem If A1, …, An are mutually exclusive and contain all events then

Random Variable A (Over Real Numbers) Density Function

Random Variable A (cont’d) Prob Distribution Function

Random Variable A (cont’d) If for Random Variables A,B Then “A upper bounds B” and “B lower bounds A”

Expectation of Random Variable A Ā is also called “average of A” and “mean of A” = μA

Variance of Random Variable A

Variance of Random Variable A (cont’d)

Discrete Random Variable A

Discrete Random Variable A (cont’d)

Discrete Random Variable A Over Nonnegative Numbers Expectation

Pair-Wise Independent Random Variables A,B independent if Prob(A ∧ B) = Prob(A) * Prob(B) Equivalent definition of independence

Bounding Numbers of Permutations n! = n * (n-1) * 2 * 1 = number of permutations of n objects Stirling’s formula n! = f(n) (1+o(1)), where

Bounding Numbers of Permutations (cont’d) Note Tighter bound = number of permutations of n objects taken k at a time

Bounding Numbers of Combinations = number of (unordered) combinations of n objects taken k at a time Bounds (due to Erdos & Spencer, p. 18)

Bernoulli Variable Ai is 1 with prob P and 0 with prob 1-P Binomial Variable B is sum of n independent Bernoulli variables Ai each with some probability p

B is Binomial Variable with Parameters n,p

B is Binomial Variable with Parameters n,p (cont’d)

Poisson Trial Ai is 1 with prob Pi and 0 with prob 1-Pi Suppose B’ is the sum of n independent Poisson trials Ai with probability Pi for i > 1, …, n

Hoeffding’s Theorem B’ is upper bounded by a Binomial Variable B Parameters n,p where

Geometric Variable V parameter p GEOMETRIC parameter p V 0 loop with probability 1-p exit procedure begin goto ¬

Probabilistic Inequalities For Random Variable A

Markov and Chebychev Probabilistic Inequalities Markov Inequality (uses only mean) Chebychev Inequality (uses mean and variance)

Example of use of Markov and Chebychev Probabilistic Inequalities If B is a Binomial with parameters n,p

Gaussian Density Function

Normal Distribution Bounds x > 0 (Feller, p. 175)

Sums of Independently Distributed Variables Let Sn be the sum of n independently distributed variables A1, …, An Each with mean and variance So Sn has mean μ and variance σ2

Strong Law of Large Numbers: Limiting to Normal Distribution The probability density function of to normal distribution Φ(x) Hence Prob

Strong Law of Large Numbers (cont’d) So Prob (since 1- Φ(x) < Ψ(x)/x)

Moment Generating Functions and Chernoff Bounds Advanced Material Moment Generating Functions and Chernoff Bounds

Moments of Random Variable A (cont’d) n’th Moments of Random Variable A Moment generating function

Moments of Random Variable A (cont’d) Note S is a formal parameter

Moments of Discrete Random Variable A n’th moment

Probability Generating Function of Discrete Random Variable A

Moments of AND of Independent Random Variables If A1, …, An independent with same distribution

Generating Function of Binomial Variable B with Parameters n,p Interesting fact

Generating Function of Geometric Variable with parameter p

Chernoff Bound of Random Variable A Uses all moments Uses moment generating function By setting x = ɣ’ (s) 1st derivative minimizes bounds

Chernoff Bound of Discrete Random Variable A Choose z = z0 to minimize above bound Need Probability Generating function

Chernoff Bounds for Binomial B with parameters n,p Above mean x > μ

Chernoff Bounds for Binomial B with parameters n,p (cont’d) Below mean x < μ

Anguin-Valiant’s Bounds for Binomial B with Parameters n,p Just above mean Just below mean

Anguin-Valiant’s Bounds for Binomial B with Parameters n,p (cont’d) Tails are bounded by Normal distributions

Binomial Variable B with Parameters p,N and Expectation μ= np By Chernoff Bound for p < ½ Raghavan-Spencer bound for any ∂ > 0

Prepared by John Reif, Ph.D. Probability Theory Analysis of Algorithms Prepared by John Reif, Ph.D.