© Robert J. Marks II ENGR 5345 Review of Probability & Random Variables.

Slides:



Advertisements
Similar presentations
Exponential Distribution
Advertisements

MOMENT GENERATING FUNCTION AND STATISTICAL DISTRIBUTIONS
Random Variables ECE460 Spring, 2012.
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.
Continuous Probability Distributions.  Experiments can lead to continuous responses i.e. values that do not have to be whole numbers. For example: height.
Statistics for Financial Engineering Part1: Probability Instructor: Youngju Lee MFE, Haas Business School University of California, Berkeley.
Review of Basic Probability and Statistics
Continuous Random Variables. For discrete random variables, we required that Y was limited to a finite (or countably infinite) set of values. Now, for.
Test 2 Stock Option Pricing
Probability Densities
Review.
Prof. Bart Selman Module Probability --- Part d)
TDC 369 / TDC 432 April 2, 2003 Greg Brewster. Topics Math Review Probability –Distributions –Random Variables –Expected Values.
1 Review of Probability Theory [Source: Stanford University]
Introduction Experiment  measurement Random component  the measurement might differ in day-to-day replicates because of small variations.
Probability and Statistics Review
A random variable that has the following pmf is said to be a binomial random variable with parameters n, p The Binomial random variable.
Probability Distributions Random Variables: Finite and Continuous A review MAT174, Spring 2004.
2. Random variables  Introduction  Distribution of a random variable  Distribution function properties  Discrete random variables  Point mass  Discrete.
Important Random Variables EE570: Stochastic Processes Dr. Muqaiebl Based on notes of Pillai See also
Probability Distributions Random Variables: Finite and Continuous Distribution Functions Expected value April 3 – 10, 2003.
3-1 Introduction Experiment Random Random experiment.
The Erik Jonsson School of Engineering and Computer Science Chapter 2 pp William J. Pervin The University of Texas at Dallas Richardson, Texas.
Discrete Random Variables and Probability Distributions
Chapter 21 Random Variables Discrete: Bernoulli, Binomial, Geometric, Poisson Continuous: Uniform, Exponential, Gamma, Normal Expectation & Variance, Joint.
4-1 Continuous Random Variables 4-2 Probability Distributions and Probability Density Functions Figure 4-1 Density function of a loading on a long,
Hamid R. Rabiee Fall 2009 Stochastic Processes Review of Elementary Probability Lecture I.
Prof. SankarReview of Random Process1 Probability Sample Space (S) –Collection of all possible outcomes of a random experiment Sample Point –Each outcome.
1 Performance Evaluation of Computer Systems By Behzad Akbari Tarbiat Modares University Spring 2009 Introduction to Probabilities: Discrete Random Variables.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved.
CPSC 531: Probability Review1 CPSC 531:Distributions Instructor: Anirban Mahanti Office: ICT Class Location: TRB 101.
Chapter 5 Statistical Models in Simulation
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.
Chapter 3 Basic Concepts in Statistics and Probability
Random Variables & Probability Distributions Outcomes of experiments are, in part, random E.g. Let X 7 be the gender of the 7 th randomly selected student.
2.1 Random Variable Concept Given an experiment defined by a sample space S with elements s, we assign a real number to every s according to some rule.
PROBABILITY & STATISTICAL INFERENCE LECTURE 3 MSc in Computing (Data Analytics)
Statistics for Engineer Week II and Week III: Random Variables and Probability Distribution.
Moment Generating Functions
Random Variables and Stochastic Processes –
CPSC 531: Probability Review1 CPSC 531:Probability & Statistics: Review II Instructor: Anirban Mahanti Office: ICT 745
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}.
One Random Variable Random Process.
STA347 - week 31 Random Variables Example: We roll a fair die 6 times. Suppose we are interested in the number of 5’s in the 6 rolls. Let X = number of.
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.
EE 5345 Multiple Random Variables
1 3. Random Variables Let ( , F, P) be a probability model for an experiment, and X a function that maps every to a unique point the set of real numbers.
1 3. Random Variables Let ( , F, P) be a probability model for an experiment, and X a function that maps every to a unique point the set of real numbers.
Exam 2: Rules Section 2.1 Bring a cheat sheet. One page 2 sides. Bring a calculator. Bring your book to use the tables in the back.
Probability (outcome k) = Relative Frequency of k
Random Variables Example:
G. Cowan Lectures on Statistical Data Analysis Lecture 4 page 1 Statistical Data Analysis: Lecture 4 1Probability, Bayes’ theorem 2Random variables and.
Discrete Random Variables. Introduction In previous lectures we established a foundation of the probability theory; we applied the probability theory.
Laplace, Pierre Simon de ( )
Chapter 31Introduction to Statistical Quality Control, 7th Edition by Douglas C. Montgomery. Copyright (c) 2012 John Wiley & Sons, Inc.
Sums of Random Variables and Long-Term Averages Sums of R.V. ‘s S n = X 1 + X X n of course.
Probability & Random Variables
Random Variables By: 1.
Week 61 Poisson Processes Model for times of occurrences (“arrivals”) of rare phenomena where λ – average number of arrivals per time period. X – number.
4-1 Continuous Random Variables 4-2 Probability Distributions and Probability Density Functions Figure 4-1 Density function of a loading on a long,
3. Random Variables (Fig.3.1)
Appendix A: Probability Theory
Probability Review for Financial Engineers
3. Random Variables Let (, F, P) be a probability model for an experiment, and X a function that maps every to a unique point.
Chapter 3 : Random Variables
copyright Robert J. Marks II
1/2555 สมศักดิ์ ศิวดำรงพงศ์
Presentation transcript:

© Robert J. Marks II ENGR 5345 Review of Probability & Random Variables

© Robert J. Marks II Random Variables Assign each event outcome in S to a real number (random variable), X. Ex:heads  X=12 tails  X=47 If the event outcome is numerical, equating the outcome to X is often convenient.

© Robert J. Marks II Random Variables (cont) Each RV, X, has a probability equal to the event to which it is assigned. The Cumulative Distribution Function (CDF)

© Robert J. Marks II CDF Properties 1. Since the CDF is a probability, 2. The CDF is monotonically increasing (a.k.a. nondecreasing) Note:, 1 x

© Robert J. Marks II CDF Properties (cont) 3. The CDF is continuous from the right 1 x

© Robert J. Marks II Probabilities from CDF’s x ba p

© Robert J. Marks II Probability Density Function

© Robert J. Marks II PDF Properties fX(x)fX(x) x A

© Robert J. Marks II Histograms as PDF’s A histogram normalized to unit area is an empirical pdf. N = # data points hN(x)hN(x) x 

© Robert J. Marks II Conditional CDF’s

© Robert J. Marks II Conditional pdf’s

© Robert J. Marks II Discrete RV’s Discrete RV’s have only integer outputs. impulse function (Dirac delta) Probability mass function (pmf) Beware of deltas on the edge of integration when evaluating

© Robert J. Marks II Common RV PDF’s Bernoulli, p = probability of success Jacob Bernoulli Born: 27 Dec 1654 in Basel, Switzerland Died: 16 Aug 1705 in Basel, Switzerland fX(x)fX(x) x 10 p q=1-p Pictures in this presentation from

© Robert J. Marks II Common RV PDF’s Binomial ( n repeated Bernoulli trials) = binomial coefficient (Pascal’s triangle)

© Robert J. Marks II Binomial RV ( p =0.1) vs. n k n

© Robert J. Marks II Binomial RV ( p =0.2) vs. n k n

© Robert J. Marks II Binomial RV ( p =0.5) vs. n k n

© Robert J. Marks II Geometric RV Repeat a Bernoulli trial until a success occurs. The number of trials is a geometric random variable.

© Robert J. Marks II Negative Binomial (Pascal) RV Repeat Bernoulli trials. Let X =number of trials to achieve r th success. Blaise Pascal Born: 19 June 1623 in Clermont France Died: 19 Aug 1662 in Paris, France

© Robert J. Marks II Pascal Blaise Pascal ( ) PASCAL:PASCAL: a high level programming language designed by Niklaus Wirth in 1974 as a teaching language for computer scientists. Pascal’s Law:Pascal’s Law: the pressure in a fluid is transmitted equally to all distances and in all directions. PASCAL:PASCAL: A unit of pressure. 1 bar equals 100,000 Pascal Pascal’s triangle.Pascal’s triangle. ( )

© Robert J. Marks II Pascal Pascal: Computer Engineer In 1642, Pascal began to create a machine that would be similar to an everyday calculator to help his father with his accounting job. In 1642, Pascal began to create a machine that would be similar to an everyday calculator to help his father with his accounting job. He finished the final model in 1645.He finished the final model in He presented one to Queen Christina of Sweden and he was allowed a monopoly over it by royal decree.He presented one to Queen Christina of Sweden and he was allowed a monopoly over it by royal decree.

© Robert J. Marks II Pascal’s Wager… Pascal, a Christian theist still studied in philosophy and religion, communicated theological concepts wrapped in the interest of his contemporaries’ interest in probability and gambling. "Let us examine this point and say, "God is, or He is not."... What will you wager?... Let us weigh the gain and loss of wagering that God is... there is here an infinity of an infinitely happy life to gain, a chance of gain against a finite number of chances of loss, and what you stake is finite... every player stakes a certainty to gain an uncertainty, and yet he stakes a finite certainty to gain a finite uncertainty, without transgressing against reason... the uncertainty of the gain is proportioned to the certainty of the stake according to the proportion of the chances of gain and loss.... And so our proposition is of infinite force, when there is the finite to stake in a game where there are equal risks of gain and loss, and the infinite to gain.” Article 223 of Pensees

© Robert J. Marks II Poisson RV Number of random points on a line segment. Approximation of binomial random variable. Siméon Denis Poisson Born: 21 June 1781 in Pithiviers, France Died: 25 April 1840 in Sceaux, France

© Robert J. Marks II Discrete Uniform RV Describes die RV with a =1 and b =6. Round of money to the nearest dollar results in an error that is uniform & discrete.

© Robert J. Marks II Continuous Uniform RV Describes random angle with a=0 and b=2  Rounding & truncation errors

© Robert J. Marks II Gaussian (normal) RV Limiting distribution in Central Limit Theorem 1803 Johann Carl Friedrich Gauss Born: 30 April 1777 in Brunswick, Duchy of Brunswick (Germany) Died: 23 Feb 1855 in Göttingen, Hanover (Germany)

© Robert J. Marks II Gaussian (normal) RV 22 fX(x)fX(x) x

© Robert J. Marks II Gaussian (normal) CDF

© Robert J. Marks II Gaussian Error Function

© Robert J. Marks II Matlab erf ERF Error function. Y = ERF(X) is the error function for each element of X. X must be real. The error function is defined as: erf(x) = 2/sqrt(pi) * integral from 0 to x of exp(-t^2) dt. Conversion Formula?

© Robert J. Marks II Exponential RV  (x)= unit step Commonly used model in reliability for constant failure rates.

© Robert J. Marks II The Ageless Exponential RV 1. Let X be how long you live after you’re born and 2. Thus: 3. You’ve lived y years. 4. Good as NEW!

© Robert J. Marks II Cauchy RV Augustin Louis Cauchy Born: 21 Aug 1789 in Paris, France Died: 23 May 1857 in Sceaux, France “Loose Cannon” RV Ratio of two Gaussians is Cauchy Displays strange properties - undefined mean and  second moment.

© Robert J. Marks II Cauchy RV

© Robert J. Marks II Laplace RV Pierre-Simon Laplace Born: 23 March 1749 in Beaumont-en-Auge, Normandy, France Died: 5 March 1827 in Paris, France

© Robert J. Marks II Pierre Simon Laplace ( ). Namesakes: Laplace transformLaplace transform Laplace NoiseLaplace Noise Laplace helped to establish the metric system.Laplace helped to establish the metric system. Laplacian OperatorLaplacian Operator Napoleon appointed Laplace Minister of the Interior but removed him from office after only six weeks “because he brought the spirit of the infinitely small into the government.”

© Robert J. Marks II Gamma RV Gamma Function Erlang RV: Gamma for a=n

© Robert J. Marks II Other RV’s Weibull  2 (chi-squared) Wallodi Weibull

© Robert J. Marks II Other RV’s F Student’s t William Sealey Gosset a.k.a. Student t Born: 13 June 1876 in Canterbury, England Died: 16 Oct 1937 in Beaconsfield, England

© Robert J. Marks II Other RV’s Rice Raleigh Pareto

© Robert J. Marks II Other RVs Gamma Function Erlang RV: Gamma for a=n

© Robert J. Marks II Mixed Random Variables Part Continuous – Part Discrete. Example: A traffic light is red three minutes, then green two. You come on this traffic light. Let T = the time you need to wait at the light. T is a mixed random variable.

© Robert J. Marks II Traffic Light t