ST2004 Week 8 Probability Distributions

Size: px
Start display at page:

Download "ST2004 Week 8 Probability Distributions"

Transcription

1 ST004 Week 8 Probability Distributions Mathematical models for distributions The language of distributions Expected Values and Variances Law of Large Numbers ST004 0 Week 8

2 Probability Distributions Random Variable Y a name Two lists: (i) poss values y (ii) ass. probs Tabulated, or Defined by a Formula Discrete or Continuous Expected Value of Y (or a function g( ) of Y) Weighted Avg of poss values y (or g(y)) Summation or Integral ST004 0 Week 8

3 Prob Dists; cdf, pmf, pdf Two lists: possibilities and probabilities Probs can be via cdf cum prob dist functions Pr(Y y) OR if discrete (ie step function cdf) by pmf prob mass functions Pr(Y=y) if continuous, (smooth cdf) by pdf prob density functions ( Pr(Y y) ) ST004 0 Week 8 3

4 Why Math Models? Infinitely long run Thought expts Insight/Reasoning Conditional prob Approximations MC algorithms Transforms Properties Efficiency Approximations Systems neither Uniformly random Indep Methods Counting Equally likely Calculus Continuous Probability Rules Events Conditional prob ST004 0 Week 8 4

5 Random variable Y: Random Variables and Probability Distributions Outcome of an expt transformation of one of more calls to RAND() Often - numeric - pair (or a set ) of numbers Probability Dist: Two lists: possibilities and probabilities Lists and functions can be explicitly tabulated or defined by some mathematical formula ST004 0 Week 8 Distribution? Replicate sims, transform and summarise OR Directly from transform via probability Alt, by approximation 5

6 Discrete Random Variables and Probability Distributions Poss y Pr(Y =y ) Pr(Y y ) Formal math statement for cdf int( y) y 6 6 FY ( y) 0 y y Pr(Y=y). 0.8 Pr(Yy). 0.8 Pr(Yy) ST004 0 Week 8 6

7 Sum of k dice via Recursion Numbers of combinations Sk Density f ( y) 7k 35k e y Adding stuff Adding Indep Stuff Normal distribution Central Limit Theorem ST004 0 Week 8 7

8 Sum k Dice To simulate S with one cl alto RAND() Exact Transform Recursion Probs p, 7 ; VarS e k ; Var k Sk Y NOR 6k LOOKUP RAND() with cum probs Approximate Transform E S Not E S k 35 from sim or pref theory 7 35k M. S. INV RAND() S ROUND 7k 35k Y k k p To compute: eg Probs, Long run avg, based on S k Skip simulation stage if poss Adding stuff Similar Electoral College votes for Obama Hard-drives available for Google Class Pension Age, given 0+ Random Walk Convergence rate LLN (avgs) ST004 0 Week 8 8

9 Mean k Dice: Density Plot k= probx k=0 probx Scaling Area = e x 7 35 k Averaging stuff Mean of 0 less variable than mean of St Dev of Sampling Dist of Means /k Normal distribution, CLT Density plot Scaled/ Smoothed Rel Freqs Theory later ST004 0 Week 8 9

10 Density Estimate Freq table: bins x 0,, x i, x & corresponding relative frequencies th k x k x k Start Start bin corresp to ( ), ( ) Rel Freq Start Start End Smoothed Rel Fr estimate of eq pdf f x ST004 0 Week 8 0

11 Cumulative Probs Simulation Direct k calls to RAND, k LOOKUPs Via exact cdf; call to RAND, LOOKUP Via app cdf + NORM.S.INV(RAND()) Cts Normal Approx ; Pr 7k 35k S k s x, variable of integration Alt : y, v, t, z,... xs e x dx NORM.S.DIST s, TRUE Theory later Inverting x y = norm.s.dist norm.s.inv Simpler but equivalent case x y=x^3 y^(/3) ST004 0 Week 8

12 Max k Dice Cum probs Pr(Mk i) 3 4 i i Pr(Mk=i) E Mk E (Mk)^ Var SD Event Identity M i All k scores i k k Hence prob calculation Pr Pr k i M i k 6 k i i M i 6 6 k Not Normal dist > rolls before "score i" k Closely related to Counting stuff Time to ST004 0 Week 8

13 Max k Dice As k, E M 6, SD M 0 k Why? Dice score constrained 6 Not Law of Large Numbers k ST004 0 Week 8 3

14 cdf If Y is numeric and scalar Most general form cum prob dist function, cdf Poss values y eg y =,, K, eg 0 y, eg y > 0 Probs Pr(Yy)=F(y) eg Y = Dice score F(y)= y/6; poss Y are y =,..6 (equiv S = Dice score F(s)= s/6; poss S are s =,..6) Pr(Yy) eg Y = RAND() F Y (y)= y; poss Y are 0 y X = 4Y + 0 F X (x)= 0.5(x-0) poss X are 0 x 4 ST004 0 Week 8 4

15 cdf and prob mass function, pmf Pr y Y y Pr Y y Pr Y y F y F y Y Dice Score Pr Y 5 PrY 5 PrY Pr Y Pr Y Pr Y Pr Y 6 p ( y) Prob mass function for Y Y Lists Pr( Y y) p ( y)for each poss value y of Y or eg ( ) Prob mass function for S S X p s S. x, s index for X, S; could equally use i, j... If no ambiguity, use simpler notation p( x), p( s) X Pr(Yy) pmf: risers ST004 0 Week 8 5

16 Linear Functions and Expected Values Special Case S g( Y ) ay b; ( a, b) constants ( )Pr Pr E S g y Y y ay b Y y all y all y Pr a y Pr Y y b Y y all y ae Y b all y S g( Y ) ay b ( a, b) constants Pr Var S ay b E ay b Y y all y Pr all y a Var Y [ ] Pr ay E ay Y y a Y E Y Y y all y Could use, instead of Pr( Y y), Pr( Y i), p ( y), p ( i), or even p( y) ST004 0 Week 8 6 Y Y

17 Linear Functions and Expected Values Special Case S g( Y ) ay b g( y)pry y ay bpry y ES all y all y Pr a y Pr Y y b Y y all y ae Y b all y X score single dice E[ X ] E[X 3] 0 7 Var[ X ] Var[X 3] o o C Temp C, F Temp F EF 9 5 SDF 9 E C SD C S g( Y ) ay b ( a, b) constants Var S ay b E ay b PrY y all y ay EaY PrY y a Y E all y a Var [ Y ] SD[ as] a SD[ S] Y PrY y ST004 0 Week 8 7 all y

18 Variance: Useful Formula S Y EY (const); py PrY y ES Special Case; ; Var Y all y all y y y p y y p... EY Compare y y py all y Sample Var = Sample Avg y - Sample Avg y y Confirm for S 3, M 3 Exp Val & Var Sample Avg & Var ST004 0 Week 8 8

19 Law of Large Numbers, Sample Size Note 7k 35k k ; VarS E S k Linear Function E S ; Var S ; SD S k k k k k k k k Law of Large Numbers,Convergence n n 7 35 E X ; SD X i i n n n Avg of n const at rate n ST004 0 Week 8 9

20 cdf F X (x) ;X=cts transf(rand()) Some simple cases t( ) non-decreasing function X t Y Y X Y X Y) eg ( ) 4 0; ; ln( A B C F Pr X Pr 4Y 0 Pr Y A A F x Pr X x Pr Y x 0 x 0 A A 4 4 F x Pr X x Y x Y x x 0 x B B F x Pr X x ln Y x Y e x ex; x0 C C 0x 4 ; ; ST004 0 Week 8 0

21 Prob density function, pdf Some simple cdf/pdf Pr X Pr X Pr X A A A df x Pr x X x B d x ; B f x dx dx x B f x ; 0 x B df Pr x X x C C dx x x d ex C x; 0 f x e x e x dx f C x Cts: cdf is smooth pdf is slope cdf is area under pdf ST004 0 Week 8

22 Continuous Probability Distributions Defined by math functions cdf F Y (y)= Pr(Y y) F(y) OK if not ambiguous continuous increasing pdf f(y) = rate of change of F(y) F(y) = indefinite integral of f(y) Prob is area under f(y) ST004 0 Week 8

23 0 Uniform Probability Dist F(y) Y ~ U(0,) pdf f ( y) probability density function rateof changeof cdf F( y) cdf F( y) areaunder pdf toleft of y Y equally likely to have any value in (0,) cdf eg Pr( Y 0.6) y 0 general F( y) Pr( Y y) y 0 y y 0 y 0 df( y) pdf f ( y) 0 y dy 0 y ST004 0 Week 8 3

24 F(y) Height 0.6 f(y) Uniform(0,) Probability Dist Area Slope Y ~ U(0,) Y equally likely to have any value in (0,) Flat Symmetric cdf 0 y 0 F( y) Pr( Y y) y 0 y y pdf 0 y 0 df( y) f ( y) 0 y dy 0 y ST004 0 Week 8 4

25 Generating Y~U(a,b) U = RAND() To generate Y uniform in (-, +3) U RAND() Y - 4U Y - 4 U g( U ) U ( Y ) g ( U ) Pr( Y y) Pr U ( y ) ( y ) 4 4 cdf F( y) ( y ) y 3 d pdf f ( y) ( y ) 4 dy y 3 ST004 0 Week 8 5

26 F(y) Ht = 0.86 Exponential Prob Dist Y ~ Exp( para ) Y 0 likely to be near 0 pdf f ( y) e y cdf F( y) e y f(y) 0 Area = 0.86 Skew Asymmetric Show by transform Y ln RAND() 0 ST004 0 Week 8 6

27 Normal Probability Dist Y ~N(0,) F(y)=Pr(Yy) Ht 0.84=Pr(Y) f(y) Bell-shaped Symmetric Area 0.84 Y ~ N(0,) Y likely to be "near" 0 pdf f ( y) e ST004 0 Week cdf F( y) Pr( Y y) f ( u) du transform Y y y NORM. S. DIST y, TRUE NORM. S. INV RAND() y = norm.s.dist norm.s.inv x

28 Simulating Cts Random Variables Defined System explicitly defined output var Y implicitly defined dist for output, eg F(y) RAND() t(rand()) System Output Defined Dist F(y) seek transformation Y = t(rand()) easy if know (code for) F - (y) See Tijms, 3 rd ed Sec 0.5 can be challenging esp if y is multivariate ST004 0 Week 8 8

29 Expected Vals for Cts Random Vars E[ Y ] y Pr Y y E[ Y ] y PrY y all y Pr( Y y) Pr Y in( y, y dy) f ( y) dy; f ( y) E[ Y ] yf ( y) dy all y df( y) dy Discrete case Continuous case As previously E[ ay b] ae[ Y ] b Var ay b a Var Y [ ] [ ] Var Y E Y E Y [ ] [ ] [ ] ST004 0 Week 8 9

30 Expected Vals for Cts Random Vars Var E X X ~ Uniform(0,); pdf f ( x) ; x in (0,) E X xf ( x) dx xdx 3X k E X Ee X EX ; k ? x f ( x) dx Continuous case Long Run Avg Var X=RAND() 3X+ X^ X^3 exp(x) ST004 0 Week

31 Expected Vals for Cts Random Vars x x x x X x X ~ Exp; pdf f ( x) e ; x Continuous case E X xf ( x) dx xe dx x e dx -xe e dx E X Var X Y x x e dx Y EY [ ] Var Y pdf f ( y) 3X X Long Run Average Variance rand() Y= -LN(- RAND()) 3Y Y= - LN(RAND()) ST004 0 Week

32 Examples / Homework Simulation AND Thought Expt Discrete State prob dist cdf/pmf: avg of scores dice 3 + min(scores dice) # 6 s when roll 3 dice # rolls of single die before first 6 ST004 0 Week 8 3

33 Examples / Homework Simulation AND Thought Expt Continuous Y = RAND() ~ U(0,) Give cdf and pdf, and sketch both X = 3Y + 4 X = 3Y + 4 X = e Y X = 3e Y + 4 Also Simulate and form/plot ecdf by using ranks ST004 0 Week 8 33

34 Examples / Homework Simulation AND Thought Expt The Rayleigh density and cdf are as below. Sketch. Use the sketches to show how these functions can be used to compute probabilities. Propose a transform of Y = RAND(). Use calculus to determine its expected value, and confirm by simulation. pdf f r re F r e r ( ) r r ; ( ) ; 0 This Rayleigh model arises as distance from A to B when the North/South and East/West distances are each indep Normally distributed ie NORM.S.INV(RAND()). This suggests an alternative method for generating values from this distribution. Confirm. ST004 0 Week 8 34

35 Additional Material ST004 0 Week 8 35

36 Aside: Inverting transform X=t(RAND()) t( ) non-decreasing eg X t( Y) 4Y 0; X Y ; X ln( Y) A B C X x Y y where t( y) x X 4Y 0 Y 0.5 A X x Y x Y x B B X x ln Y x Y ex ST004 0 Week 8 36

37 #Rolls before score > i Infinitely Long Run E[K] E[K^] Var[K] Prob > k Roll until score Prob k Roll until score rolls > > >5 rolls > > >5 0 k k Geometric Dist Poss values k,.3.. Probs Pr( K k) p( p) E[ K] k Pr( K k) p k k ST004 0 Week 8 37

38 #Rolls before score > 5; cts approx Exp approx Prob > k 5 Prob > k 5 rolls rolls 5 before >5 before >5 exact app k k Exponential Approx e k k k Pr K k e e ST004 0 Week 8 38

39 #Rolls before score > 5; cts approx cdf Pr K k e k 6 Generate U RAND() Solve U e K 6 3 Return K 6 LN( U ) inv cdf 4 Here Return ROUND.DOWN(K) Inverting Simulation Exact Approx Form exact cdf Call RAND(); LOOKUP via log transform of RAND() x y = - exp(-x) ``-LN(-y) But Stat Properties U U Simpler Stat Prop's of Return K 6 LN( U ) ST004 0 Week 8 39 U

40 Alt: Using ranks instead of bins Rep 0 Summarising System Life without Bins System Life prop <= this ascending To join the dots in EXCEL, data must be sorted System ascend-proing <= Life this rank value rank value rank/n ecdf.xlxs Continuous case ST004 0 Week 8 40

41 Empirical cdf Summarising System Life without Bins n=0000 System ecdf = Rep Life rank/n ecdf=prop( <= this value) lines and thus sorting not needed when n is large ecdf=prop( <= this value) Continuous case ST004 0 Week 8 4

42 Law of Large Numbers; counter-example running X inv X avg /X running avg /X 0 E X x dx ln( x), ill defined. 0 Alt, the dist of X E[X - ]; X~U(0,) is such that it can generate very large values with non-trivial probability. The Law of Large Numbers does not always apply ST004 0 Week 8 4

Special Discrete RV s. Then X = the number of successes is a binomial RV. X ~ Bin(n,p).

Special Discrete RV s. Then X = the number of successes is a binomial RV. X ~ Bin(n,p). Sect 3.4: Binomial RV Special Discrete RV s 1. Assumptions and definition i. Experiment consists of n repeated trials ii. iii. iv. There are only two possible outcomes on each trial: success (S) or failure

More information

Probability Distributions

Probability Distributions Probability Distributions Series of events Previously we have been discussing the probabilities associated with a single event: Observing a 1 on a single roll of a die Observing a K with a single card

More information

Continuous Random Variables

Continuous Random Variables 1 Continuous Random Variables Example 1 Roll a fair die. Denote by X the random variable taking the value shown by the die, X {1, 2, 3, 4, 5, 6}. Obviously the probability mass function is given by (since

More information

MATH Solutions to Probability Exercises

MATH Solutions to Probability Exercises MATH 5 9 MATH 5 9 Problem. Suppose we flip a fair coin once and observe either T for tails or H for heads. Let X denote the random variable that equals when we observe tails and equals when we observe

More information

Chapter 4. Continuous Random Variables 4.1 PDF

Chapter 4. Continuous Random Variables 4.1 PDF Chapter 4 Continuous Random Variables In this chapter we study continuous random variables. The linkage between continuous and discrete random variables is the cumulative distribution (CDF) which we will

More information

Chapter 2. Some Basic Probability Concepts. 2.1 Experiments, Outcomes and Random Variables

Chapter 2. Some Basic Probability Concepts. 2.1 Experiments, Outcomes and Random Variables Chapter 2 Some Basic Probability Concepts 2.1 Experiments, Outcomes and Random Variables A random variable is a variable whose value is unknown until it is observed. The value of a random variable results

More information

1 Expectation of a continuously distributed random variable

1 Expectation of a continuously distributed random variable OCTOBER 3, 204 LECTURE 9 EXPECTATION OF A CONTINUOUSLY DISTRIBUTED RANDOM VARIABLE, DISTRIBUTION FUNCTION AND CHANGE-OF-VARIABLE TECHNIQUES Expectation of a continuously distributed random variable Recall

More information

Joint Probability Distributions and Random Samples (Devore Chapter Five)

Joint Probability Distributions and Random Samples (Devore Chapter Five) Joint Probability Distributions and Random Samples (Devore Chapter Five) 1016-345-01: Probability and Statistics for Engineers Spring 2013 Contents 1 Joint Probability Distributions 2 1.1 Two Discrete

More information

1.1 Review of Probability Theory

1.1 Review of Probability Theory 1.1 Review of Probability Theory Angela Peace Biomathemtics II MATH 5355 Spring 2017 Lecture notes follow: Allen, Linda JS. An introduction to stochastic processes with applications to biology. CRC Press,

More information

Probability and Distributions

Probability and Distributions Probability and Distributions What is a statistical model? A statistical model is a set of assumptions by which the hypothetical population distribution of data is inferred. It is typically postulated

More information

Chapter 3, 4 Random Variables ENCS Probability and Stochastic Processes. Concordia University

Chapter 3, 4 Random Variables ENCS Probability and Stochastic Processes. Concordia University Chapter 3, 4 Random Variables ENCS6161 - Probability and Stochastic Processes Concordia University ENCS6161 p.1/47 The Notion of a Random Variable A random variable X is a function that assigns a real

More information

Lecture 2: Repetition of probability theory and statistics

Lecture 2: Repetition of probability theory and statistics Algorithms for Uncertainty Quantification SS8, IN2345 Tobias Neckel Scientific Computing in Computer Science TUM Lecture 2: Repetition of probability theory and statistics Concept of Building Block: Prerequisites:

More information

Mathematics 426 Robert Gross Homework 9 Answers

Mathematics 426 Robert Gross Homework 9 Answers Mathematics 4 Robert Gross Homework 9 Answers. Suppose that X is a normal random variable with mean µ and standard deviation σ. Suppose that PX > 9 PX

More information

Distributions of Functions of Random Variables. 5.1 Functions of One Random Variable

Distributions of Functions of Random Variables. 5.1 Functions of One Random Variable Distributions of Functions of Random Variables 5.1 Functions of One Random Variable 5.2 Transformations of Two Random Variables 5.3 Several Random Variables 5.4 The Moment-Generating Function Technique

More information

ACE 562 Fall Lecture 2: Probability, Random Variables and Distributions. by Professor Scott H. Irwin

ACE 562 Fall Lecture 2: Probability, Random Variables and Distributions. by Professor Scott H. Irwin ACE 562 Fall 2005 Lecture 2: Probability, Random Variables and Distributions Required Readings: by Professor Scott H. Irwin Griffiths, Hill and Judge. Some Basic Ideas: Statistical Concepts for Economists,

More information

Chapter 7 Probability Basics

Chapter 7 Probability Basics Making Hard Decisions Chapter 7 Probability Basics Slide 1 of 62 Introduction A A,, 1 An Let be an event with possible outcomes: 1 A = Flipping a coin A = {Heads} A 2 = Ω {Tails} The total event (or sample

More information

ECE 302 Division 2 Exam 2 Solutions, 11/4/2009.

ECE 302 Division 2 Exam 2 Solutions, 11/4/2009. NAME: ECE 32 Division 2 Exam 2 Solutions, /4/29. You will be required to show your student ID during the exam. This is a closed-book exam. A formula sheet is provided. No calculators are allowed. Total

More information

STAT2201. Analysis of Engineering & Scientific Data. Unit 3

STAT2201. Analysis of Engineering & Scientific Data. Unit 3 STAT2201 Analysis of Engineering & Scientific Data Unit 3 Slava Vaisman The University of Queensland School of Mathematics and Physics What we learned in Unit 2 (1) We defined a sample space of a random

More information

IE 230 Probability & Statistics in Engineering I. Closed book and notes. 60 minutes.

IE 230 Probability & Statistics in Engineering I. Closed book and notes. 60 minutes. Closed book and notes. 60 minutes. A summary table of some univariate continuous distributions is provided. Four Pages. In this version of the Key, I try to be more complete than necessary to receive full

More information

Outline PMF, CDF and PDF Mean, Variance and Percentiles Some Common Distributions. Week 5 Random Variables and Their Distributions

Outline PMF, CDF and PDF Mean, Variance and Percentiles Some Common Distributions. Week 5 Random Variables and Their Distributions Week 5 Random Variables and Their Distributions Week 5 Objectives This week we give more general definitions of mean value, variance and percentiles, and introduce the first probability models for discrete

More information

2 Functions of random variables

2 Functions of random variables 2 Functions of random variables A basic statistical model for sample data is a collection of random variables X 1,..., X n. The data are summarised in terms of certain sample statistics, calculated as

More information

INF FALL NATURAL LANGUAGE PROCESSING. Jan Tore Lønning

INF FALL NATURAL LANGUAGE PROCESSING. Jan Tore Lønning 1 INF4080 2018 FALL NATURAL LANGUAGE PROCESSING Jan Tore Lønning 2 Probability distributions Lecture 5, 5 September Today 3 Recap: Bayes theorem Discrete random variable Probability distribution Discrete

More information

Continuous Expectation and Variance, the Law of Large Numbers, and the Central Limit Theorem Spring 2014

Continuous Expectation and Variance, the Law of Large Numbers, and the Central Limit Theorem Spring 2014 Continuous Expectation and Variance, the Law of Large Numbers, and the Central Limit Theorem 18.5 Spring 214.5.4.3.2.1-4 -3-2 -1 1 2 3 4 January 1, 217 1 / 31 Expected value Expected value: measure of

More information

STAT Chapter 5 Continuous Distributions

STAT Chapter 5 Continuous Distributions STAT 270 - Chapter 5 Continuous Distributions June 27, 2012 Shirin Golchi () STAT270 June 27, 2012 1 / 59 Continuous rv s Definition: X is a continuous rv if it takes values in an interval, i.e., range

More information

Continuous Random Variables

Continuous Random Variables MATH 38 Continuous Random Variables Dr. Neal, WKU Throughout, let Ω be a sample space with a defined probability measure P. Definition. A continuous random variable is a real-valued function X defined

More information

Exam Two. Phu Vu. test Two. Take home group test April 13 ~ April 18. Your group alias: Your group members: Student name

Exam Two. Phu Vu. test Two. Take home group test April 13 ~ April 18. Your group alias: Your group members: Student name Exam Two Take home group test April 3 ~ April 8 Your group alias: Your group members: (leave it blank if you work alone on this test) Your test score Problem Score Total page /7 Problem : (chapter 9, applications

More information

Lecture 11: Probability, Order Statistics and Sampling

Lecture 11: Probability, Order Statistics and Sampling 5-75: Graduate Algorithms February, 7 Lecture : Probability, Order tatistics and ampling Lecturer: David Whitmer cribes: Ilai Deutel, C.J. Argue Exponential Distributions Definition.. Given sample space

More information

conditional cdf, conditional pdf, total probability theorem?

conditional cdf, conditional pdf, total probability theorem? 6 Multiple Random Variables 6.0 INTRODUCTION scalar vs. random variable cdf, pdf transformation of a random variable conditional cdf, conditional pdf, total probability theorem expectation of a random

More information

Perhaps the simplest way of modeling two (discrete) random variables is by means of a joint PMF, defined as follows.

Perhaps the simplest way of modeling two (discrete) random variables is by means of a joint PMF, defined as follows. Chapter 5 Two Random Variables In a practical engineering problem, there is almost always causal relationship between different events. Some relationships are determined by physical laws, e.g., voltage

More information

A Probability Primer. A random walk down a probabilistic path leading to some stochastic thoughts on chance events and uncertain outcomes.

A Probability Primer. A random walk down a probabilistic path leading to some stochastic thoughts on chance events and uncertain outcomes. A Probability Primer A random walk down a probabilistic path leading to some stochastic thoughts on chance events and uncertain outcomes. Are you holding all the cards?? Random Events A random event, E,

More information

We introduce methods that are useful in:

We introduce methods that are useful in: Instructor: Shengyu Zhang Content Derived Distributions Covariance and Correlation Conditional Expectation and Variance Revisited Transforms Sum of a Random Number of Independent Random Variables more

More information

BASICS OF PROBABILITY

BASICS OF PROBABILITY October 10, 2018 BASICS OF PROBABILITY Randomness, sample space and probability Probability is concerned with random experiments. That is, an experiment, the outcome of which cannot be predicted with certainty,

More information

Bandits, Experts, and Games

Bandits, Experts, and Games Bandits, Experts, and Games CMSC 858G Fall 2016 University of Maryland Intro to Probability* Alex Slivkins Microsoft Research NYC * Many of the slides adopted from Ron Jin and Mohammad Hajiaghayi Outline

More information

Basic concepts of probability theory

Basic concepts of probability theory Basic concepts of probability theory Random variable discrete/continuous random variable Transform Z transform, Laplace transform Distribution Geometric, mixed-geometric, Binomial, Poisson, exponential,

More information

Recitation 2: Probability

Recitation 2: Probability Recitation 2: Probability Colin White, Kenny Marino January 23, 2018 Outline Facts about sets Definitions and facts about probability Random Variables and Joint Distributions Characteristics of distributions

More information

MTH135/STA104: Probability

MTH135/STA104: Probability MTH5/STA4: Probability Homework # Due: Tuesday, Dec 6, 5 Prof Robert Wolpert Three subjects in a medical trial are given drug A After one week, those that do not respond favorably are switched to drug

More information

The Binomial distribution. Probability theory 2. Example. The Binomial distribution

The Binomial distribution. Probability theory 2. Example. The Binomial distribution Probability theory Tron Anders Moger September th 7 The Binomial distribution Bernoulli distribution: One experiment X i with two possible outcomes, probability of success P. If the experiment is repeated

More information

Lecture Notes 1 Probability and Random Variables. Conditional Probability and Independence. Functions of a Random Variable

Lecture Notes 1 Probability and Random Variables. Conditional Probability and Independence. Functions of a Random Variable Lecture Notes 1 Probability and Random Variables Probability Spaces Conditional Probability and Independence Random Variables Functions of a Random Variable Generation of a Random Variable Jointly Distributed

More information

Midterm Exam 1 Solution

Midterm Exam 1 Solution EECS 126 Probability and Random Processes University of California, Berkeley: Fall 2015 Kannan Ramchandran September 22, 2015 Midterm Exam 1 Solution Last name First name SID Name of student on your left:

More information

Math Camp II. Calculus. Yiqing Xu. August 27, 2014 MIT

Math Camp II. Calculus. Yiqing Xu. August 27, 2014 MIT Math Camp II Calculus Yiqing Xu MIT August 27, 2014 1 Sequence and Limit 2 Derivatives 3 OLS Asymptotics 4 Integrals Sequence Definition A sequence {y n } = {y 1, y 2, y 3,..., y n } is an ordered set

More information

Lecture Notes 1 Probability and Random Variables. Conditional Probability and Independence. Functions of a Random Variable

Lecture Notes 1 Probability and Random Variables. Conditional Probability and Independence. Functions of a Random Variable Lecture Notes 1 Probability and Random Variables Probability Spaces Conditional Probability and Independence Random Variables Functions of a Random Variable Generation of a Random Variable Jointly Distributed

More information

Appendix A. Math Reviews 03Jan2007. A.1 From Simple to Complex. Objectives. 1. Review tools that are needed for studying models for CLDVs.

Appendix A. Math Reviews 03Jan2007. A.1 From Simple to Complex. Objectives. 1. Review tools that are needed for studying models for CLDVs. Appendix A Math Reviews 03Jan007 Objectives. Review tools that are needed for studying models for CLDVs.. Get you used to the notation that will be used. Readings. Read this appendix before class.. Pay

More information

1 Presessional Probability

1 Presessional Probability 1 Presessional Probability Probability theory is essential for the development of mathematical models in finance, because of the randomness nature of price fluctuations in the markets. This presessional

More information

2 (Statistics) Random variables

2 (Statistics) Random variables 2 (Statistics) Random variables References: DeGroot and Schervish, chapters 3, 4 and 5; Stirzaker, chapters 4, 5 and 6 We will now study the main tools use for modeling experiments with unknown outcomes

More information

STAT 430/510: Lecture 10

STAT 430/510: Lecture 10 STAT 430/510: Lecture 10 James Piette June 9, 2010 Updates HW2 is due today! Pick up your HW1 s up in stat dept. There is a box located right when you enter that is labeled "Stat 430 HW1". It ll be out

More information

Probability theory for Networks (Part 1) CS 249B: Science of Networks Week 02: Monday, 02/04/08 Daniel Bilar Wellesley College Spring 2008

Probability theory for Networks (Part 1) CS 249B: Science of Networks Week 02: Monday, 02/04/08 Daniel Bilar Wellesley College Spring 2008 Probability theory for Networks (Part 1) CS 249B: Science of Networks Week 02: Monday, 02/04/08 Daniel Bilar Wellesley College Spring 2008 1 Review We saw some basic metrics that helped us characterize

More information

STA 256: Statistics and Probability I

STA 256: Statistics and Probability I Al Nosedal. University of Toronto. Fall 2017 My momma always said: Life was like a box of chocolates. You never know what you re gonna get. Forrest Gump. Exercise 4.1 Let X be a random variable with p(x)

More information

Multivariate distributions

Multivariate distributions CHAPTER Multivariate distributions.. Introduction We want to discuss collections of random variables (X, X,..., X n ), which are known as random vectors. In the discrete case, we can define the density

More information

Notes for Math 324, Part 19

Notes for Math 324, Part 19 48 Notes for Math 324, Part 9 Chapter 9 Multivariate distributions, covariance Often, we need to consider several random variables at the same time. We have a sample space S and r.v. s X, Y,..., which

More information

Stat 5101 Notes: Algorithms

Stat 5101 Notes: Algorithms Stat 5101 Notes: Algorithms Charles J. Geyer January 22, 2016 Contents 1 Calculating an Expectation or a Probability 3 1.1 From a PMF........................... 3 1.2 From a PDF...........................

More information

Continuous random variables

Continuous random variables Continuous random variables Can take on an uncountably infinite number of values Any value within an interval over which the variable is definied has some probability of occuring This is different from

More information

Closed book and notes. 60 minutes. Cover page and four pages of exam. No calculators.

Closed book and notes. 60 minutes. Cover page and four pages of exam. No calculators. IE 230 Seat # Closed book and notes. 60 minutes. Cover page and four pages of exam. No calculators. Score Exam #3a, Spring 2002 Schmeiser Closed book and notes. 60 minutes. 1. True or false. (for each,

More information

3 Continuous Random Variables

3 Continuous Random Variables Jinguo Lian Math437 Notes January 15, 016 3 Continuous Random Variables Remember that discrete random variables can take only a countable number of possible values. On the other hand, a continuous random

More information

GOV 2001/ 1002/ Stat E-200 Section 1 Probability Review

GOV 2001/ 1002/ Stat E-200 Section 1 Probability Review GOV 2001/ 1002/ Stat E-200 Section 1 Probability Review Solé Prillaman Harvard University January 28, 2015 1 / 54 LOGISTICS Course Website: j.mp/g2001 lecture notes, videos, announcements Canvas: problem

More information

Stat 5101 Notes: Algorithms (thru 2nd midterm)

Stat 5101 Notes: Algorithms (thru 2nd midterm) Stat 5101 Notes: Algorithms (thru 2nd midterm) Charles J. Geyer October 18, 2012 Contents 1 Calculating an Expectation or a Probability 2 1.1 From a PMF........................... 2 1.2 From a PDF...........................

More information

Summary of basic probability theory Math 218, Mathematical Statistics D Joyce, Spring 2016

Summary of basic probability theory Math 218, Mathematical Statistics D Joyce, Spring 2016 8. For any two events E and F, P (E) = P (E F ) + P (E F c ). Summary of basic probability theory Math 218, Mathematical Statistics D Joyce, Spring 2016 Sample space. A sample space consists of a underlying

More information

Algorithms for Uncertainty Quantification

Algorithms for Uncertainty Quantification Algorithms for Uncertainty Quantification Tobias Neckel, Ionuț-Gabriel Farcaș Lehrstuhl Informatik V Summer Semester 2017 Lecture 2: Repetition of probability theory and statistics Example: coin flip Example

More information

p. 6-1 Continuous Random Variables p. 6-2

p. 6-1 Continuous Random Variables p. 6-2 Continuous Random Variables Recall: For discrete random variables, only a finite or countably infinite number of possible values with positive probability (>). Often, there is interest in random variables

More information

Math 3215 Intro. Probability & Statistics Summer 14. Homework 5: Due 7/3/14

Math 3215 Intro. Probability & Statistics Summer 14. Homework 5: Due 7/3/14 Math 325 Intro. Probability & Statistics Summer Homework 5: Due 7/3/. Let X and Y be continuous random variables with joint/marginal p.d.f. s f(x, y) 2, x y, f (x) 2( x), x, f 2 (y) 2y, y. Find the conditional

More information

BIOSTATISTICS. Lecture 3 Continuous Probability Distributions. dr. Petr Nazarov

BIOSTATISTICS. Lecture 3 Continuous Probability Distributions. dr. Petr Nazarov Genomics Research Unit BIOSTATISTICS Lecture 3 Continuous Probability Distributions dr. Petr Nazarov 7-0-015 6-03-015 petr.nazarov@crp-sante.lu Lecture 3. Continuous probability distributions OUTLINE Lecture

More information

Basic concepts of probability theory

Basic concepts of probability theory Basic concepts of probability theory Random variable discrete/continuous random variable Transform Z transform, Laplace transform Distribution Geometric, mixed-geometric, Binomial, Poisson, exponential,

More information

ECE Homework Set 2

ECE Homework Set 2 1 Solve these problems after Lecture #4: Homework Set 2 1. Two dice are tossed; let X be the sum of the numbers appearing. a. Graph the CDF, FX(x), and the pdf, fx(x). b. Use the CDF to find: Pr(7 X 9).

More information

Lecture 1: August 28

Lecture 1: August 28 36-705: Intermediate Statistics Fall 2017 Lecturer: Siva Balakrishnan Lecture 1: August 28 Our broad goal for the first few lectures is to try to understand the behaviour of sums of independent random

More information

Basic concepts of probability theory

Basic concepts of probability theory Basic concepts of probability theory Random variable discrete/continuous random variable Transform Z transform, Laplace transform Distribution Geometric, mixed-geometric, Binomial, Poisson, exponential,

More information

Fundamental Tools - Probability Theory II

Fundamental Tools - Probability Theory II Fundamental Tools - Probability Theory II MSc Financial Mathematics The University of Warwick September 29, 2015 MSc Financial Mathematics Fundamental Tools - Probability Theory II 1 / 22 Measurable random

More information

Arkansas Tech University MATH 3513: Applied Statistics I Dr. Marcel B. Finan

Arkansas Tech University MATH 3513: Applied Statistics I Dr. Marcel B. Finan 2.4 Random Variables Arkansas Tech University MATH 3513: Applied Statistics I Dr. Marcel B. Finan By definition, a random variable X is a function with domain the sample space and range a subset of the

More information

MA 575 Linear Models: Cedric E. Ginestet, Boston University Revision: Probability and Linear Algebra Week 1, Lecture 2

MA 575 Linear Models: Cedric E. Ginestet, Boston University Revision: Probability and Linear Algebra Week 1, Lecture 2 MA 575 Linear Models: Cedric E Ginestet, Boston University Revision: Probability and Linear Algebra Week 1, Lecture 2 1 Revision: Probability Theory 11 Random Variables A real-valued random variable is

More information

Bivariate distributions

Bivariate distributions Bivariate distributions 3 th October 017 lecture based on Hogg Tanis Zimmerman: Probability and Statistical Inference (9th ed.) Bivariate Distributions of the Discrete Type The Correlation Coefficient

More information

Edexcel past paper questions

Edexcel past paper questions Edexcel past paper questions Statistics 1 Discrete Random Variables Past examination questions Discrete Random variables Page 1 Discrete random variables Discrete Random variables Page 2 Discrete Random

More information

ST2352. Working backwards with conditional probability. ST2352 Week 8 1

ST2352. Working backwards with conditional probability. ST2352 Week 8 1 ST35 Workng backwards wth condtonal probablty ST35 Week 8 Roll two reg dce. One s 6; Pr(other s 6)? AR smulaton gves Y t = 3. Dst of Y t-? Y t = = Y t- + t ; t ~ N(0,) =? =0.5 ST35 Week 8 Sally Clarke

More information

ST2352. Stochastic Processes constructed via Conditional Simulation. 09/02/2014 ST2352 Week 4 1

ST2352. Stochastic Processes constructed via Conditional Simulation. 09/02/2014 ST2352 Week 4 1 ST35 Sochasic Processes consruced via Condiional Simulaion 09/0/014 ST35 Week 4 1 Sochasic Processes consruced via Condiional Simulaion Markov Processes Simulaing Random Tex Google Sugges n grams Random

More information

Probability on a Riemannian Manifold

Probability on a Riemannian Manifold Probability on a Riemannian Manifold Jennifer Pajda-De La O December 2, 2015 1 Introduction We discuss how we can construct probability theory on a Riemannian manifold. We make comparisons to this and

More information

Twelfth Problem Assignment

Twelfth Problem Assignment EECS 401 Not Graded PROBLEM 1 Let X 1, X 2,... be a sequence of independent random variables that are uniformly distributed between 0 and 1. Consider a sequence defined by (a) Y n = max(x 1, X 2,..., X

More information

Course: ESO-209 Home Work: 1 Instructor: Debasis Kundu

Course: ESO-209 Home Work: 1 Instructor: Debasis Kundu Home Work: 1 1. Describe the sample space when a coin is tossed (a) once, (b) three times, (c) n times, (d) an infinite number of times. 2. A coin is tossed until for the first time the same result appear

More information

18.440: Lecture 19 Normal random variables

18.440: Lecture 19 Normal random variables 18.440 Lecture 19 18.440: Lecture 19 Normal random variables Scott Sheffield MIT Outline Tossing coins Normal random variables Special case of central limit theorem Outline Tossing coins Normal random

More information

Stat 5101 Lecture Slides: Deck 7 Asymptotics, also called Large Sample Theory. Charles J. Geyer School of Statistics University of Minnesota

Stat 5101 Lecture Slides: Deck 7 Asymptotics, also called Large Sample Theory. Charles J. Geyer School of Statistics University of Minnesota Stat 5101 Lecture Slides: Deck 7 Asymptotics, also called Large Sample Theory Charles J. Geyer School of Statistics University of Minnesota 1 Asymptotic Approximation The last big subject in probability

More information

Preliminary Statistics. Lecture 3: Probability Models and Distributions

Preliminary Statistics. Lecture 3: Probability Models and Distributions Preliminary Statistics Lecture 3: Probability Models and Distributions Rory Macqueen (rm43@soas.ac.uk), September 2015 Outline Revision of Lecture 2 Probability Density Functions Cumulative Distribution

More information

Probability Models. 4. What is the definition of the expectation of a discrete random variable?

Probability Models. 4. What is the definition of the expectation of a discrete random variable? 1 Probability Models The list of questions below is provided in order to help you to prepare for the test and exam. It reflects only the theoretical part of the course. You should expect the questions

More information

ECE302 Exam 2 Version A April 21, You must show ALL of your work for full credit. Please leave fractions as fractions, but simplify them, etc.

ECE302 Exam 2 Version A April 21, You must show ALL of your work for full credit. Please leave fractions as fractions, but simplify them, etc. ECE32 Exam 2 Version A April 21, 214 1 Name: Solution Score: /1 This exam is closed-book. You must show ALL of your work for full credit. Please read the questions carefully. Please check your answers

More information

IAM 530 ELEMENTS OF PROBABILITY AND STATISTICS LECTURE 3-RANDOM VARIABLES

IAM 530 ELEMENTS OF PROBABILITY AND STATISTICS LECTURE 3-RANDOM VARIABLES IAM 530 ELEMENTS OF PROBABILITY AND STATISTICS LECTURE 3-RANDOM VARIABLES VARIABLE Studying the behavior of random variables, and more importantly functions of random variables is essential for both the

More information

Chapter 2. Random Variable. Define single random variables in terms of their PDF and CDF, and calculate moments such as the mean and variance.

Chapter 2. Random Variable. Define single random variables in terms of their PDF and CDF, and calculate moments such as the mean and variance. Chapter 2 Random Variable CLO2 Define single random variables in terms of their PDF and CDF, and calculate moments such as the mean and variance. 1 1. Introduction In Chapter 1, we introduced the concept

More information

Week 2: Review of probability and statistics

Week 2: Review of probability and statistics Week 2: Review of probability and statistics Marcelo Coca Perraillon University of Colorado Anschutz Medical Campus Health Services Research Methods I HSMP 7607 2017 c 2017 PERRAILLON ALL RIGHTS RESERVED

More information

ECE353: Probability and Random Processes. Lecture 7 -Continuous Random Variable

ECE353: Probability and Random Processes. Lecture 7 -Continuous Random Variable ECE353: Probability and Random Processes Lecture 7 -Continuous Random Variable Xiao Fu School of Electrical Engineering and Computer Science Oregon State University E-mail: xiao.fu@oregonstate.edu Continuous

More information

Review of Probability Theory

Review of Probability Theory Review of Probability Theory Arian Maleki and Tom Do Stanford University Probability theory is the study of uncertainty Through this class, we will be relying on concepts from probability theory for deriving

More information

Math 151. Rumbos Fall Solutions to Review Problems for Exam 2. Pr(X = 1) = ) = Pr(X = 2) = Pr(X = 3) = p X. (k) =

Math 151. Rumbos Fall Solutions to Review Problems for Exam 2. Pr(X = 1) = ) = Pr(X = 2) = Pr(X = 3) = p X. (k) = Math 5. Rumbos Fall 07 Solutions to Review Problems for Exam. A bowl contains 5 chips of the same size and shape. Two chips are red and the other three are blue. Draw three chips from the bowl at random,

More information

PROBABILITY AND INFORMATION THEORY. Dr. Gjergji Kasneci Introduction to Information Retrieval WS

PROBABILITY AND INFORMATION THEORY. Dr. Gjergji Kasneci Introduction to Information Retrieval WS PROBABILITY AND INFORMATION THEORY Dr. Gjergji Kasneci Introduction to Information Retrieval WS 2012-13 1 Outline Intro Basics of probability and information theory Probability space Rules of probability

More information

UNIVERSITY OF DUBLIN TRINITY COLLEGE. Faculty of Engineering, Mathematics and Science. School of Computer Science & Statistics

UNIVERSITY OF DUBLIN TRINITY COLLEGE. Faculty of Engineering, Mathematics and Science. School of Computer Science & Statistics UNIVERSI OF DUBLIN RINI COLLEGE Facult of Engineering, Mathematics and Science School of Comuter Science & Statistics BA (Mod) Maths, SM rinit erm 04 SF and JS S35 Probabilit and heoretical Statistics

More information

SDS 321: Introduction to Probability and Statistics

SDS 321: Introduction to Probability and Statistics SDS 321: Introduction to Probability and Statistics Lecture 17: Continuous random variables: conditional PDF Purnamrita Sarkar Department of Statistics and Data Science The University of Texas at Austin

More information

Review: mostly probability and some statistics

Review: mostly probability and some statistics Review: mostly probability and some statistics C2 1 Content robability (should know already) Axioms and properties Conditional probability and independence Law of Total probability and Bayes theorem Random

More information

Thinking with Probability

Thinking with Probability Thinking with Probability Thinking fast and slow Thinking by decomposing events formalising probability rules conditional probability Brain Teasers Tijms Problems, Chap 1 2 dice rolled; one is 6. What

More information

Tutorial 1 : Probabilities

Tutorial 1 : Probabilities Lund University ETSN01 Advanced Telecommunication Tutorial 1 : Probabilities Author: Antonio Franco Emma Fitzgerald Tutor: Farnaz Moradi January 11, 2016 Contents I Before you start 3 II Exercises 3 1

More information

Practice Questions for Final

Practice Questions for Final Math 39 Practice Questions for Final June. 8th 4 Name : 8. Continuous Probability Models You should know Continuous Random Variables Discrete Probability Distributions Expected Value of Discrete Random

More information

1 Review of Probability and Distributions

1 Review of Probability and Distributions Random variables. A numerically valued function X of an outcome ω from a sample space Ω X : Ω R : ω X(ω) is called a random variable (r.v.), and usually determined by an experiment. We conventionally denote

More information

Notes 6 Autumn Example (One die: part 1) One fair six-sided die is thrown. X is the number showing.

Notes 6 Autumn Example (One die: part 1) One fair six-sided die is thrown. X is the number showing. MAS 08 Probability I Notes Autumn 005 Random variables A probability space is a sample space S together with a probability function P which satisfies Kolmogorov s aioms. The Holy Roman Empire was, in the

More information

Gaussian, Markov and stationary processes

Gaussian, Markov and stationary processes Gaussian, Markov and stationary processes Gonzalo Mateos Dept. of ECE and Goergen Institute for Data Science University of Rochester gmateosb@ece.rochester.edu http://www.ece.rochester.edu/~gmateosb/ November

More information

Introduction to First Order Equations Sections

Introduction to First Order Equations Sections A B I L E N E C H R I S T I A N U N I V E R S I T Y Department of Mathematics Introduction to First Order Equations Sections 2.1-2.3 Dr. John Ehrke Department of Mathematics Fall 2012 Course Goals The

More information

FINAL EXAM: 3:30-5:30pm

FINAL EXAM: 3:30-5:30pm ECE 30: Probabilistic Methods in Electrical and Computer Engineering Spring 016 Instructor: Prof. A. R. Reibman FINAL EXAM: 3:30-5:30pm Spring 016, MWF 1:30-1:0pm (May 6, 016) This is a closed book exam.

More information

Contents 1. Contents

Contents 1. Contents Contents 1 Contents 6 Distributions of Functions of Random Variables 2 6.1 Transformation of Discrete r.v.s............. 3 6.2 Method of Distribution Functions............. 6 6.3 Method of Transformations................

More information

Chapter 3. Chapter 3 sections

Chapter 3. Chapter 3 sections sections 3.1 Random Variables and Discrete Distributions 3.2 Continuous Distributions 3.4 Bivariate Distributions 3.5 Marginal Distributions 3.6 Conditional Distributions 3.7 Multivariate Distributions

More information

Final Exam. Math Su10. by Prof. Michael Cap Khoury

Final Exam. Math Su10. by Prof. Michael Cap Khoury Final Exam Math 45-0 Su0 by Prof. Michael Cap Khoury Name: Directions: Please print your name legibly in the box above. You have 0 minutes to complete this exam. You may use any type of conventional calculator,

More information