Lecture 3. Discrete Random Variables

Similar documents
Lecture 1. ABC of Probability

Lecture 1. ABC of Probability

Random Variables Example:

Lecture 4. Continuous Random Variables and Transformations of Random Variables

SDS 321: Introduction to Probability and Statistics

Random Variables. Definition: A random variable (r.v.) X on the probability space (Ω, F, P) is a mapping

Fundamental Tools - Probability Theory II

Chapter 3 Discrete Random Variables

Binomial and Poisson Probability Distributions

Chapter 3. Chapter 3 sections

Things to remember when learning probability distributions:

Random variables. DS GA 1002 Probability and Statistics for Data Science.

Name: Firas Rassoul-Agha

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

Topic 3: The Expectation of a Random Variable

CMPSCI 240: Reasoning Under Uncertainty

Lecture 3: Random variables, distributions, and transformations

Mathematical Statistics 1 Math A 6330

Lecture 11. Probability Theory: an Overveiw

STAT2201. Analysis of Engineering & Scientific Data. Unit 3

Northwestern University Department of Electrical Engineering and Computer Science

Lecture 2: Repetition of probability theory and statistics

Math/Stat 352 Lecture 8

Example 1. Assume that X follows the normal distribution N(2, 2 2 ). Estimate the probabilities: (a) P (X 3); (b) P (X 1); (c) P (1 X 3).

X 1 ((, a]) = {ω Ω : X(ω) a} F, which leads us to the following definition:

Lecture Notes 2 Random Variables. Discrete Random Variables: Probability mass function (pmf)

Discrete Random Variables

Probability Review. Yutian Li. January 18, Stanford University. Yutian Li (Stanford University) Probability Review January 18, / 27

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

1 Random Variable: Topics

3 Multiple Discrete Random Variables

Lecture 10: Probability distributions TUESDAY, FEBRUARY 19, 2019

Relationship between probability set function and random variable - 2 -

MA/ST 810 Mathematical-Statistical Modeling and Analysis of Complex Systems

Bernoulli Trials, Binomial and Cumulative Distributions

Statistics and Econometrics I

1: PROBABILITY REVIEW

(Ch 3.4.1, 3.4.2, 4.1, 4.2, 4.3)

Guidelines for Solving Probability Problems

p. 4-1 Random Variables

More on Distribution Function

Random Variables. Will Perkins. January 11, 2013

Algorithms for Uncertainty Quantification

Methods of Mathematics

(Ch 3.4.1, 3.4.2, 4.1, 4.2, 4.3)

STAT509: Discrete Random Variable

BINOMIAL DISTRIBUTION

Binomial random variable

Lecture Notes 2 Random Variables. Random Variable

Topic 9 Examples of Mass Functions and Densities

Chapter 2: Random Variables

DISCRETE RANDOM VARIABLES: PMF s & CDF s [DEVORE 3.2]

Conditional Probability

Lecture 13. Poisson Distribution. Text: A Course in Probability by Weiss 5.5. STAT 225 Introduction to Probability Models February 16, 2014

Definition: A random variable X is a real valued function that maps a sample space S into the space of real numbers R. X : S R

Lecture 2. Distributions and Random Variables

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

1 Bernoulli Distribution: Single Coin Flip

Suppose that you have three coins. Coin A is fair, coin B shows heads with probability 0.6 and coin C shows heads with probability 0.8.

Lecture 1: Probability Fundamentals

Continuous Probability Spaces

MA 250 Probability and Statistics. Nazar Khan PUCIT Lecture 15

Fundamentals. CS 281A: Statistical Learning Theory. Yangqing Jia. August, Based on tutorial slides by Lester Mackey and Ariel Kleiner

The random variable 1

Notes 12 Autumn 2005

Lecture 2. Conditional Probability

1 Probability Model. 1.1 Types of models to be discussed in the course

1.6 Families of Distributions

Sample Spaces, Random Variables

IEOR 3106: Introduction to Operations Research: Stochastic Models. Professor Whitt. SOLUTIONS to Homework Assignment 1

Lecture 4: Random Variables and Distributions

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 3: Random Variables 1

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

Quick Tour of Basic Probability Theory and Linear Algebra

Common Discrete Distributions

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

Statistics for Engineers Lecture 2 Discrete Distributions

What is a random variable

Analysis of Engineering and Scientific Data. Semester

MATH/STAT 395. Introduction to Probability Models. Jan 7, 2013

Brief Review of Probability

1 Presessional Probability

ACM 116: Lecture 2. Agenda. Independence. Bayes rule. Discrete random variables Bernoulli distribution Binomial distribution

Introduction to Probability and Statistics Slides 3 Chapter 3

Lecture 1: August 28

Lecture Testing Hypotheses: The Neyman-Pearson Paradigm

4. Discrete Probability Distributions. Introduction & Binomial Distribution

Chapter 1 Probability Theory

Continuous-Valued Probability Review

MATH 3670 First Midterm February 17, No books or notes. No cellphone or wireless devices. Write clearly and show your work for every answer.

Random variables (discrete)

Conditional distributions (discrete case)

Chapter 2: Discrete Distributions. 2.1 Random Variables of the Discrete Type

Mathematical Statistics 1 Math A 6330

MATH Notebook 5 Fall 2018/2019

Introductory Probability

1.1 Review of Probability Theory

DS-GA 1002 Lecture notes 2 Fall Random variables

Transcription:

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 Cumulative Distribution Functions Properties of CDFs Discrete Random Variables Important Examples The Point Mass Distribution The Discrete Uniform Distribution The Bernoulli Distribution The Binomial Distribution The Geometric Distribution The Poisson Distribution Summary Konstantin Zuev (USC) Math 408, Lecture 3 January 23, 2013 2 / 14

Motivation and Definition Statistics is concerned with data. Question: How do we link sample spaces and events to data? Answer: The link is provided by the concept of a random variable. Definition A random variable is a mapping X : Ω R that assigns a real number x = X (ω) to each realization ω Ω. Remark: Technically, a random variable must be a measurable function. Example: Flip a coin 10 times. Let X (ω) be the number of heads in the sequence. For example, if ω = HHTHTTTHTH, then X (ω) = 5. Given a random variable X and a set A R, define and let X 1 (A) = {ω Ω : X (ω) A} P(X A) =P(X 1 (A)) = P({ω Ω : X (ω) A}) P(X = x) =P(X 1 (x)) = P({ω Ω : X (ω) = x}) Konstantin Zuev (USC) Math 408, Lecture 3 January 23, 2013 3 / 14

The Cumulative Distribution Function Definition The cumulative distribution function (CDF) F X : R [0, 1] is defined by F X (x) = P(X x) Example: Flip a fair coin twice and let X be the number of heads. Find the CDF of X Question: Why do we bother to define CDF? Answer: CDF effectively contains all the information about the random variable Theorem Let X have CDF F and Y have CDF G. If F (x) = G(x) for all x, then P(X A) = P(Y A). In words, the CDF completely determines the distribution of a random variable. Konstantin Zuev (USC) Math 408, Lecture 3 January 23, 2013 4 / 14

Properties of CDFs Question: Given a function F (x), can we find a random variable X such that F (x) is the CDF of X, F X (x) = F (x)? Theorem A function F : R [0, 1] is a CDF for some random variable if and only if it satisfies the following three conditions: 1 F is non-decreasing: x 1 < x 2 F (x 1 ) F (x 2 ) 2 F is normalized: lim F (x) = 0 and lim F (x) = 1 x x + 3 F is right-continuous: lim F (y) = F (x) y x+0 Konstantin Zuev (USC) Math 408, Lecture 3 January 23, 2013 5 / 14

Discrete Random Variables Definition X is discrete if it takes countable many values {x 1, x 2,...}. We define the probability mass function (PMF) for X by f X (x) = P(X = x) Example: Flip a fair coin twice and let X be the number of heads. Find the probability mass function of X. The CDF of X is related to the PMF f X by F X (x) = P(X x) = x i x f X (x i ) The PMF f X is related to the CDF F X by f X (x) = F X (x) F X (x ) = F X (x) lim F (y) y x 0 Konstantin Zuev (USC) Math 408, Lecture 3 January 23, 2013 6 / 14

Important Examples The Point Mass Distribution X has a point mass distribution at a, denoted X δ a, if P(X = a) = 1. In this case { 0, x < a; F (x) = 1, x a. and f (x) = { 1, x = a; 0, x a. The Discrete Uniform Distribution Let n > 1 be a given integer. Suppose that X has probability mass function given by { 1/n, for x = 1,..., n; f (x) = 0, otherwise. We say that X has a uniform distribution on 1,..., n. Konstantin Zuev (USC) Math 408, Lecture 3 January 23, 2013 7 / 14

Important Examples The Bernoulli Distribution Let X represents a coin flip. Then P(X = 1) = p and P(X = 0) = 1 p for some p [0, 1]. We say that X has a Bernoulli distribution, denoted X Bernoulli(p). The probability mass function is f (x p) = p x (1 p) 1 x, x {0, 1} The Binomial Distribution Suppose we have a coin which falls heads with probability p for some p [0, 1]. Flip the coin n times and let X be the number of heads. Assume that the tosses are independent. The probability mass function of X is then { ( n ) f (x n, p) = x p x (1 p) n x, if x = 0, 1,..., n; 0, otherwise. A random variable with this mass function is called a Binomial random variable and we write X Bin(n, p). Remark: X is a random variable, x denotes a particular value of the random variable, n and p are parameters, that is, fixed real numbers. The parameter p is usually unknown and must be estimated from data. Konstantin Zuev (USC) Math 408, Lecture 3 January 23, 2013 8 / 14

Binomial Distribution Bin(n, p) Binomial PMF f(x n,p) 0.1 0.09 0.08 0.07 0.06 0.05 0.04 0.03 0.02 0.01 n=100 p 1 =0.2 p 2 =0.5 p 3 =0.8 0 0 10 20 30 40 50 60 70 80 90 100 x Konstantin Zuev (USC) Math 408, Lecture 3 January 23, 2013 9 / 14

Important Examples The Geometric Distribution X has a geometric distribution with parameter p (0, 1), denoted X Geom(p), if f (x p) = p(1 p) x 1, x = 1, 2, 3... Think of X as the number of flips needed until the first heads when flipping a coin. Geometric distribution is used for modeling the number of trials until the first success. Konstantin Zuev (USC) Math 408, Lecture 3 January 23, 2013 10 / 14

Geometric Distribution Geom(p) Konstantin Zuev (USC) Math 408, Lecture 3 January 23, 2013 11 / 14

Important Examples The Poisson Distribution X has a Poisson distribution with parameter λ, denoted X Poisson(λ) if f (x λ) = e λ λx, x = 0, 1, 2,... x! The Poisson distribution is often used as a model for counts of rare events like traffic accidents. f (x λ) expresses the probability of a given number of events x occurring in a fixed interval of time if these events occur with a known average rate λ and independently of the time since the last event. Konstantin Zuev (USC) Math 408, Lecture 3 January 23, 2013 12 / 14

Poisson Distribution Poisson(λ) 0.4 λ=1 f(x λ) 0.2 f(x λ) 0 0 2 4 6 8 10 12 14 16 18 20 0.2 0.1 λ=5 0 0 2 4 6 8 10 12 14 16 18 20 0.2 λ=10 f(x λ) 0.1 0 0 2 4 6 8 10 12 14 16 18 20 x Konstantin Zuev (USC) Math 408, Lecture 3 January 23, 2013 13 / 14

Summary A random variable is a mapping X : Ω R that assigns a real number x = X (ω) to each realization ω Ω. The cumulative distribution function (CDF) is defined by F X (x) = P(X x) CDF completely determines the distribution of a random variable CDF is non-decreasing, normalized, and right-continuous Random variable X is discrete if it takes countable many values {x 1, x 2,...}. The probability mass function (PMF) of X is f X (x) = P(X = x) Relationships between CDF and PMF: F X (x) = P(X x) = x i x f X (x i ) f X (x) = F X (x) F X (x ) Konstantin Zuev (USC) Math 408, Lecture 3 January 23, 2013 14 / 14