Discrete Random Variables: Basics

Slides:



Advertisements
Similar presentations
Acknowledgement: Thanks to Professor Pagano
Advertisements

Random Variable A random variable X is a function that assign a real number, X(ζ), to each outcome ζ in the sample space of a random experiment. Domain.
Chapter 5 Discrete Random Variables and Probability Distributions
Discrete Probability Distributions
Chapter 4 Discrete Random Variables and Probability Distributions
CSE 221: Probabilistic Analysis of Computer Systems Topics covered: Discrete random variables Probability mass function Distribution function (Secs )
Probability Distributions Finite Random Variables.
Probability Distributions
1 Engineering Computation Part 5. 2 Some Concepts Previous to Probability RANDOM EXPERIMENT A random experiment or trial can be thought of as any activity.
A random variable that has the following pmf is said to be a binomial random variable with parameters n, p The Binomial random variable.
CSE 221: Probabilistic Analysis of Computer Systems Topics covered: Special discrete distributions Sec
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
C4: DISCRETE RANDOM VARIABLES CIS 2033 based on Dekking et al. A Modern Introduction to Probability and Statistics Longin Jan Latecki.
Chapter 21 Random Variables Discrete: Bernoulli, Binomial, Geometric, Poisson Continuous: Uniform, Exponential, Gamma, Normal Expectation & Variance, Joint.
Prof. SankarReview of Random Process1 Probability Sample Space (S) –Collection of all possible outcomes of a random experiment Sample Point –Each outcome.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 4 and 5 Probability and Discrete Random Variables.
Discrete Random Variables: PMFs and Moments Lemon Chapter 2 Intro to Probability
Statistics for Engineer Week II and Week III: Random Variables and Probability Distribution.
Random Variables. A random variable X is a real valued function defined on the sample space, X : S  R. The set { s  S : X ( s )  [ a, b ] is an event}.
Binomial Experiment A binomial experiment (also known as a Bernoulli trial) is a statistical experiment that has the following properties:
ELEC 303, Koushanfar, Fall’09 ELEC 303 – Random Signals Lecture 5 – Probability Mass Function Farinaz Koushanfar ECE Dept., Rice University Sept 8, 2009.
COMP 170 L2 L17: Random Variables and Expectation Page 1.
King Saud University Women Students
Week 21 Conditional Probability Idea – have performed a chance experiment but don’t know the outcome (ω), but have some partial information (event A) about.
Topic 3 - Discrete distributions Basics of discrete distributions - pages Mean and variance of a discrete distribution - pages ,
Probability (outcome k) = Relative Frequency of k
Random Variables Example:
Probability Distributions, Discrete Random Variables
Discrete Random Variables. Introduction In previous lectures we established a foundation of the probability theory; we applied the probability theory.
C4: DISCRETE RANDOM VARIABLES CIS 2033 based on Dekking et al. A Modern Introduction to Probability and Statistics Longin Jan Latecki.
Engineering Probability and Statistics - SE-205 -Chap 3 By S. O. Duffuaa.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Business Statistics,
Random Variables Lecture Lecturer : FATEN AL-HUSSAIN.
Discrete Random Variable Random Process. The Notion of A Random Variable We expect some measurement or numerical attribute of the outcome of a random.
Random variables (r.v.) Random variable
Unit 5 Section 5-2.
C4: DISCRETE RANDOM VARIABLES
Engineering Probability and Statistics - SE-205 -Chap 3
Appendix A: Probability Theory
Bluman, Chapter 5.
Econometric Models The most basic econometric model consists of a relationship between two variables which is disturbed by a random error. We need to use.
Probability distributions
Some Discrete Probability Distributions
Introduction to Probability and Statistics
Sets and Probabilistic Models
Discrete Random Variables: Expectation, Mean and Variance
Further Topics on Random Variables: 1
Further Topics on Random Variables: Derived Distributions
Further Topics on Random Variables: Covariance and Correlation
Sets and Probabilistic Models
Independence and Counting
Discrete Random Variables: Joint PMFs, Conditioning and Independence
Discrete Random Variables: Basics
Berlin Chen Department of Computer Science & Information Engineering
Further Topics on Random Variables: Derived Distributions
Experiments, Outcomes, Events and Random Variables: A Revisit
Discrete Random Variables: Expectation, Mean and Variance
Discrete Random Variables: Expectation, Mean and Variance
Sets and Probabilistic Models
Independence and Counting
Berlin Chen Department of Computer Science & Information Engineering
Independence and Counting
Further Topics on Random Variables: Covariance and Correlation
Further Topics on Random Variables: Derived Distributions
Discrete Random Variables: Basics
Sets and Probabilistic Models
Continuous Random Variables: Basics
A random experiment gives rise to possible outcomes, but any particular outcome is uncertain – “random”. For example, tossing a coin… we know H or T will.
Chapter 11 Probability.
Presentation transcript:

Discrete Random Variables: Basics Berlin Chen Department of Computer Science & Information Engineering National Taiwan Normal University Reference: - D. P. Bertsekas, J. N. Tsitsiklis, Introduction to Probability , Sections 2.1-2.3

Random Variables Given an experiment and the corresponding set of possible outcomes (the sample space), a random variable associates a particular number with each outcome This number is referred to as the (numerical) value of the random variable We can say a random variable is a real-valued function of the experimental outcome One-to-one or many-to-one mapping

Random Variables: Example An experiment consists of two rolls of a 4-sided die, and the random variable is the maximum of the two rolls If the outcome of the experiment is (4, 2), the value of this random variable is 4 If the outcome of the experiment is (3, 3), the value of this random variable is 3 Can be one-to-one or many-to-one mapping

Main Concepts Related to Random Variables For a probabilistic model of an experiment A random variable is a real-valued function of the outcome of the experiment A function of a random variable defines another random variable We can associate with each random variable certain “averages” of interest such the mean and the variance A random variable can be conditioned on an event or on another random variable There is a notion of independence of a random variable from an event or from another random variable

Discrete/Continuous Random Variables A random variable is called discrete if its range (the set of values that it can take) is finite or at most countably infinite A random variable is called continuous (not discrete) if its range (the set of values that it can take) is uncountably infinite E.g., the experiment of choosing a point from the interval [−1, 1] A random variable that associates the numerical value to the outcome is not discrete In this chapter, we focus exclusively on discrete random variables

Concepts Related to Discrete Random Variables For a probabilistic model of an experiment A discrete random variable is a real-valued function of the outcome of the experiment that can take a finite or countably infinite number of values A (discrete) random variable has an associated probability mass function (PMF), which gives the probability of each numerical value that the random variable can take A function of a random variable defines another random variable, whose PMF can be obtained from the PMF of the original random variable

Probability Mass Functions A (discrete) random variable is characterized through the probabilities of the values that it can take, which is captured by the probability mass function (PMF) of , denoted The sum of probabilities of all outcomes that give rise to a value of equal to Upper case characters (e.g., ) denote random variables, while lower case ones (e.g., ) denote the numerical values of a random variable The summation of the outputs of the PMF function of a random variable over all it possible numerical values is equal to one are disjoint and form a partition of the sample space

Calculation of the PMF For each possible value of a random variable : 1. Collect all the possible outcomes that give rise to the event Add their probabilities to obtain An example: the PMF of the random variable = maximum roll in two independent rolls of a fair 4-sided die

Bernoulli Random Variable A Bernoulli random variable takes two values 1 and 0 with probabilities and , respectively PMF The Bernoulli random variable is often used to model generic probabilistic situations with just two outcomes 1. The toss of a coin (outcomes: head and tail) 2. A trial (outcomes: success and failure) 3. the state of a telephone (outcomes: free and busy) …

Binomial Random Variable (1/2) A binomial random variable has parameters and PMF The Bernoulli random variable can be used to model, e.g. 1. The number of heads in n independent tosses of a coin (outcomes: 1, 2, …,n), each toss has probability to be a head 2. The number of successes in n independent trials (outcomes: 1, 2, …,n ), each trial has probability to be successful Normalization Property

Binomial Random Variable (2/2)

Geometric Random Variable A geometric random variable has parameter PMF The geometric random variable can be used to model, e.g. The number of independent tosses of a coin needed for a head to come up for the first time, each toss has probability to be a head The number of independent trials until (and including) the first “success”, each trial has probability to be successful Normalization Property

Poisson Random Variable (1/2) A Poisson random variable has parameter PMF The Poisson random variable can be used to model, e.g. The number of typos in a book The numbers of cars involved in an accidents in a city on a given day Normalization Property McLaurin series

Poisson Random Variable (2/2)

Relationship between Binomial and Poisson The Poisson PMF with parameter is a good approximation for a binomial PMF with parameters and , provided that , is very large and is very small

Functions of Random Variables (1/2) Given a random variable , other random variables can be generated by applying various transformations on Linear Nonlinear Daily temperature in degree Fahrenheit Daily temperature in degree Celsius Sample Space one-to-one or many to one

Functions of Random Variables (2/2) That is, if is an function of ( ) , then is also a random variable If is discrete with PMF , then is also discrete and its PMF can be calculated using

Functions of Random Variables: An Example

Recitation SECTION 2.2 Probability Mass Functions Problems 3, 8, 10 SECTION 2.3 Functions of Random Variables Problems 13, 14