Chapter 3 Discrete Random Variables
|
|
- Dinah Sims
- 6 years ago
- Views:
Transcription
1 MICHIGAN STATE UNIVERSITY STT 351 SECTION 2 FALL 2008 LECTURE NOTES Chapter 3 Discrete Random Variables Nao Mimoto Contents 1 Random Variables 2 2 Probability Distributions for Discrete Variables 3 3 Expected Values and Variance 10 4 Popular Discrete Random Variables Bernoulli Random Variable Binomial Random Variable Geometric Random Variable Negative Binomial Random Variable Hypergeometric Random Variable Poisson Random Variable
2 Lecture notes for Devore 7ed. Chapter Random Variables Random Variable a real numbers. is a function whose domain is a sample space, and whose range is Example Roll a die once. Let a random variable X to be a number on the die. S = {1, 2, 3, 4, 5, 6} The the function X is mapping Example Roll a die twice. Let a random variable X to be the sum of two numbers. S = { (1, 1), (1, 2), (1, 3), (1, 4), (1, 5), (1, 6) (2, 1), (2, 2), (2, 3), (2, 4), (2, 5), (2, 6) (3, 1), (3, 2), (3, 3), (3, 4), (3, 5), (3, 6) (4, 1), (4, 2), (4, 3), (4, 4), (4, 5), (4, 6) (5, 1), (5, 2), (5, 3), (5, 4), (5, 5), (5, 6) (6, 1), (6, 2), (6, 3), (6, 4), (6, 5), (6, 6) } The the function X is mapping (1, 2) 3 (3, 3) 6 (4, 5) 9 (2, 2) 4.
3 Lecture notes for Devore 7ed. Chapter 3 3 Discrete Random Variable is a r.v. whose range is a finite or countably infinite set. Continuous Variable is a r.v. whose range is a interval on a real line or a disjoint union of such intervals. It also must satisfy that for any constant c, P (X = c) = 0. Exercise 1 A concrete beam may fail either by shear(s) or flexure (F). Suppose three of failed beams are randomly selected, and the type of failure is determined for each one. Let X be the number of beams among the three selected that failed by shear. List each outcome in the sample space, along with the associated value of X. S X (F, F, F ) 0 (F, F, S) 1 (F, S, S) 2 (S, S, S) 3 2 Probability Distributions for Discrete Variables Probability Mass Function: variable Xis defined as (pmf) or probability distribution of a discrete random p(x) = P (X = x) If x 1, x 2, x 3,... represent the range of random variable X, then p(x i ) 0 for i = 1, 2, 3,... p(x) 0 for all other values of x i=1 p(x i) = 1
4 Lecture notes for Devore 7ed. Chapter 3 4 Example Roll a die once. Let a random variable X to be a number on the die. The pmf of X is p(1) = P (X = 1) = 1/6 p(2) = P (X = 2) = 1/6 p(3) = P (X = 3) = 1/6 p(4) = P (X = 4) = 1/6 p(5) = P (X = 5) = 1/6 p(6) = P (X = 6) = 1/6
5 Lecture notes for Devore 7ed. Chapter 3 5 Example Roll a die twice. Let a random variable X to be the sum of two numbers. S = { (1, 1), (1, 2), (1, 3), (1, 4), (1, 5), (1, 6) (2, 1), (2, 2), (2, 3), (2, 4), (2, 5), (2, 6) (3, 1), (3, 2), (3, 3), (3, 4), (3, 5), (3, 6) (4, 1), (4, 2), (4, 3), (4, 4), (4, 5), (4, 6) (5, 1), (5, 2), (5, 3), (5, 4), (5, 5), (5, 6) (6, 1), (6, 2), (6, 3), (6, 4), (6, 5), (6, 6) } The pmf of X is p(1) = P (X = 1) = 0 p(2) = P (X = 2) = 1/36 p(3) = P (X = 3) = 2/36 p(4) = P (X = 4) = 3/36 p(5) = P (X = 5) = 4/36 p(6) = P (X = 6) = 5/36 p(7) = P (X = 7) = 6/36 p(8) = P (X = 8) = 5/36 p(9) = P (X = 9) = 4/36 p(10) = P (X = 10) = 3/36 p(11) = P (X = 11) = 2/36 p(12) = P (X = 12) = 1/36 p(13) = P (X = 13) = 0
6 Lecture notes for Devore 7ed. Chapter 3 6 Cumulative Distribution Function: (cdf) of a discrete random variable X with pmf p(x) is defined for all x on real line by F (x) = P (X x) = p(y) For any number x, F (x) is the probability that the observed value of X will be at most x. y:y x Example Roll a die once. Let a random variable X to be a number on the die. The cdf of X is F (1) = P (X 1) = 1/6 F (2) = P (X 2) = 2/6 F (3) = P (X 3) = 3/6 F (4) = P (X 4) = 4/6 F (5) = P (X 5) = 5/6 F (6) = P (X 6) = 6/6 Example Roll a die twice. Let a random variable X to be the sum of two numbers. The cdf of X is F (1) = P (X 1) = 0 F (2) = P (X 2) = 1/36 F (3) = P (X 3) = 3/36 F (4) = P (X 4) = 6/36 F (5) = P (X 5) = 10/36 F (6) = P (X 6) = 15/36 F (7) = P (X 7) = 21/36 F (8) = P (X 8) = 26/36 F (9) = P (X 9) = 30/36 F (10) = P (X 10) = 33/36 F (11) = P (X 11) = 35/36 F (12) = P (X 12) = 36/36 F (13) = P (X 13) = 36/36
7 Lecture notes for Devore 7ed. Chapter 3 7 pmf cdf If X is a discrete random variable, then P (a X b) = P (X b) P (X a) = F (b) F (a) For example, P (3 X 5) = F (5) F (2)
8 Lecture notes for Devore 7ed. Chapter 3 8 Exercises 13 A mail-order sales business have six telephone lines. Let X denote the number of lines in use at a specified time. Suppose the pmf of X is as follows: x p(x) Calculate the each of following probabilities: a P{ at most three lines are in use} = P (X 3) = (.1) + (.15) + (.2) + (.25) =.7 b P{ fewer than three lines are in use} = P (X < 3) = (.1) + (.15) + (.2) =.45 c P{ at least three lines are in use } = P (X 3) = 1 P (X 2) = 1.45 =.55 d P{ between two and five lines, inclusive, are in use} = P (2 X 5) = (.2) + (.25) + (.2) + (.06) =.71 e P{ between two and four lines, inclusive, are not in use} = P (2 X 4) = (.2) + (.25) + (.2)+ =.65 f P{ at least four lines are not in use} = P (X 2) = (.1) + (.15) =.25
9 Lecture notes for Devore 7ed. Chapter 3 9 Exercises 23 Given Calculate F (x) = 0 x < 0 P (X 0).06 0 x < 1 P (X 1).19 1 x < 2 P (X 2).39 2 x < 3 P (X 3).67 3 x < 4 P (X 4).92 4 x < 5 P (X 5).97 5 x < 6 P (X 6).1 6 x < 7 P (X 7) a p(2) b P (X > 3) = P (X = 2) = F (2) F (1) = =.2 = 1 P (X 3) = 1 F (3) = 1.39 =.61 c P (2 X 5) = P (X 5) P (X 2) = F (5) F (1) = =.78 d P (2 < X < 5) = P (X < 5) P (X < 2) = F (4) F (2) = =.53
10 Lecture notes for Devore 7ed. Chapter Expected Values and Variance Expected Value of a random variable X, whose range is x 1, x 2, x 3,... x n is defined as E(X) = µ = x i p(x i ) i=1 Example Roll a die once. Let a random variable X to be a number on the die. Then the expected value of X is E(X) = = 3.5 Example Roll a die twice. Let a random variable Y to be the sum of two numbers. Then, 1 E(Y ) = = 7 Expected Value of a function of random variable X, say g(x) is defined as E ( g(x) ) = g(x i ) p(x i ) i=1 Example Let a random variable X to be a number of the rolled die. Then E(X 2 ) = = ( 1 ) E = 1/1 1 X 6 + 1/ / / / /6 1 6 = Note that they are not equal to ( E(X) ) 2 and 1/E(x).
11 Lecture notes for Devore 7ed. Chapter 3 11 E(3X + 5) = ( ) ( ) + ( ) ( ) ( ) + ( ) = 15.5 Note that it is equal to 3E(X) + 5. Property 1 If a and b are constants, then E(aX + b) = ae(x) + b Variance of a random variable X is defined as V (X) = σ 2 = (x i µ) 2 p(x i ) = E ( X E(X) ) 2. i=1 Note that µ = E(X). Standard Deviation of X is defined as σ = σ 2. An alternate formula σ 2 = = = for a variance of a random variable X can be derived as follows: (x i µ) 2 p(x i ) i=1 (x 2 i 2x i µ + µ 2 ) p(x i ) i=1 x 2 i p(x i ) i=1 = E(X 2 ) 2µ 2x i µ p(x i ) + i=1 µ 2 p(x i ) i=1 x i p(x i ) +µ 2 p(x i ) i=1 = E(X 2 ) µ 2 ( = E(X 2 ) E(X) } {{ } µ ) 2 i=1 } {{ } 1
12 Lecture notes for Devore 7ed. Chapter 3 12 Property 1 If a and b are constants, then V (ax + b) = a 2 V (X) Example Let a random variable X to be a number of the rolled die. Then V (X) = (1 3.5) (2 3.5) (3 3.5) (4 3.5) (5 3.5) (6 3.5)2 1 6 = You could have gotten this by the alternative formula; V (X) = E(X 2 ) (E(X)) 2 = (3.5) 2 = Exercise 30 An individual who has auto insurance from a company A is randomly selected. Let Y be the number of moving violations for which the individual was cited during the last 3 years. The pdf of Y is y p(y) a Compute E(Y ). E(Y ) = 0(.6) + 1(.25) + 2(.1) + 3(.05) =.6. b Suppose an individual with Y violations incurs a surcharge of $100Y 2. Calculate the expected amount of the surcharge. ( ) E(100Y 2 ) = (.6) (.25) (.1) (.05) = 110.
13 Lecture notes for Devore 7ed. Chapter Popular Discrete Random Variables If you have a coin which has probability p of landing head up when tossed, then, Bernoulli(p) Binomial(p, n) Geometric(p, n) Negative Binomal(p, r) Toss a coin once. 1 if head, 0 if tail. Number of heads in n tosses Number of tosses until you get the first head Number of tails until you get r heads Other type of discrete random variables includes: Hypergeometric(n, N, m) Poisson(λ) Number of white balls if n balls selected from an urn with N balls which includes m whites. Rare event with rate λ per unit time.
14 Lecture notes for Devore 7ed. Chapter Bernoulli Random Variable Analogy: Toss a coin once. 1 if head, 0 if tail. pmf of Bernoulli(p) is { p(x = 0) = (1 p) pmf for Bernoulli(p) looks like p(x = 1) = p Does it add up? 1 p(x = x) = p + (1 p) x=0 = 1 Mean If r.v. X has Bernoulli(p) distribution, then E(X) = x i p(x i ) = (1)p + (0)(1 p) = p. i=1 Variance If r.v. X has Bernoulli(p) distribution, then E(X 2 ) = x 2 i p(x i ) = (1 2 )p + (0 2 )(1 p) = p. Therefore, V (X) = E(X 2 ) ( E(X) ) 2 = p p 2 = p(1 p) i=1
15 Lecture notes for Devore 7ed. Chapter Binomial Random Variable Analogy: Number of heads in n tosses. pmf of Binomial(n, p) is { b(x = x) = ( n x) (1 p) n x p x for x = 0, 1, 2,... n 0 otherwise pmf for Binomial(6,.5) looks like this pmf for Binomial(10,.2) looks like this
16 Lecture notes for Devore 7ed. Chapter 3 16 cdf of Binomial(n, p) is Does it add up? If you sum the pmf, B(x) = x y=0 ( ) n (1 p) n y p y. y 1 p(x = x) = x=0 = = p(x i ) i=1 = 1. ( ) n (1 p) n x p x x x=0 ( ) n p + (1 p) Mean If r.v. X has Binomial(n, p) distribution, then E(X) = by using the identity ( ) n x = x x i p(x i ) = i=1 = = ( ) n x (1 p) n x p x x ( ) n x (1 p) n x p x x ( ) n 1 n (1 p) n x p x x 1 x=0 x=1 x=1 xn! (n x)!x! = n(n 1)! (n x)!(x 1)! = n ( ) n 1, x 1 for x = 1, 2, 3,... n. Then we have ( ) n 1 E(X) = n (1 p) n x p x x 1 x=1 ( ) n 1 = n (1 p) n j 1 p j j j=0 }{{} pmf of Bin(n-1, p) = np p
17 Lecture notes for Devore 7ed. Chapter 3 17 Variance If r.v. X has Binomial(n, p) distribution, then E(X 2 ) = = = ( ) n x 2 (1 p) n x p x x ( ) n x 2 (1 p) n x p x x ( ) n 1 xn (1 p) n x p x x 1 x=0 x=1 x=1 by again using the identity ( ) ( ) n n 1 x = n, x x 1 for x = 1, 2, 3,... n. By changing the index to j = x 1, we have E(X) = ( ) n 1 n (j + 1) (1 p) n j 1 p j j j=0 }{{} pmf of Bin(n-1, p) = np E(Y + 1) p where Y is a r.v. with Bin(n 1, p) distribution. Since E(Y + 1) = E(Y ) + 1, we have Therefore, ( ) E(X 2 ) = n (n 1)p + 1 V (X) = E(X 2 ) ( E(X) ) 2 ( ) = n (n 1)p + 1 (np) 2 = np(1 p)
18 Lecture notes for Devore 7ed. Chapter 3 18 Exercise 47 Use Appendix Table A.1 to obtain the followings: a B(4; 15,.3) b b(4; 15,.3) c b(6; 15,.7) =.515 = B(4; 15,.3) B(3; 15,.3) = = B(6; 15,.7) B(5; 15,.7) = =.09 d P (2 X 4) when X Bin(15,.3) = B(4; 15,.3) B(1; 15,.3) = =.480 e P (2 X when X Bin(15,.3) = 1 P (X < 2) = 1 B(1; 15,.3) = =.965 f P (X 1) when X Bin(15,.7) = B(1, 15,.7) =.000 g P (2 < X < 6) when X Bin(15,.3) = B(5; 15,.3) B(2; 15,.3) = =.595 Exercise 49 A company that produces fine crystal knows from experience that 10% of its goblets have cosmetic flaws and must be classified as seconds. a Among six randomly selected goblets, how likely is it that only one is a second? This is Binomial(6,.1). So answer is b(1; 6,.1) = ( ) 6 (.9) 5 (.1) =
19 Lecture notes for Devore 7ed. Chapter 3 19 b Among six randomly selected goblets, what is the probability that at least two are seconds? = 1 P ( one is second) = 1 b(1; 6,.1) =.646 Exercise 58 A very large batch of components has arrived at a distributor. The batch can be characterized as acceptable only if the proportion of defective components is at most.1. The distributor decides to randomly select 10 samples from the batch, and accept the batch only if the number of defective components is the sample is at most 2. a What is the probability that the batch will be accepted when the actual proportion of defectives is.01?.05?.1?.2?.25? b Sketch operating characteristic curve. This problem can be modeled by Binomial(10,.1). So the probability of accepting the batch is P (X 2) = B(2; 10,.1) =.930 If actual proportion of defectives are different, then B(2; 10,.01) = 1 B(2; 10,.05) =.988 B(2; 10,.1) =.930 B(2; 10,.2) =.678 B(2; 10,.25) =.526
20 Lecture notes for Devore 7ed. Chapter 3 20 c Repeat the analysis with new rule of accepting the batch only if less than 1 out of 10 sample is defective. B(1; 10,.01) =.996 B(1; 10,.05) =.914 B(1; 10,.1) =.736 B(1; 10,.2) =.376 B(1; 10,.25) =.244 d Repeat the analysis with new rule of accepting the batch only if less than 2 out of 15 sample is defective. B(2; 15,.01) = 1 B(2; 15,.05) =.964 B(2; 15,.1) =.816 B(2; 15,.2) =.398 B(2; 15,.25) =.236
21 Lecture notes for Devore 7ed. Chapter Geometric Random Variable Analogy: Number of tosses until you get the first head. pmf of Geometric(p) is p(x = x) = (1 p) x 1 p for x = 1, 2,... pmf for Geometric(.5) looks like Does it add up? p(x = x) = x=1 = p = p (1 p) x p x=1 = p = 1 (1 p) x 1 x=1 (1 p) j j=0 1 1 (1 p) Mean If r.v. X has Geometric(n, p) distribution, then E(X) = 1 p
22 Lecture notes for Devore 7ed. Chapter 3 22 Variance If r.v. X has Geometric(n, p) distribution, then V (X) = 1 p p Negative Binomial Random Variable Analogy: Number of tails until you get r heads. pmf of Negativebinomial(r, p) p(x = x) = nb(x; r, p) = ( ) x+r 1 r 1 (1 p) x p r for x = 0, 1, 2,... pmf for Negativebinomial(3,.5) looks like Mean If r.v. X has Negativebinomial(r, p) distribution, then E(X) = r p
23 Lecture notes for Devore 7ed. Chapter 3 23 Variance If r.v. X has Negativebinomial(r, p) distribution, then V (X) = r(1 p) p Hypergeometric Random Variable Analogy: Number of white balls if n balls selected from an urn with N balls which includes m whites. Pmf of Hypergeometric(n, m, N) is ( m N m ) p(x = x) = h(x; n, M, N) = x)( n x ( N n) for max(0, n N + m) x min(n, m), and 0 otherwise. pmf for Hypergeometric(10, 10, 30) looks like Mean If r.v. X has Hypergeometric(n, m, N) distribution, then E(X) = nm N
24 Lecture notes for Devore 7ed. Chapter 3 24 Variance If r.v. X has Hypergeometric(n, m, N) distribution, then V (X) = N n ( N 1 nm 1 m ) N N Exercise 49 A company that produces fine crystal knows from experience that 10% of its goblets have cosmetic flaws and must be classified as seconds. c If goblets are examined one by one, what is the probability that at most five must be selected to find four that are not seconds? The number of seconds examined until four non-seconds is Negativebinomial(4,.9) distribution. Therefore, the answer is P (X 1) = p(0) + p(1)
25 Lecture notes for Devore 7ed. Chapter 3 25 Exercise 71 A geologist has collected 10 specimens of basaltic rock and 10 specimens of granite. The geologist instructs a laboratory assistant to randomly select 15 of the specimen for analysis. a What is the pmf of the number of granite specimen selected for analysis. b What is the probability hat all specimens of one of the two types of rock are selected for analysis. c What is the probability that the number of granite specimens selected for analysis is within 1 standard deviation of its mean value? So if you let X to be the number of granite specimen selected, then X is Hypergeometric(15, 10, 20). Therefore, b ( ) P ( all are basaltic ) ( all are granite) = P (( all are basaltic ) + P ( all are basaltic ) ( ) P ( all are basaltic ) ( all are granite) = P (X = 0) + P (X = 15) = h(0; 15, 10, 20) + h(15; 15, 10, 20) c SD for Hypergeometric(15, 20, 10) is N n ( σ = N 1 nm 1 m ) N N = = ( )
26 Lecture notes for Devore 7ed. Chapter Poisson Random Variable Analogy: Rare event with rate λ per unit time. pmf of Poisson(λ) is pmf for Poisson(λ) looks like p(x = x) = e λ λ x x! for x = 0, 1, 2,... Does it add up? p(x) = x=0 e λ λ x x=0 x! = e λ = e λ e λ = 1. x=0 λ x x! Using the identity e x = 1 + x + x2 2! + x3 3! + x4 4! +
27 Lecture notes for Devore 7ed. Chapter 3 27 Mean If r.v. X has Poisson(λ) distribution, then E(X) = x e λ λ x x! x=0 = e λ λ x 1 λ (x 1)! x=1 = λ e λ λ j j! j=0 }{{} by changing index to j = x-1 = λ Variance If r.v. X has Poisson(λ) distribution, then Therefore, E(X 2 ) = x 2 e λ λ x x! x=0 = λ x e λ λ x 1 (x 1)! x=1 = λ (j + 1) e λ λ j by changing index to j = x-1 j! j=0 ( = λ j e λ λ j ) e λ λ j + j! j! j=0 j=0 }{{} E(X) = λ(λ + 1) V (X) = E(X 2 ) ( E(X) ) 2 = λ(λ + 1) λ 2 = λ. Poisson as a limit If we let n, p 0, in such a way that np λ, then the pmf b(x; n, p) p(x; λ).
28 Lecture notes for Devore 7ed. Chapter 3 28 Exercise 80 Suppose the number X of tornadoes observed in a particular region during a 1-year period has a Poisson distribution with λ = 8. a Compute P (X 5) = p(0; 8) + p(1; 8) + p(2; 8) + p(3; 8) + p(4; 8) + p(5; 8). c What is the probability that the observed number of tornadoes exceeds the expected number by more than 1 standard deviation? Mean an SD for Poisson(8) is 8 and 8 = So the answer is P (X > 10.83) = P (X > 11) = 1 P (X 10). Exercise 88 If proof testing of circuit boards, the probability that an particular diode will fail is.01. Suppose a circuit board contains 200 diodes. a How many diodes would you expect to fail, and what is the standard deviation of the number that are expected to fail? Here we have Binomial(200,.01), which can be approximated by Poisson(200.01). Therefore, expected value is 2, and standard deviation is 2. b What is the approximate probability that at least four diodes will fail on a randomly selected board? Since we are looking at Poisson(2), from the table A.2. P ( at least 4) = 1 P (X 3) = =.143
29 Lecture notes for Devore 7ed. Chapter 3 29 c If five boards are shipped to a particular customer, how likely is it that at least four of them will work properly? Board will work only if all of 200 diodes works. Then P ( Board will work) = P (X = 0) =.135 Now each board will work with probability of.135, Choosing five board and see how many of them work is like Binomial(5,.135). Therefore, P ( at least four boards work) = b(4; 5,.135) + b(5; 5,.135) =
Mathematical Statistics 1 Math A 6330
Mathematical Statistics 1 Math A 6330 Chapter 3 Common Families of Distributions Mohamed I. Riffi Department of Mathematics Islamic University of Gaza September 28, 2015 Outline 1 Subjects of Lecture 04
More informationDiscrete random variables and probability distributions
Discrete random variables and probability distributions random variable is a mapping from the sample space to real numbers. notation: X, Y, Z,... Example: Ask a student whether she/he works part time or
More informationLecture 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 informationSTAT 430/510 Probability Lecture 7: Random Variable and Expectation
STAT 430/510 Probability Lecture 7: Random Variable and Expectation Pengyuan (Penelope) Wang June 2, 2011 Review Properties of Probability Conditional Probability The Law of Total Probability Bayes Formula
More informationMore 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 informationSDS 321: Introduction to Probability and Statistics
SDS 321: Introduction to Probability and Statistics Lecture 10: Expectation and Variance Purnamrita Sarkar Department of Statistics and Data Science The University of Texas at Austin www.cs.cmu.edu/ psarkar/teaching
More informationChapters 3.2 Discrete distributions
Chapters 3.2 Discrete distributions In this section we study several discrete distributions and their properties. Here are a few, classified by their support S X. There are of course many, many more. For
More informationRelationship between probability set function and random variable - 2 -
2.0 Random Variables A rat is selected at random from a cage and its sex is determined. The set of possible outcomes is female and male. Thus outcome space is S = {female, male} = {F, M}. If we let X be
More informationWeek 2. Review of Probability, Random Variables and Univariate Distributions
Week 2 Review of Probability, Random Variables and Univariate Distributions Probability Probability Probability Motivation What use is Probability Theory? Probability models Basis for statistical inference
More informationOutline 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 informationExpectations. Definition Let X be a discrete rv with set of possible values D and pmf p(x). The expected value or mean value of X, denoted by E(X ) or
Expectations Expectations Definition Let X be a discrete rv with set of possible values D and pmf p(x). The expected value or mean value of X, denoted by E(X ) or µ X, is E(X ) = µ X = x D x p(x) Expectations
More informationDefinition: 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
Random Variables 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 As such, a random variable summarizes the outcome of an experiment
More informationFundamental 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 informationBinomial 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 informationMath/Stat 352 Lecture 8
Math/Stat 352 Lecture 8 Sections 4.3 and 4.4 Commonly Used Distributions: Poisson, hypergeometric, geometric, and negative binomial. 1 The Poisson Distribution Poisson random variable counts the number
More informationMath Key Homework 3 (Chapter 4)
Math 3339 - Key Homework 3 (Chapter 4) Name: PeopleSoft ID: Instructions: Homework will NOT be accepted through email or in person. Homework must be submitted through CourseWare BEFORE the deadline. Print
More informationBinomial random variable
Binomial random variable Toss a coin with prob p of Heads n times X: # Heads in n tosses X is a Binomial random variable with parameter n,p. X is Bin(n, p) An X that counts the number of successes in many
More information1 Random Variable: Topics
Note: Handouts DO NOT replace the book. In most cases, they only provide a guideline on topics and an intuitive feel. 1 Random Variable: Topics Chap 2, 2.1-2.4 and Chap 3, 3.1-3.3 What is a random variable?
More informationSDS 321: Introduction to Probability and Statistics
SDS 321: Introduction to Probability and Statistics Lecture 14: Continuous random variables Purnamrita Sarkar Department of Statistics and Data Science The University of Texas at Austin www.cs.cmu.edu/
More informationStatistics for Economists. Lectures 3 & 4
Statistics for Economists Lectures 3 & 4 Asrat Temesgen Stockholm University 1 CHAPTER 2- Discrete Distributions 2.1. Random variables of the Discrete Type Definition 2.1.1: Given a random experiment with
More informationTopic 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 informationELEG 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 informationIntroduction to Probability and Statistics Slides 3 Chapter 3
Introduction to Probability and Statistics Slides 3 Chapter 3 Ammar M. Sarhan, asarhan@mathstat.dal.ca Department of Mathematics and Statistics, Dalhousie University Fall Semester 2008 Dr. Ammar M. Sarhan
More informationa zoo of (discrete) random variables
discrete uniform random variables A discrete random variable X equally liely to tae any (integer) value between integers a and b, inclusive, is uniform. Notation: X ~ Unif(a,b) a zoo of (discrete) random
More informationProbability 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 informationBrief Review of Probability
Maura Department of Economics and Finance Università Tor Vergata Outline 1 Distribution Functions Quantiles and Modes of a Distribution 2 Example 3 Example 4 Distributions Outline Distribution Functions
More information(Ch 3.4.1, 3.4.2, 4.1, 4.2, 4.3)
3 Probability Distributions (Ch 3.4.1, 3.4.2, 4.1, 4.2, 4.3) Probability Distribution Functions Probability distribution function (pdf): Function for mapping random variables to real numbers. Discrete
More information(Ch 3.4.1, 3.4.2, 4.1, 4.2, 4.3)
3 Probability Distributions (Ch 3.4.1, 3.4.2, 4.1, 4.2, 4.3) Probability Distribution Functions Probability distribution function (pdf): Function for mapping random variables to real numbers. Discrete
More informationThings 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 informationLecture 4: Random Variables and Distributions
Lecture 4: Random Variables and Distributions Goals Random Variables Overview of discrete and continuous distributions important in genetics/genomics Working with distributions in R Random Variables A
More informationCSE 312: Foundations of Computing II Random Variables, Linearity of Expectation 4 Solutions
CSE 31: Foundations of Computing II Random Variables, Linearity of Expectation Solutions Review of Main Concepts (a Random Variable (rv: A numeric function X : Ω R of the outcome. (b Range/Support: The
More informationAnalysis of Engineering and Scientific Data. Semester
Analysis of Engineering and Scientific Data Semester 1 2019 Sabrina Streipert s.streipert@uq.edu.au Example: Draw a random number from the interval of real numbers [1, 3]. Let X represent the number. Each
More informationExample 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).
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). First of all, we note that µ = 2 and σ = 2. (a) Since X 3 is equivalent
More informationRandom 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 informationRandom 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 informationMA/ST 810 Mathematical-Statistical Modeling and Analysis of Complex Systems
MA/ST 810 Mathematical-Statistical Modeling and Analysis of Complex Systems Review of Basic Probability The fundamentals, random variables, probability distributions Probability mass/density functions
More informationp. 4-1 Random Variables
Random Variables A Motivating Example Experiment: Sample k students without replacement from the population of all n students (labeled as 1, 2,, n, respectively) in our class. = {all combinations} = {{i
More informationNorthwestern University Department of Electrical Engineering and Computer Science
Northwestern University Department of Electrical Engineering and Computer Science EECS 454: Modeling and Analysis of Communication Networks Spring 2008 Probability Review As discussed in Lecture 1, probability
More informationSTAT2201. 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 informationName: 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 informationLecture 13. Poisson Distribution. Text: A Course in Probability by Weiss 5.5. STAT 225 Introduction to Probability Models February 16, 2014
Lecture 13 Text: A Course in Probability by Weiss 5.5 STAT 225 Introduction to Probability Models February 16, 2014 Whitney Huang Purdue University 13.1 Agenda 1 2 3 13.2 Review So far, we have seen discrete
More informationReview of Probability. CS1538: Introduction to Simulations
Review of Probability CS1538: Introduction to Simulations Probability and Statistics in Simulation Why do we need probability and statistics in simulation? Needed to validate the simulation model Needed
More information3.4. The Binomial Probability Distribution
3.4. The Binomial Probability Distribution Objectives. Binomial experiment. Binomial random variable. Using binomial tables. Mean and variance of binomial distribution. 3.4.1. Four Conditions that determined
More informationSTAT509: Discrete Random Variable
University of South Carolina September 16, 2014 Motivation So far, we have already known how to calculate probabilities of events. Suppose we toss a fair coin three times, we know that the probability
More informationAn-Najah National University Faculty of Engineering Industrial Engineering Department. Course : Quantitative Methods (65211)
An-Najah National University Faculty of Engineering Industrial Engineering Department Course : Quantitative Methods (65211) Instructor: Eng. Tamer Haddad 2 nd Semester 2009/2010 Chapter 3 Discrete Random
More informationDiscrete Distributions
A simplest example of random experiment is a coin-tossing, formally called Bernoulli trial. It happens to be the case that many useful distributions are built upon this simplest form of experiment, whose
More informationTo find the median, find the 40 th quartile and the 70 th quartile (which are easily found at y=1 and y=2, respectively). Then we interpolate:
Joel Anderson ST 37-002 Lecture Summary for 2/5/20 Homework 0 First, the definition of a probability mass function p(x) and a cumulative distribution function F(x) is reviewed: Graphically, the drawings
More informationChapter 2: Discrete Distributions. 2.1 Random Variables of the Discrete Type
Chapter 2: Discrete Distributions 2.1 Random Variables of the Discrete Type 2.2 Mathematical Expectation 2.3 Special Mathematical Expectations 2.4 Binomial Distribution 2.5 Negative Binomial Distribution
More informationWeek 6, 9/24/12-9/28/12, Notes: Bernoulli, Binomial, Hypergeometric, and Poisson Random Variables
Week 6, 9/24/12-9/28/12, Notes: Bernoulli, Binomial, Hypergeometric, and Poisson Random Variables 1 Monday 9/24/12 on Bernoulli and Binomial R.V.s We are now discussing discrete random variables that have
More informationSTAT 414: Introduction to Probability Theory
STAT 414: Introduction to Probability Theory Spring 2016; Homework Assignments Latest updated on April 29, 2016 HW1 (Due on Jan. 21) Chapter 1 Problems 1, 8, 9, 10, 11, 18, 19, 26, 28, 30 Theoretical Exercises
More informationClass 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 informationNotes for Math 324, Part 17
126 Notes for Math 324, Part 17 Chapter 17 Common discrete distributions 17.1 Binomial Consider an experiment consisting by a series of trials. The only possible outcomes of the trials are success and
More information1 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 information3 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 informationChapter 5. Chapter 5 sections
1 / 43 sections Discrete univariate distributions: 5.2 Bernoulli and Binomial distributions Just skim 5.3 Hypergeometric distributions 5.4 Poisson distributions Just skim 5.5 Negative Binomial distributions
More informationChapter 3. Discrete Random Variables and Their Probability Distributions
Chapter 3. Discrete Random Variables and Their Probability Distributions 2.11 Definition of random variable 3.1 Definition of a discrete random variable 3.2 Probability distribution of a discrete random
More informationST 371 (V): Families of Discrete Distributions
ST 371 (V): Families of Discrete Distributions Certain experiments and associated random variables can be grouped into families, where all random variables in the family share a certain structure and a
More informationCommon Discrete Distributions
Common Discrete Distributions Statistics 104 Autumn 2004 Taken from Statistics 110 Lecture Notes Copyright c 2004 by Mark E. Irwin Common Discrete Distributions There are a wide range of popular discrete
More informationQuick Tour of Basic Probability Theory and Linear Algebra
Quick Tour of and Linear Algebra Quick Tour of and Linear Algebra CS224w: Social and Information Network Analysis Fall 2011 Quick Tour of and Linear Algebra Quick Tour of and Linear Algebra Outline Definitions
More informationChapter 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 informationChapter 4 : Discrete Random Variables
STAT/MATH 394 A - PROBABILITY I UW Autumn Quarter 2015 Néhémy Lim Chapter 4 : Discrete Random Variables 1 Random variables Objectives of this section. To learn the formal definition of a random variable.
More informationContinuous Probability Spaces
Continuous Probability Spaces Ω is not countable. Outcomes can be any real number or part of an interval of R, e.g. heights, weights and lifetimes. Can not assign probabilities to each outcome and add
More informationRandom Variables. Definition: A random variable (r.v.) X on the probability space (Ω, F, P) is a mapping
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 informationS n = x + X 1 + X X n.
0 Lecture 0 0. Gambler Ruin Problem Let X be a payoff if a coin toss game such that P(X = ) = P(X = ) = /2. Suppose you start with x dollars and play the game n times. Let X,X 2,...,X n be payoffs in each
More informationDiscrete Random Variable Practice
IB Math High Level Year Discrete Probability Distributions - MarkScheme Discrete Random Variable Practice. A biased die with four faces is used in a game. A player pays 0 counters to roll the die. The
More informationChapter 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 informationSTAT 418: Probability and Stochastic Processes
STAT 418: Probability and Stochastic Processes Spring 2016; Homework Assignments Latest updated on April 29, 2016 HW1 (Due on Jan. 21) Chapter 1 Problems 1, 8, 9, 10, 11, 18, 19, 26, 28, 30 Theoretical
More informationPart (A): Review of Probability [Statistics I revision]
Part (A): Review of Probability [Statistics I revision] 1 Definition of Probability 1.1 Experiment An experiment is any procedure whose outcome is uncertain ffl toss a coin ffl throw a die ffl buy a lottery
More informationDISCRETE RANDOM VARIABLES: PMF s & CDF s [DEVORE 3.2]
DISCRETE RANDOM VARIABLES: PMF s & CDF s [DEVORE 3.2] PROBABILITY MASS FUNCTION (PMF) DEFINITION): Let X be a discrete random variable. Then, its pmf, denoted as p X(k), is defined as follows: p X(k) :=
More informationDiscrete 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 informationStatistics for Engineers Lecture 2 Discrete Distributions
Statistics for Engineers Lecture 2 Discrete Distributions Chong Ma Department of Statistics University of South Carolina chongm@email.sc.edu January 18, 2017 Chong Ma (Statistics, USC) STAT 509 Spring
More informationConditional 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 informationRandom Variables. Saravanan Vijayakumaran Department of Electrical Engineering Indian Institute of Technology Bombay
1 / 13 Random Variables Saravanan Vijayakumaran sarva@ee.iitb.ac.in Department of Electrical Engineering Indian Institute of Technology Bombay August 8, 2013 2 / 13 Random Variable Definition A real-valued
More informationRandom Variable And Probability Distribution. Is defined as a real valued function defined on the sample space S. We denote it as X, Y, Z,
Random Variable And Probability Distribution Introduction Random Variable ( r.v. ) Is defined as a real valued function defined on the sample space S. We denote it as X, Y, Z, T, and denote the assumed
More informationA random variable is a quantity whose value is determined by the outcome of an experiment.
Random Variables A random variable is a quantity whose value is determined by the outcome of an experiment. Before the experiment is carried out, all we know is the range of possible values. Birthday example
More informationIt can be shown that if X 1 ;X 2 ;:::;X n are independent r.v. s with
Example: Alternative calculation of mean and variance of binomial distribution A r.v. X has the Bernoulli distribution if it takes the values 1 ( success ) or 0 ( failure ) with probabilities p and (1
More informationApplied Statistics I
Applied Statistics I Liang Zhang Department of Mathematics, University of Utah June 17, 2008 Liang Zhang (UofU) Applied Statistics I June 17, 2008 1 / 22 Random Variables Definition A dicrete random variable
More informationLecture 08: Poisson and More. Lisa Yan July 13, 2018
Lecture 08: Poisson and More Lisa Yan July 13, 2018 Announcements PS1: Grades out later today Solutions out after class today PS2 due today PS3 out today (due next Friday 7/20) 2 Midterm announcement Tuesday,
More information1. Discrete Distributions
Virtual Laboratories > 2. Distributions > 1 2 3 4 5 6 7 8 1. Discrete Distributions Basic Theory As usual, we start with a random experiment with probability measure P on an underlying sample space Ω.
More informationProbabilistic 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 informationProbability, 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 informationHW on Ch Let X be a discrete random variable with V (X) = 8.6, then V (3X+5.6) is. V (3X + 5.6) = 3 2 V (X) = 9(8.6) = 77.4.
HW on Ch 3 Name: Questions:. Let X be a discrete random variable with V (X) = 8.6, then V (3X+5.6) is. V (3X + 5.6) = 3 2 V (X) = 9(8.6) = 77.4. 2. Let X be a discrete random variable with E(X 2 ) = 9.75
More informationTopic 9 Examples of Mass Functions and Densities
Topic 9 Examples of Mass Functions and Densities Discrete Random Variables 1 / 12 Outline Bernoulli Binomial Negative Binomial Poisson Hypergeometric 2 / 12 Introduction Write f X (x θ) = P θ {X = x} for
More informationLecture Notes 2 Random Variables. Discrete Random Variables: Probability mass function (pmf)
Lecture Notes 2 Random Variables Definition Discrete Random Variables: Probability mass function (pmf) Continuous Random Variables: Probability density function (pdf) Mean and Variance Cumulative Distribution
More informationCMPSCI 240: Reasoning Under Uncertainty
CMPSCI 240: Reasoning Under Uncertainty Lecture 5 Prof. Hanna Wallach wallach@cs.umass.edu February 7, 2012 Reminders Pick up a copy of B&T Check the course website: http://www.cs.umass.edu/ ~wallach/courses/s12/cmpsci240/
More informationSTA 111: Probability & Statistical Inference
STA 111: Probability & Statistical Inference Lecture Four Expectation and Continuous Random Variables Instructor: Olanrewaju Michael Akande Department of Statistical Science, Duke University Instructor:
More information1 Bernoulli Distribution: Single Coin Flip
STAT 350 - An Introduction to Statistics Named Discrete Distributions Jeremy Troisi Bernoulli Distribution: Single Coin Flip trial of an experiment that yields either a success or failure. X Bern(p),X
More informationThe mean, variance and covariance. (Chs 3.4.1, 3.4.2)
4 The mean, variance and covariance (Chs 3.4.1, 3.4.2) Mean (Expected Value) of X Consider a university having 15,000 students and let X equal the number of courses for which a randomly selected student
More informationMATH 3670 First Midterm February 17, No books or notes. No cellphone or wireless devices. Write clearly and show your work for every answer.
No books or notes. No cellphone or wireless devices. Write clearly and show your work for every answer. Name: Question: 1 2 3 4 Total Points: 30 20 20 40 110 Score: 1. The following numbers x i, i = 1,...,
More informationBNAD 276 Lecture 5 Discrete Probability Distributions Exercises 1 11
1 / 15 BNAD 276 Lecture 5 Discrete Probability Distributions 1 11 Phuong Ho May 14, 2017 Exercise 1 Suppose we have the probability distribution for the random variable X as follows. X f (x) 20.20 25.15
More informationDiscrete 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 informationLecture 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 informationConditional Probability
Conditional Probability Conditional Probability The Law of Total Probability Let A 1, A 2,..., A k be mutually exclusive and exhaustive events. Then for any other event B, P(B) = P(B A 1 ) P(A 1 ) + P(B
More informationCSE 312, 2011 Winter, W.L.Ruzzo. 6. random variables
CSE 312, 2011 Winter, W.L.Ruzzo 6. random variables random variables 23 numbered balls Ross 4.1 ex 1b 24 first head 25 probability mass functions 26 head count Let X be the number of heads observed in
More informationChapter 7: Theoretical Probability Distributions Variable - Measured/Categorized characteristic
BSTT523: Pagano & Gavreau, Chapter 7 1 Chapter 7: Theoretical Probability Distributions Variable - Measured/Categorized characteristic Random Variable (R.V.) X Assumes values (x) by chance Discrete R.V.
More informationChapter 3: Discrete Random Variable
Chapter 3: Discrete Random Variable Shiwen Shen University of South Carolina 2017 Summer 1 / 63 Random Variable Definition: A random variable is a function from a sample space S into the real numbers.
More informationChapter 2: The Random Variable
Chapter : The Random Variable The outcome of a random eperiment need not be a number, for eample tossing a coin or selecting a color ball from a bo. However we are usually interested not in the outcome
More informationIEOR 3106: Introduction to Operations Research: Stochastic Models. Professor Whitt. SOLUTIONS to Homework Assignment 1
IEOR 3106: Introduction to Operations Research: Stochastic Models Professor Whitt SOLUTIONS to Homework Assignment 1 Probability Review: Read Chapters 1 and 2 in the textbook, Introduction to Probability
More informationHomework 4 Solution, due July 23
Homework 4 Solution, due July 23 Random Variables Problem 1. Let X be the random number on a die: from 1 to. (i) What is the distribution of X? (ii) Calculate EX. (iii) Calculate EX 2. (iv) Calculate Var
More information