Download presentation
Presentation is loading. Please wait.
1
MAT 446 Supplementary Note for Ch 3
Myung Song, Ph.D. © 2009 W.H. Freeman and Company
2
Keller: Stats for Mgmt&Econ, 7th Ed.
May 8, 2018 Random Variables Definition For a given sample space S of some experiment, a random variable (rv) is any rule that associates a number with each outcome in S . In mathematical language, a random variable is a function whose domain is the sample space and whose range is the set of real numbers.
3
Random Variables 1. Flip a fair coin once S={H, T} X: # of heads
Example 1. Flip a fair coin once S={H, T} X: # of heads X(H)=1, X(T)=0 Any random variable whose only possible values are 0 and 1 is called a Bernoulli rv. 2. Free Throws (4 times) S={HHHH, HHHM, … MMMH, MMMM} X: # of hits then X= 0, 1, 2, 3, 4 X(MMMM) = 0, X(HHMM) = 2, X(HHHM) = 3, …
4
Two Types of Random Variables
Discrete rv (in Ch3) A discrete random variable is an rv whose possible values either constitute a finite set or else can be listed in an infinite sequence in which there is a first element, a second element, and so on. ex) Examples in the previous page.
5
Two Types of Random Variables
Continuous rv (in Ch4) A random variable is continuous if both of the following apply: 1. Its set of possible values consists either of (1) all numbers in a single interval on the number line (possibly infinite in extent) or (2) all numbers in a disjoint union of such intervals. ex) (1, 5), [2, 7] (10, 100) 2. No possible value of the variable has positive probability, that is, P(X = c) = 0 for any possible value c.
6
Probability Distributions for Discrete rv
Definition
7
Parameter Definition Suppose p(x) depends on a quantity that can be assigned any one of a number of possible values, with each different value determining a different probability distribution. Such a quantity is called a parameter of the distribution. The collection of all probability distributions for different values of the parameter is called a family of probability distributions. Tip: - Parameters are quantities explaining the characteristics of the distributions - They are associated with central location, variation, skewness, kurtosis,…..
8
Cumulative Distribution Function
Definition The cumulative distribution function (cdf) F(x) of a discrete rv X with pmf p(x) is defined for every number x by For any number x, F(x) is the probability that the observed value of X will be at most x.
9
Cumulative Distribution Function
Proposition
10
Cumulative Distribution Function
Properties 1. 2. F(x) is non-decreasing. 3. F(x) is right continuous i.e.
11
3.3 Expected Values of Discrete Random Variables
12
The Expected Value of X Definition
13
The Expected Value of X Ex) (after example 3.15) Let X be the number of credit cards owned by a randomly selected adults. The corresponding pmf is following: What is the expected number of credit cards? x 1 2 3 P(x) 0.1 0.2 0.4 0.3
14
The Expected Value of X Ex) Geometric Distribution (after Example 3.18) What is the expected value of X?
15
The Expected Value of a function
Proposition
16
The Expected Value of a function
Proposition
17
The Expected Value of a function
Ex) Credit Cards example – Continued (after example 3.22) What is the expected value of X-1? What is the expected value of 2X? What is the expected value of 2X+3?
18
The Variance of X Definition Let X have pmf p(x) and expected value m. Then the variance of X, denoted by V(X) or , or just The standard deviation (SD) of X is
19
The Shortcut Formula for Variance
Proposition
20
The Variance of X Ex) Credit Cards Let X be the number of credit cards owned by a randomly selected adults. The corresponding pmf is following: What is the variance of credit cards? (Hint: E(X) = 1.9) x 1 2 3 P(x) 0.1 0.2 0.4 0.3
21
The Rules of Variance Proposition
22
The Variance of X Ex) Credit Cards example – Continued
What is the variance of X-1? What is the variance and the standard deviation of 2X? What is the variance and the standard deviation of 2X+3?
23
3.4 Moments and Moment Generating Functions
24
Moment Definition Examples Why moments?
25
Moment Generating Function
Definition The moment generating function (mgf) of a discrete random variable X is defined to be where D is the set of possible X values. (note: Mx(t) is a function of t NOT x ) We will say that the mgf exists if it is defined for an open interval including 0.
26
Moment Generating Function
Examples - Example 3.26 - Bernoulli r.v. (related to Example 3.27) - Geometric Dist’n (related to Example 3.29)
27
Moment Generating Function
Proposition If the mgf exists and is the same for two distributions, then the two distributions are the same. That is, the mgf uniquely specifies the probability distribution; there is a one-to-one correspondence between distributions and mgf’s. Example
28
Moment Generating Function
Theorem For example,
29
Moment Generating Function
Example 3.31 Ex) Let X be the number of defectives by a randomly selected machine. The corresponding pmf is following: Calculate E(X) and V(X) by using mgf. X 1 2 P(x) 0.6 0.3 0.1
30
Moment Generating Function
Ex) Geometric Distribution (related to Example 3.32) What is the mgf of X? Calculate E(X) and V(X) by using mgf.
31
Cummulant Generating Function
Definition The Cummulant Generating Function of X, Rx(t) is defined as: Properties
32
Cummulant Generating Function
Ex) Geometric Distribution (related to Example 3.33) What is the cummulant generating function of X? Calculate E(X) and V(X) by using cummulant generating function
33
Binomial Probability Distribution
THE BINOMIAL SETTING The number of trials n is fixed before experiments For each trial, only two results “success” and “failure.” The trials are independent. The probability of a success p is fixed.
34
Binomial rv and Distribution
Definition Given a binomial experiment consisting of n trials, the binomial random variable X associated with this experiment is defined as X = the number of successes among the n trials Notation Because the pmf of a binomial rv X depends on the two parameters n and p, we denote the pmf by b(x; n, p). We will often write X ~ Bin(n, p) to indicate that X is a binomial rv based on n trials with success probability p.
35
Binomial rv and Distribution
Our first step in finding a formula for the binomial pmf that a binomial rv takes any value is adding probabilities for the different ways of getting exactly that many successes in n trials. Binomial Coefficient The number of ways of arranging k successes among n trials is given by the binomial coefficient, 𝑛 𝑘 = 𝑛! 𝑘! 𝑛−𝑘 ! , read “n choose k” (if nothing else, to distinguish it from the fraction 𝑛 𝑘 ), for k = 0, 1, 2, …, n. Note: factorial notation, 𝑛!=𝑛 𝑛−1 𝑛−2 ∙⋯∙ 0!=1
36
Binomial rv and Distribution
The binomial coefficient counts the number of different ways in which x successes can be arranged among n trials. The pmf b(x: n, p) is this count multiplied by the probability of any one specific arrangement of the x successes. Binomial Probability Probability of x successes Probability of n-x failures Number of arrangements of x successes
37
Binomial rv and Distribution
Notation
38
Expectation and Variance of X
Proposition If X ~ Bin(n, p), then
39
Moment Generating Function of X
Proposition If X ~ Bin(n, p), then
40
Poisson Probability Distribution
Introduction to Poisson Distribution The Poisson distribution is popular for modeling the number of times an (rare) event occurs in an interval of time or space. Example The number of meteors greater than 1 meter diameter that strike earth in a year. The number of patients arriving in an emergency room between 11 and 12 pm The number of London bombing in a week during WW2.
41
Poisson Probability Distribution
Definition A random variable X is said to have a Poisson distribution with parameter if the pmf of X is
42
Poisson Distribution as a Limit
As and such that the mean value remains constant Poisson Distribution as a Limit Proposition
43
The Mean, Variance and MGF of X
Proposition If X ~ Poisson( ), then and
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.