Conditioning and Independence

Size: px
Start display at page:

Download "Conditioning and Independence"

Transcription

1 Discrete Random Variables: Joint PMFs Conditioning and Indeendence Berlin Chen Deartment of Comuter Science & Information ngineering National Taiwan Normal Universit Reference: - D. P. Bertsekas J. N. Tsitsiklis Introduction to Probabilit Sections.5-.7

2 Motivation Given an eeriment e.g. a medical diagnosis The results of blood test is modeled as numerical values of a random variable The results of magnetic resonance imaging i (MRI 核磁共振攝影 is also modeled as numerical values of a random variable We would like to consider robabilities of events involving simultaneousl the numerical values of these two variables and to investigate their mutual coulings P { } I { } (? Probabilit-Berlin Chen

3 Joint PMF of Random Variables Let and be random variables associated with the same eeriment (also the same samle sace and robabilit laws the joint PMF of and is defined b ( P ( { } I { } P ( P ( if event is the set of all airs that have a certain roert then the robabilit of can be calculated b P (( ( ( Namel can be secified in terms of and Probabilit-Berlin Chen 3

4 Marginal PMFs of Random Variables (/ The PMFs of random variables and can be calculated from their joint PMF ( ( ( ( ( ( and are often referred to as the marginal PMFs The above two equations can be verified b ( ( P ( P ( Probabilit-Berlin Chen 4

5 Marginal PMFs of Random Variables (/ Tabular Method: Given the joint PMF of random variables and is secified in a two-dimensional table the marginal PMF of or at a given value is obtained b adding the table entries along a corresonding column or row resectivel Probabilit-Berlin Chen 5

6 Functions of Multile Random Variables (/ ( function Z g of the random variables and defines another random variable. Its PMF can be calculated from the joint PMF Z ( z ( { ( g ( zz } The eectation for a function of several random variables [ ] g( [ ] g( ( Z Probabilit-Berlin Chen 6

7 Functions of Multile Random Variables (/ If the function of several random variables is linear and of the form Z g( a b c [ Z ] a[ ] b[ ] c How can we verif the above equation? Probabilit-Berlin Chen 7

8 n Illustrative amle Given the random variables and whose joint is given in the following figure and a new random variable Z is defined b Z calculate [ Z ] Method : [ ] [ ] [ Z ] [ ] [ ] 55 Method : ( z {( z} Z Z Z ( Z [ Z ] ( 3 Z ( 4 Z ( 5 ( Z ( 7 ( ( ( Z 8 Z 9 Z ( Z ( Probabilit-Berlin Chen 8

9 More than Two Random Variables (/ The joint PMF of three random variables and is defined in analog with the above as ( z P ( Z z Z P Z The corresonding marginal PMFs and ( ( z Z z ( ( z z Z Probabilit-Berlin Chen 9

10 More than Two Random Variables (/ The eectation for the function of random variables and Z [ g ( Z ] g ( z ( z Z z If the function is linear and has the form a b cz d [ a b cz d ] a[ ] b[ ] c[ Z ] d generalization to more than three random variables [ a a L an n ] a [ ] a [ ] L a [ ] n n Probabilit-Berlin Chen 0

11 n Illustrative amle amle.0. Mean of the Binomial. our robabilit class has 300 students and each student has robabilit /3 of getting an indeendentl of an other student. What is the mean of the number of students that get an? Let if the ith student gets an i 0 otherwise K 300 are bernoulli random variables with common mean /3 Their sum K 300 can be interreted as a binomial random variable with arameters n ( n 300 and ( /3. That is is the number of success in n ( n 300 indeendent trials i i [ ] [ K ] [ ] 300 /3 00 Probabilit-Berlin Chen

12 Conditioning Recall that conditional robabilit rovides us with a wa to reason about the outcome of an eeriment based on artial information In the same sirit we can define conditional PMFs given the occurrence of a certain event or given the value of another random variable Probabilit-Berlin Chen

13 Conditioning a Random Variable on an vent (/ The conditional PMF of a random variable conditioned d on a articular event with P ( > 0 is defined b (where and are associated with the same eeriment ( ( P( { } I P P P( Normalization Proert ({ } Note that the events P I are disjoint for different values of their union is P ( P( { } I P ( P Total robabilit theorem P( { } I ({ } I P( P ( P ( P ( Probabilit-Berlin Chen 3

14 Conditioning a Random Variable on an vent (/ grahical illustration ( P Is obtained b adding the robabilities biliti of the outcomes that give rise to and be long to the conditioning event Probabilit-Berlin Chen 4

15 Illustrative amles (/ amle.. Let be the roll of a fair si-sided die and be the event that the roll is an even number P ( P( roll is even ( and is even P( is even P / 3 if 46 0 otherwise Probabilit-Berlin Chen 5

16 Let Let Illustrative amles (/ amle.4. student will take a certain test reeatedl u to a maimum of n times each time with a robabilit of assing indeendentl of the number of revious attemts. be What is the PMF of the number of attemts given that the student asses the test? be a geometric reresenti fist success ( the w ithin ( ng ( the comes event that n attemts t random number ( n ( m 0 the u ( m variable of student { n } if with attemts ass the arameter until test K n otherwise the P( ( n- n ( n- n Probabilit-Berlin Chen 6

17 Conditioning a Random Variable on nother (/ Let and be two random variables associated with the same eeriment. The conditional PMF of given is defined as P( ( ( P P ( ( Normalization Proert ( ( is fied on some value The conditional PMF is often convenient for the calculation of the joint PMF multilication (chain rule ( ( ( ( ( ( Probabilit-Berlin Chen 7

18 Conditioning a Random Variable on nother (/ The conditional PMF can also be used to calculate the marginal PMFs ( ( ( ( Visualization of the conditional PMF ( ( ( ( ( Probabilit-Berlin Chen 8

19 n Illustrative amle (/ amle.4. Professor Ma B. Right often has her facts wrong and answers each of her students questions incorrectl with robabilit /4 indeendentl of other questions. In each lecture Ma is asked 0 or questions with equal robabilit /3. What is the robabilit that she gives at least one wrong answer? Let be the number of questions asked be the number of questions answered P( P( P( P( P ( P( 3 P( P( 4 P( P( 3 P( 4 P( wrong n k - k n k ( modeled as binomial distributions P( 4 48 Probabilit-Berlin Chen 9

20 n Illustrative amle (/ ( Calculation of the joint PMF in amle.4. Probabilit-Berlin Chen 0

21 Conditional ectation Recall that a conditional PMF can be thought of as an ordinar PMF over a new universe determined b the conditioning event In the same sirit a conditional eectation is the same as an ordinar eectation ecet that it refers to the new universe and all robabilities and PMFs are relaced b their conditional counterarts Probabilit-Berlin Chen

22 Summar of Facts bout Conditional ectations Let and be two random variables associated with the same eeriment The conditional eectation of given an event with P > is defined b ( 0 For a function [ ] ( g ( it is given b [ g ( ] g ( ( Probabilit-Berlin Chen

23 Total ectation Theorem (/ The conditional eectation of given a value of is defined b We have [ ] ( [ ] ( ( Let L n be disjoint events that form a artition of the samle sace and assume that P ( i > 0 for all i. Then n [ ] P ( [ ] i i i Probabilit-Berlin Chen 3

24 Total ectation Theorem (/ Let L n be disjoint events that form a artition of an event B and assume that P( i IB > 0 for all i. Then n [ B ] P ( B [ I B ] i Verification of total eectation theorem i [ ] ( ( ( ( ( ( ( [ ] i Probabilit-Berlin Chen 4

25 n Illustrative amle (/ amle.7. Mean and Variance of the Geometric Random Variable geometric random variable has PMF ( ( K be the event that { } [ ] 0 be the event that { > } [ ] 0 ( Let [ ] P( [ ] P( [ ] where P ( P( (?? ( ( 0 ( otherwise (?? > 0 otherwise Note that (See amle.3 : ( ( n ( m 0 m if K n [ ] [( ] ( ( [ ] ( ( [ ] P( [ ] P( [ ] [ ] P ( ( ( [ ] otherwise Probabilit-Berlin Chen 5

26 n Illustrative amle (/ [ ] ( [ ] ( [ ] [ ] 0 P P [ ] [ ] ( 0 0 ( ( Q ( ( ( ( ( ( ( ( ( ( ( ( ( ( [ ] ( ( ( set [ ] [ ] [ ] ( [ ] [ ] ( ( [ ] [ ] ( [ ] [ ] [ ] shown that have we Probabilit-Berlin Chen 6 [ ] ( [ ] [ ] ( var

27 Indeendence of a Random Variable from an vent random variable is indeendent of an event if ( and P( P( for all P { } Require two events and be indeendent for all If a random variable is indeendent of an event and P > ( 0 ( P P P ( and P( ( P ( P( ( ( for all Probabilit-Berlin Chen 7

28 n Illustrative amle amle.9. Consider two indeendent tosses of a fair coin. Let random variable be the number of heads Let random variable be 0 if the first toss is head and if the first toss is tail Let be the event that the number of head is even Possible outcomes (TT (TH (HT (HH / 4 if 0 / if 0 / if 0 if ( / 4 if / if and are not indeenden ( / if 0 ( ( t! ( / if ( P( and ( / if 0 P / if ( ( ( and are indeenden t! P / Probabilit-Berlin Chen 8

29 Indeendence of a Random Variables (/ Two random variables and are indeendent if ( ( ( for all ( P( P( for all or P If a random variable is indeendent d of an random variable ( ( for all with ih ( 0 all > ( ( ( ( ( ( ( for all with ( > 0 and all Probabilit-Berlin Chen 9

30 Indeendence of a Random Variables (/ Random variables and are said to be conditionall indeendent given a ositive robabilit event if Or equivalentl ( ( ( for all ( ( for all with ( 0 and all > Note here that as in the case of events conditional indeendence ma not iml unconditional indeendence and vice versa Probabilit-Berlin Chen 30

31 n Illustrative amle (/ Figure.5: amle illustrating that conditional indeendence d ma not iml unconditional indeendence d For the PMF shown the random variables and are not indeendent To show and are not indeendent we onl have to find a air of values of and that ( ( ( For eamle and are not indeendent ( 0 ( 3 0 Probabilit-Berlin Chen 3

32 n Illustrative amle (/ P To show and are not deendent we onl have to find all air of values of and that 9 0 ( ( ( For eamle and are indeendent conditioned on the event ( ( / 0 6 / 0 3 / 0 ( 4 3 / / / 0 3 / 0 ( 4 3 / 0 3 { 3} ( I I P( I P ( 3 ( 3 / 0 9 / 0 6 / 0 9 / 0 / 3 ( ( / 3 Probabilit-Berlin Chen 3

33 Functions of Two Indeendent Random Variables Given and be two indeendent random variables let g ( and h( be two functions of and resectivel. Show that g ( and h( are indeendent. Let ( ( U g and V h then ( u v ( {( g ( u h( v } U V ( g ( u h( { v } ( { g u} U ( u ( v V ( ( ( ( ( { h v} Probabilit-Berlin Chen 33

34 More Factors about Indeendent Random Variables (/ If and are indeendent random variables then [ ] [ ] [ ] s shown b the following calculation l [ ] ( [ ] [ ] ( ( ( ( b indeendence Similarl if and are indeendent random variables then g h g h [ ( ( ] [ ( ] [ ( ] Probabilit-Berlin Chen 34

35 More Factors about Indeendent Random Variables (/ If and are indeendent random variables then ( ( ( var var var s shown b the following calculation ( ( [ ] ( [ ] var ( ( [ ] [ ] ( [ ] [ ] ( [ ] ( ( [ ] [ ] ( [ ] [ ] [ ] ( [ ] [ ] ( [ ] [ ] [ ] ( ( ( ( [ ] ( [ ] ( [ ] [ ] Probabilit-Berlin Chen 35 [ ] ( [ ] ( [ ] [ ] [ ] [ ] ( ( [ ] [ ] ( ( ( ( var var

36 More than Two Random Variables Indeendence of several random variables Z Three random variable and are indeendent if ( z ( ( ( z for all Z Z? Comared to the conditions to be satisfied for three indeendent events and 3 (in P.39 of the tetbook f ( g ( ( n three random variables of the form and are also indeendent Variance of the sum of indeendent random variables If are indeendent random variables then K n ( L var( var( L var( var n n h Probabilit-Berlin Chen 36

37 Illustrative amles (/3 amle.0. Variance of the Binomial. We consider n indeendent coin tosses with each toss having robabilit of coming u a head. For each i we let be the Bernoulli random variable which h is equal to if the i-th toss comes u a head and is 0 otherwise. Then L is a binomial random variable. n i Q var var ( ( for all i n i ( var( n( (Note that ' s are indeendent! i i i Probabilit-Berlin Chen 37

38 Illustrative amles (/3 amle.. Mean and Variance of the Samle Mean. We wish to estimate the aroval rating of a resident to be called B. To this end we ask n ersons drawn at random from the voter oulation and we let i be a random variable that encodes the resonse of the i-th erson: i if the i - th erson aroves B' s erformanc e 0 if the i - th erson disarove s B' s erformanc e i ssume that indeendent and are the same random variable (Bernoulli with the common arameter ( for Bernoulli which is unknown to us i are indeendent and identicall distributed (i.i.d. with If the samle mean S n (is a random variable is defined as L n n n Sn n arameter Probabilit-Berlin Chen 38

39 Illustrative amles (3/3 The eectation of S n will be the true mean of i L n n n [ i ] n i i ( for the Bernoulli [ S ] n [ ] we assumed here The variance of S will aroimate 0 if is large enough n L lim var ( S n var n n n ( var ( ( lim i i n lim lim n n n n n n Which means that Sn will be a good estimate of [ i ] if n is large enough n n 0 Probabilit-Berlin Chen 39

40 Recitation SCTION.5 Joint PMFs of Multile Random Variables Problems SCTION.6 Conditioning Problems SCTION.6 Indeendence Problems Probabilit-Berlin Chen 40

Discrete Random Variable

Discrete Random Variable Discrete Random Variable Outcome of a random experiment need not to be a number. We are generally interested in some measurement or numerical attribute of the outcome, rather than the outcome itself. n

More information

BERNOULLI TRIALS and RELATED PROBABILITY DISTRIBUTIONS

BERNOULLI TRIALS and RELATED PROBABILITY DISTRIBUTIONS BERNOULLI TRIALS and RELATED PROBABILITY DISTRIBUTIONS A BERNOULLI TRIALS Consider tossing a coin several times It is generally agreed that the following aly here ) Each time the coin is tossed there are

More information

7. Two Random Variables

7. Two Random Variables 7. Two Random Variables In man eeriments the observations are eressible not as a single quantit but as a amil o quantities. or eamle to record the height and weight o each erson in a communit or the number

More information

Introduction to Probability for Graphical Models

Introduction to Probability for Graphical Models Introduction to Probability for Grahical Models CSC 4 Kaustav Kundu Thursday January 4, 06 *Most slides based on Kevin Swersky s slides, Inmar Givoni s slides, Danny Tarlow s slides, Jaser Snoek s slides,

More information

Math 416 Lecture 3. The average or mean or expected value of x 1, x 2, x 3,..., x n is

Math 416 Lecture 3. The average or mean or expected value of x 1, x 2, x 3,..., x n is Math 416 Lecture 3 Expected values The average or mean or expected value of x 1, x 2, x 3,..., x n is x 1 x 2... x n n x 1 1 n x 2 1 n... x n 1 n 1 n x i p x i where p x i 1 n is the probability of x i

More information

Probabilistic Systems Analysis Spring 2018 Lecture 6. Random Variables: Probability Mass Function and Expectation

Probabilistic Systems Analysis Spring 2018 Lecture 6. Random Variables: Probability Mass Function and Expectation EE 178 Probabilistic Systems Analysis Spring 2018 Lecture 6 Random Variables: Probability Mass Function and Expectation Probability Mass Function When we introduce the basic probability model in Note 1,

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

V-0. Review of Probability

V-0. Review of Probability V-0. Review of Probabilit Random Variable! Definition Numerical characterization of outcome of a random event!eamles Number on a rolled die or dice Temerature at secified time of da 3 Stock Market at close

More information

Conditional Probability, Total Probability Theorem and Bayes Rule

Conditional Probability, Total Probability Theorem and Bayes Rule Conditional robability, Total robability Theorem and Bayes Rule Berlin Chen Department of Computer Science & Information Engineering National Taiwan Normal University Reference: - D.. Bertsekas, J. N.

More information

SDS 321: Introduction to Probability and Statistics

SDS 321: Introduction to Probability and Statistics SDS 321: Introduction to Probability and Statistics Lecture 2: Conditional probability Purnamrita Sarkar Department of Statistics and Data Science The University of Texas at Austin www.cs.cmu.edu/ psarkar/teaching

More information

The enumeration of all possible outcomes of an experiment is called the sample space, denoted S. E.g.: S={head, tail}

The enumeration of all possible outcomes of an experiment is called the sample space, denoted S. E.g.: S={head, tail} Random Experiment In random experiments, the result is unpredictable, unknown prior to its conduct, and can be one of several choices. Examples: The Experiment of tossing a coin (head, tail) The Experiment

More information

Probability Densities in Data Mining

Probability Densities in Data Mining Probabilit Densities in Data Mining Note to other teachers and users of these slides. Andrew would be delighted if ou found this source material useful in giving our own lectures. Feel free to use these

More information

The probability of an event is viewed as a numerical measure of the chance that the event will occur.

The probability of an event is viewed as a numerical measure of the chance that the event will occur. Chapter 5 This chapter introduces probability to quantify randomness. Section 5.1: How Can Probability Quantify Randomness? The probability of an event is viewed as a numerical measure of the chance that

More information

4 Lecture 4 Notes: Introduction to Probability. Probability Rules. Independence and Conditional Probability. Bayes Theorem. Risk and Odds Ratio

4 Lecture 4 Notes: Introduction to Probability. Probability Rules. Independence and Conditional Probability. Bayes Theorem. Risk and Odds Ratio 4 Lecture 4 Notes: Introduction to Probability. Probability Rules. Independence and Conditional Probability. Bayes Theorem. Risk and Odds Ratio Wrong is right. Thelonious Monk 4.1 Three Definitions of

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

ELEG 3143 Probability & Stochastic Process Ch. 2 Discrete Random Variables

ELEG 3143 Probability & Stochastic Process Ch. 2 Discrete Random Variables Department of Electrical Engineering University of Arkansas ELEG 3143 Probability & Stochastic Process Ch. 2 Discrete Random Variables Dr. Jingxian Wu wuj@uark.edu OUTLINE 2 Random Variable Discrete Random

More information

Random variables. Lecture 5 - Discrete Distributions. Discrete Probability distributions. Example - Discrete probability model

Random variables. Lecture 5 - Discrete Distributions. Discrete Probability distributions. Example - Discrete probability model Random Variables Random variables Lecture 5 - Discrete Distributions Sta02 / BME02 Colin Rundel Setember 8, 204 A random variable is a numeric uantity whose value deends on the outcome of a random event

More information

Lecture 10: Probability distributions TUESDAY, FEBRUARY 19, 2019

Lecture 10: Probability distributions TUESDAY, FEBRUARY 19, 2019 Lecture 10: Probability distributions DANIEL WELLER TUESDAY, FEBRUARY 19, 2019 Agenda What is probability? (again) Describing probabilities (distributions) Understanding probabilities (expectation) Partial

More information

Chapter 2 Random Variables

Chapter 2 Random Variables Stochastic Processes Chapter 2 Random Variables Prof. Jernan Juang Dept. of Engineering Science National Cheng Kung University Prof. Chun-Hung Liu Dept. of Electrical and Computer Eng. National Chiao Tung

More information

Discrete Random Variables

Discrete Random Variables Chapter 5 Discrete Random Variables Suppose that an experiment and a sample space are given. A random variable is a real-valued function of the outcome of the experiment. In other words, the random variable

More information

Split the integral into two: [0,1] and (1, )

Split the integral into two: [0,1] and (1, ) . A continuous random variable X has the iecewise df f( ) 0, 0, 0, where 0 is a ositive real number. - (a) For any real number such that 0, rove that the eected value of h( X ) X is E X. (0 ts) Solution:

More information

Exponential Ratio Type Estimators of Population Mean under Non-Response

Exponential Ratio Type Estimators of Population Mean under Non-Response Oen Journal of Statistics, 0,, 97-0 Published Online Februar 0 (htt://www.scir.org/journal/ojs) htt://d.doi.org/0.6/ojs.0.00 Eonential Ratio Te Estimators of Poulation Mean under Non-Resonse Lovleen Kumar

More information

Classical AI and ML research ignored this phenomena Another example

Classical AI and ML research ignored this phenomena Another example Wat is tis? Classical AI and ML researc ignored tis enomena Anoter eamle you want to catc a fligt at 0:00am from Pitt to SF, can I make it if I leave at 8am and take a Marta at Gatec? artial observability

More information

Chapter 1: PROBABILITY BASICS

Chapter 1: PROBABILITY BASICS Charles Boncelet, obability, Statistics, and Random Signals," Oxford University ess, 0. ISBN: 978-0-9-0005-0 Chater : PROBABILITY BASICS Sections. What Is obability?. Exeriments, Outcomes, and Events.

More information

Sample Spaces, Random Variables

Sample Spaces, Random Variables Sample Spaces, Random Variables Moulinath Banerjee University of Michigan August 3, 22 Probabilities In talking about probabilities, the fundamental object is Ω, the sample space. (elements) in Ω are denoted

More information

Uniform Law on the Unit Sphere of a Banach Space

Uniform Law on the Unit Sphere of a Banach Space Uniform Law on the Unit Shere of a Banach Sace by Bernard Beauzamy Société de Calcul Mathématique SA Faubourg Saint Honoré 75008 Paris France Setember 008 Abstract We investigate the construction of a

More information

Discrete Random Variables

Discrete Random Variables CPSC 53 Systems Modeling and Simulation Discrete Random Variables Dr. Anirban Mahanti Department of Computer Science University of Calgary mahanti@cpsc.ucalgary.ca Random Variables A random variable is

More information

Discrete Probability Refresher

Discrete Probability Refresher ECE 1502 Information Theory Discrete Probability Refresher F. R. Kschischang Dept. of Electrical and Computer Engineering University of Toronto January 13, 1999 revised January 11, 2006 Probability theory

More information

Conditional Probability

Conditional Probability Conditional Probability Idea have performed a chance experiment but don t know the outcome (ω), but have some partial information (event A) about ω. Question: given this partial information what s the

More information

Random variables (discrete)

Random variables (discrete) Random variables (discrete) Saad Mneimneh 1 Introducing random variables A random variable is a mapping from the sample space to the real line. We usually denote the random variable by X, and a value that

More information

RVs and their probability distributions

RVs and their probability distributions RVs and their probability distributions RVs and their probability distributions In these notes, I will use the following notation: The probability distribution (function) on a sample space will be denoted

More information

1 Random Experiments from Random Experiments

1 Random Experiments from Random Experiments Random Exeriments from Random Exeriments. Bernoulli Trials The simlest tye of random exeriment is called a Bernoulli trial. A Bernoulli trial is a random exeriment that has only two ossible outcomes: success

More information

Review of Probability Theory II

Review of Probability Theory II Review of Probability Theory II January 9-3, 008 Exectation If the samle sace Ω = {ω, ω,...} is countable and g is a real-valued function, then we define the exected value or the exectation of a function

More information

Preliminary Statistics Lecture 2: Probability Theory (Outline) prelimsoas.webs.com

Preliminary Statistics Lecture 2: Probability Theory (Outline) prelimsoas.webs.com 1 School of Oriental and African Studies September 2015 Department of Economics Preliminary Statistics Lecture 2: Probability Theory (Outline) prelimsoas.webs.com Gujarati D. Basic Econometrics, Appendix

More information

LECTURE 1. 1 Introduction. 1.1 Sample spaces and events

LECTURE 1. 1 Introduction. 1.1 Sample spaces and events LECTURE 1 1 Introduction The first part of our adventure is a highly selective review of probability theory, focusing especially on things that are most useful in statistics. 1.1 Sample spaces and events

More information

Probability Theory for Machine Learning. Chris Cremer September 2015

Probability Theory for Machine Learning. Chris Cremer September 2015 Probability Theory for Machine Learning Chris Cremer September 2015 Outline Motivation Probability Definitions and Rules Probability Distributions MLE for Gaussian Parameter Estimation MLE and Least Squares

More information

Introduction to Probability and Statistics

Introduction to Probability and Statistics Introduction to Probability and Statistics Chater 8 Ammar M. Sarhan, asarhan@mathstat.dal.ca Deartment of Mathematics and Statistics, Dalhousie University Fall Semester 28 Chater 8 Tests of Hyotheses Based

More information

Mathematical Foundations of Computer Science Lecture Outline October 18, 2018

Mathematical Foundations of Computer Science Lecture Outline October 18, 2018 Mathematical Foundations of Computer Science Lecture Outline October 18, 2018 The Total Probability Theorem. Consider events E and F. Consider a sample point ω E. Observe that ω belongs to either F or

More information

Recap of Basic Probability Theory

Recap of Basic Probability Theory 02407 Stochastic Processes Recap of Basic Probability Theory Uffe Høgsbro Thygesen Informatics and Mathematical Modelling Technical University of Denmark 2800 Kgs. Lyngby Denmark Email: uht@imm.dtu.dk

More information

2. AXIOMATIC PROBABILITY

2. AXIOMATIC PROBABILITY IA Probability Lent Term 2. AXIOMATIC PROBABILITY 2. The axioms The formulation for classical probability in which all outcomes or points in the sample space are equally likely is too restrictive to develop

More information

Review of probabilities

Review of probabilities CS 1675 Introduction to Machine Learning Lecture 5 Density estimation Milos Hauskrecht milos@pitt.edu 5329 Sennott Square Review of probabilities 1 robability theory Studies and describes random processes

More information

Recap of Basic Probability Theory

Recap of Basic Probability Theory 02407 Stochastic Processes? Recap of Basic Probability Theory Uffe Høgsbro Thygesen Informatics and Mathematical Modelling Technical University of Denmark 2800 Kgs. Lyngby Denmark Email: uht@imm.dtu.dk

More information

Chapter 7 Sampling and Sampling Distributions. Introduction. Selecting a Sample. Introduction. Sampling from a Finite Population

Chapter 7 Sampling and Sampling Distributions. Introduction. Selecting a Sample. Introduction. Sampling from a Finite Population Chater 7 and s Selecting a Samle Point Estimation Introduction to s of Proerties of Point Estimators Other Methods Introduction An element is the entity on which data are collected. A oulation is a collection

More information

The Longest Run of Heads

The Longest Run of Heads The Longest Run of Heads Review by Amarioarei Alexandru This aer is a review of older and recent results concerning the distribution of the longest head run in a coin tossing sequence, roblem that arise

More information

2.6 Tools for Counting sample points

2.6 Tools for Counting sample points 2.6 Tools for Counting sample points When the number of simple events in S is too large, manual enumeration of every sample point in S is tedious or even impossible. (Example) If S contains N equiprobable

More information

Great Theoretical Ideas in Computer Science

Great Theoretical Ideas in Computer Science 15-251 Great Theoretical Ideas in Computer Science Probability Theory: Counting in Terms of Proportions Lecture 10 (September 27, 2007) Some Puzzles Teams A and B are equally good In any one game, each

More information

Random Variable. Discrete Random Variable. Continuous Random Variable. Discrete Random Variable. Discrete Probability Distribution

Random Variable. Discrete Random Variable. Continuous Random Variable. Discrete Random Variable. Discrete Probability Distribution Random Variable Theoretical Probability Distribution Random Variable Discrete Probability Distributions A variable that assumes a numerical description for the outcome of a random eperiment (by chance).

More information

Name: Firas Rassoul-Agha

Name: Firas Rassoul-Agha Midterm 1 - Math 5010 - Spring 016 Name: Firas Rassoul-Agha Solve the following 4 problems. You have to clearly explain your solution. The answer carries no points. Only the work does. CALCULATORS ARE

More information

Massachusetts Institute of Technology

Massachusetts Institute of Technology 6.04/6.4: Probabilistic Systems Analysis Fall 00 Quiz Solutions: October, 00 Problem.. 0 points Let R i be the amount of time Stephen spends at the ith red light. R i is a Bernoulli random variable with

More information

Random Variables Example:

Random Variables Example: 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 5 s. Then X could be 0, 1, 2, 3, 4, 5, 6. X = 0 corresponds to the

More information

Biostat Methods STAT 5500/6500 Handout #12: Methods and Issues in (Binary Response) Logistic Regression

Biostat Methods STAT 5500/6500 Handout #12: Methods and Issues in (Binary Response) Logistic Regression Biostat Methods STAT 5500/6500 Handout #12: Methods and Issues in (Binary Resonse) Logistic Regression Recall general χ 2 test setu: Y 0 1 Trt 0 a b Trt 1 c d I. Basic logistic regression Previously (Handout

More information

Exercises with solutions (Set D)

Exercises with solutions (Set D) Exercises with solutions Set D. A fair die is rolled at the same time as a fair coin is tossed. Let A be the number on the upper surface of the die and let B describe the outcome of the coin toss, where

More information

More on Distribution Function

More on Distribution Function More on Distribution Function The distribution of a random variable X can be determined directly from its cumulative distribution function F X. Theorem: Let X be any random variable, with cumulative distribution

More information

UC Berkeley Department of Electrical Engineering and Computer Science. EE 126: Probablity and Random Processes. Problem Set 9 Fall 2007

UC Berkeley Department of Electrical Engineering and Computer Science. EE 126: Probablity and Random Processes. Problem Set 9 Fall 2007 UC Berkeley Department of Electrical Engineering and Computer Science EE 26: Probablity and Random Processes Problem Set 9 Fall 2007 Issued: Thursday, November, 2007 Due: Friday, November 9, 2007 Reading:

More information

STA 247 Solutions to Assignment #1

STA 247 Solutions to Assignment #1 STA 247 Solutions to Assignment #1 Question 1: Suppose you throw three six-sided dice (coloured red, green, and blue) repeatedly, until the three dice all show different numbers. Assuming that these dice

More information

MAT 271E Probability and Statistics

MAT 271E Probability and Statistics MAT 71E Probability and Statistics Spring 013 Instructor : Class Meets : Office Hours : Textbook : Supp. Text : İlker Bayram EEB 1103 ibayram@itu.edu.tr 13.30 1.30, Wednesday EEB 5303 10.00 1.00, Wednesday

More information

I - Probability. What is Probability? the chance of an event occuring. 1classical probability. 2empirical probability. 3subjective probability

I - Probability. What is Probability? the chance of an event occuring. 1classical probability. 2empirical probability. 3subjective probability What is Probability? the chance of an event occuring eg 1classical probability 2empirical probability 3subjective probability Section 2 - Probability (1) Probability - Terminology random (probability)

More information

Mathematical Expectation of a Random Variable

Mathematical Expectation of a Random Variable Mathematical ectation of a Random Variable Idea: mean value of a random variable Definition: Weighted mean of the values of the random variable P Condition for the eistence: P < Note: Infinite sets can

More information

Topic -2. Probability. Larson & Farber, Elementary Statistics: Picturing the World, 3e 1

Topic -2. Probability. Larson & Farber, Elementary Statistics: Picturing the World, 3e 1 Topic -2 Probability Larson & Farber, Elementary Statistics: Picturing the World, 3e 1 Probability Experiments Experiment : An experiment is an act that can be repeated under given condition. Rolling a

More information

Notes 12 Autumn 2005

Notes 12 Autumn 2005 MAS 08 Probability I Notes Autumn 005 Conditional random variables Remember that the conditional probability of event A given event B is P(A B) P(A B)/P(B). Suppose that X is a discrete random variable.

More information

Probability. Lecture Notes. Adolfo J. Rumbos

Probability. Lecture Notes. Adolfo J. Rumbos Probability Lecture Notes Adolfo J. Rumbos October 20, 204 2 Contents Introduction 5. An example from statistical inference................ 5 2 Probability Spaces 9 2. Sample Spaces and σ fields.....................

More information

1 Random variables and distributions

1 Random variables and distributions Random variables and distributions In this chapter we consider real valued functions, called random variables, defined on the sample space. X : S R X The set of possible values of X is denoted by the set

More information

Discrete Mathematics and Probability Theory Fall 2014 Anant Sahai Note 15. Random Variables: Distributions, Independence, and Expectations

Discrete Mathematics and Probability Theory Fall 2014 Anant Sahai Note 15. Random Variables: Distributions, Independence, and Expectations EECS 70 Discrete Mathematics and Probability Theory Fall 204 Anant Sahai Note 5 Random Variables: Distributions, Independence, and Expectations In the last note, we saw how useful it is to have a way of

More information

Lecture Lecture 5

Lecture Lecture 5 Lecture 4 --- Lecture 5 A. Basic Concepts (4.1-4.2) 1. Experiment: A process of observing a phenomenon that has variation in its outcome. Examples: (E1). Rolling a die, (E2). Drawing a card form a shuffled

More information

Chapter 5 Random vectors, Joint distributions. Lectures 18-23

Chapter 5 Random vectors, Joint distributions. Lectures 18-23 Chapter 5 Random vectors, Joint distributions Lectures 18-23 In many real life problems, one often encounter multiple random objects. For example, if one is interested in the future price of two different

More information

Conditional Probability (cont'd)

Conditional Probability (cont'd) Conditional Probability (cont'd) April 26, 2006 Conditional Probability (cont'd) Midterm Problems In a ten-question true-false exam, nd the probability that a student get a grade of 70 percent or better

More information

Venn Diagrams; Probability Laws. Notes. Set Operations and Relations. Venn Diagram 2.1. Venn Diagrams; Probability Laws. Notes

Venn Diagrams; Probability Laws. Notes. Set Operations and Relations. Venn Diagram 2.1. Venn Diagrams; Probability Laws. Notes Lecture 2 s; Text: A Course in Probability by Weiss 2.4 STAT 225 Introduction to Probability Models January 8, 2014 s; Whitney Huang Purdue University 2.1 Agenda s; 1 2 2.2 Intersection: the intersection

More information

Probability, Random Processes and Inference

Probability, Random Processes and Inference INSTITUTO POLITÉCNICO NACIONAL CENTRO DE INVESTIGACION EN COMPUTACION Laboratorio de Ciberseguridad Probability, Random Processes and Inference Dr. Ponciano Jorge Escamilla Ambrosio pescamilla@cic.ipn.mx

More information

Planar Transformations and Displacements

Planar Transformations and Displacements Chater Planar Transformations and Dislacements Kinematics is concerned with the roerties of the motion of oints. These oints are on objects in the environment or on a robot maniulator. Two features that

More information

Dynamic Programming Lecture #4

Dynamic Programming Lecture #4 Dynamic Programming Lecture #4 Outline: Probability Review Probability space Conditional probability Total probability Bayes rule Independent events Conditional independence Mutual independence Probability

More information

3 Multiple Discrete Random Variables

3 Multiple Discrete Random Variables 3 Multiple Discrete Random Variables 3.1 Joint densities Suppose we have a probability space (Ω, F,P) and now we have two discrete random variables X and Y on it. They have probability mass functions f

More information

Review (probability, linear algebra) CE-717 : Machine Learning Sharif University of Technology

Review (probability, linear algebra) CE-717 : Machine Learning Sharif University of Technology Review (probability, linear algebra) CE-717 : Machine Learning Sharif University of Technology M. Soleymani Fall 2012 Some slides have been adopted from Prof. H.R. Rabiee s and also Prof. R. Gutierrez-Osuna

More information

Chapter 2: Random Variables

Chapter 2: Random Variables ECE54: Stochastic Signals and Systems Fall 28 Lecture 2 - September 3, 28 Dr. Salim El Rouayheb Scribe: Peiwen Tian, Lu Liu, Ghadir Ayache Chapter 2: Random Variables Example. Tossing a fair coin twice:

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

Mathematics. Class 12th. CBSE Examination Paper 2015 (All India Set) (Detailed Solutions)

Mathematics. Class 12th. CBSE Examination Paper 2015 (All India Set) (Detailed Solutions) CBSE Eamination Paer (All India Set) (Detailed Solutions) Mathematics Class th z z. We have, z On aling R R R, we get z z z z (/) Taking common ( z) from R common from R, we get ( z)( ) z ( z)( ) [ R R

More information

CHAPTER 5 STATISTICAL INFERENCE. 1.0 Hypothesis Testing. 2.0 Decision Errors. 3.0 How a Hypothesis is Tested. 4.0 Test for Goodness of Fit

CHAPTER 5 STATISTICAL INFERENCE. 1.0 Hypothesis Testing. 2.0 Decision Errors. 3.0 How a Hypothesis is Tested. 4.0 Test for Goodness of Fit Chater 5 Statistical Inference 69 CHAPTER 5 STATISTICAL INFERENCE.0 Hyothesis Testing.0 Decision Errors 3.0 How a Hyothesis is Tested 4.0 Test for Goodness of Fit 5.0 Inferences about Two Means It ain't

More information

Probability Density Functions and the Normal Distribution. Quantitative Understanding in Biology, 1.2

Probability Density Functions and the Normal Distribution. Quantitative Understanding in Biology, 1.2 Probability Density Functions and the Normal Distribution Quantitative Understanding in Biology, 1.2 1. Discrete Probability Distributions 1.1. The Binomial Distribution Question: You ve decided to flip

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

ELEG 3143 Probability & Stochastic Process Ch. 1 Probability

ELEG 3143 Probability & Stochastic Process Ch. 1 Probability Department of Electrical Engineering University of Arkansas ELEG 3143 Probability & Stochastic Process Ch. 1 Probability Dr. Jingxian Wu wuj@uark.edu OUTLINE 2 Applications Elementary Set Theory Random

More information

Class 26: review for final exam 18.05, Spring 2014

Class 26: review for final exam 18.05, Spring 2014 Probability Class 26: review for final eam 8.05, Spring 204 Counting Sets Inclusion-eclusion principle Rule of product (multiplication rule) Permutation and combinations Basics Outcome, sample space, event

More information

STAT Chapter 3: Probability

STAT Chapter 3: Probability Basic Definitions STAT 515 --- Chapter 3: Probability Experiment: A process which leads to a single outcome (called a sample point) that cannot be predicted with certainty. Sample Space (of an experiment):

More information

Probability Theory Review

Probability Theory Review Cogsci 118A: Natural Computation I Lecture 2 (01/07/10) Lecturer: Angela Yu Probability Theory Review Scribe: Joseph Schilz Lecture Summary 1. Set theory: terms and operators In this section, we provide

More information

Topic 3: The Expectation of a Random Variable

Topic 3: The Expectation of a Random Variable Topic 3: The Expectation of a Random Variable Course 003, 2017 Page 0 Expectation of a discrete random variable Definition (Expectation of a discrete r.v.): The expected value (also called the expectation

More information

Lecture 3. Discrete Random Variables

Lecture 3. Discrete Random Variables Math 408 - Mathematical Statistics Lecture 3. Discrete Random Variables January 23, 2013 Konstantin Zuev (USC) Math 408, Lecture 3 January 23, 2013 1 / 14 Agenda Random Variable: Motivation and Definition

More information

¼ ¼ 6:0. sum of all sample means in ð8þ 25

¼ ¼ 6:0. sum of all sample means in ð8þ 25 1. Samling Distribution of means. A oulation consists of the five numbers 2, 3, 6, 8, and 11. Consider all ossible samles of size 2 that can be drawn with relacement from this oulation. Find the mean of

More information

1 Probability Spaces and Random Variables

1 Probability Spaces and Random Variables 1 Probability Saces and Random Variables 1.1 Probability saces Ω: samle sace consisting of elementary events (or samle oints). F : the set of events P: robability 1.2 Kolmogorov s axioms Definition 1.2.1

More information

Recap. The study of randomness and uncertainty Chances, odds, likelihood, expected, probably, on average,... PROBABILITY INFERENTIAL STATISTICS

Recap. The study of randomness and uncertainty Chances, odds, likelihood, expected, probably, on average,... PROBABILITY INFERENTIAL STATISTICS Recap. Probability (section 1.1) The study of randomness and uncertainty Chances, odds, likelihood, expected, probably, on average,... PROBABILITY Population Sample INFERENTIAL STATISTICS Today. Formulation

More information

Stationary independent increments. 1. Random changes of the form X t+h X t fixed h > 0 are called increments of the process.

Stationary independent increments. 1. Random changes of the form X t+h X t fixed h > 0 are called increments of the process. Stationary independent increments 1. Random changes of the form X t+h X t fixed h > 0 are called increments of the process. 2. If each set of increments, corresponding to non-overlapping collection of

More information

1 Gambler s Ruin Problem

1 Gambler s Ruin Problem Coyright c 2017 by Karl Sigman 1 Gambler s Ruin Problem Let N 2 be an integer and let 1 i N 1. Consider a gambler who starts with an initial fortune of $i and then on each successive gamble either wins

More information

MAT 271E Probability and Statistics

MAT 271E Probability and Statistics MAT 271E Probability and Statistics Spring 2011 Instructor : Class Meets : Office Hours : Textbook : Supp. Text : İlker Bayram EEB 1103 ibayram@itu.edu.tr 13.30 16.30, Wednesday EEB? 10.00 12.00, Wednesday

More information

Probability, Random Processes and Inference

Probability, Random Processes and Inference INSTITUTO POLITÉCNICO NACIONAL CENTRO DE INVESTIGACION EN COMPUTACION Laboratorio de Ciberseguridad Probability, Random Processes and Inference Dr. Ponciano Jorge Escamilla Ambrosio pescamilla@cic.ipn.mx

More information

Things to remember when learning probability distributions:

Things to remember when learning probability distributions: SPECIAL DISTRIBUTIONS Some distributions are special because they are useful They include: Poisson, exponential, Normal (Gaussian), Gamma, geometric, negative binomial, Binomial and hypergeometric distributions

More information

Statistical Concepts. Distributions of Data

Statistical Concepts. Distributions of Data Module : Review of Basic Statistical Concepts. Understanding Probability Distributions, Parameters and Statistics A variable that can take on any value in a range is called a continuous variable. Example:

More information

The Central Limit Theorem

The Central Limit Theorem The Central Limit Theorem Suppose n tickets are drawn at random with replacement from a box of numbered tickets. The central limit theorem says that when the probability histogram for the sum of the draws

More information

The Poisson Regression Model

The Poisson Regression Model The Poisson Regression Model The Poisson regression model aims at modeling a counting variable Y, counting the number of times that a certain event occurs during a given time eriod. We observe a samle

More information

14 - PROBABILITY Page 1 ( Answers at the end of all questions )

14 - PROBABILITY Page 1 ( Answers at the end of all questions ) - PROBABILITY Page ( ) Three houses are available in a locality. Three persons apply for the houses. Each applies for one house without consulting others. The probability that all the three apply for the

More information

4.2 Probability Models

4.2 Probability Models 4.2 Probability Models Ulrich Hoensch Tuesday, February 19, 2013 Sample Spaces Examples 1. When tossing a coin, the sample space is S = {H, T }, where H = heads, T = tails. 2. When randomly selecting a

More information

Probability Theory and Applications

Probability Theory and Applications Probability Theory and Applications Videos of the topics covered in this manual are available at the following links: Lesson 4 Probability I http://faculty.citadel.edu/silver/ba205/online course/lesson

More information

Binomial and Poisson Probability Distributions

Binomial and Poisson Probability Distributions Binomial and Poisson Probability Distributions Esra Akdeniz March 3, 2016 Bernoulli Random Variable Any random variable whose only possible values are 0 or 1 is called a Bernoulli random variable. What

More information

Department of Mathematics

Department of Mathematics Deartment of Mathematics Ma 3/03 KC Border Introduction to Probability and Statistics Winter 209 Sulement : Series fun, or some sums Comuting the mean and variance of discrete distributions often involves

More information