1 / 23

DISCRETE RANDOM VARIABLES

DISCRETE RANDOM VARIABLES. RANDOM VARIABLES. A random variable assigns a numerical value to each simple event in the sample space Its value is determined by the outcome of a random experiment. TYPES OF RANDOM VARIABLES. Two types -- Discrete and Continuous Discrete

keely
Download Presentation

DISCRETE RANDOM VARIABLES

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. DISCRETE RANDOM VARIABLES

  2. RANDOM VARIABLES • A random variable assigns a numerical value to each simple event in the sample space • Its value is determined by the outcome of a random experiment

  3. TYPES OF RANDOM VARIABLES • Two types -- Discrete and Continuous • Discrete • # possible outcomes is finite – can list them all • Choose an integer between 1 and 5 • # possible outcomes is countably infinite • Choose any positive integer • Continuous -- infinite # of possible outcomes • Outcomes are from a bounded set • Choose any number on the real number line between 1- 5 • Outcomes are from an unbounded set • Choose any number on the real number line

  4. DISCRETE PROBABILITY DISTRIBUTIONS • Assigns probabilities to each possible outcome • Probabilities • Lie between 0 and 1 • Sum to 1

  5. EXAMPLE • Suppose Mount Vernon (MV) Ford in Alexandria, Va. has four Thunderbird automobiles in stock this weekend • X = the number of Thunderbirds MV Ford will sell from stock this weekend

  6. PROBABILITY DISTRIBUTION Suppose past data indicates that the number of sales in a weekend has the following probability distribution: Sales (x) Probability P(x) 0 .05 1 .25 2 .35 3 .30 4 .05

  7. PROBABILITIES • What is the probability that, this weekend MV Ford will sell: 1) Two Thunderbirds P(X=2) = .35 2) Between 1 and 3 Thunderbirds P(1  X  3) = P(1) + P(2) + P(3) = .25 + .35 + .30 = .90 3) Two or more Thunderbirds P(X  2) = P(2) + P(3) + P(4) = .35 + .30 + .05 = .70 4) Three or less Thunderbirds P(X  3) = P(0) + P(1) + P(2) + P(3) = .05 + .25 + .35 + .30 = .95

  8. Cumulative Probability X P(X) Cumulative P(Xx) 0 .05 .05 1 .25 .30 2 .35 .65 3 .30 .95 4 .05 1.00

  9. Cumulative Probability Approach What is the probability this weekend MV Ford will sell: 1) Two Thunderbirds P(X=2) = P(X  2)- P(X  1) = .65 - .30 = .35 2) Between 1 and 3 Thunderbirds P(1  X  3) = P(X  3) - P(X  0) because we want to include 3, 2, and 1 = .95 - .05 = .90 3) Two or more Thunderbirds P(X  2) = 1- P(X  1) because we want all the probability except that of 0 and 1 = 1-.30 = .70 4) Three or less Thunderbirds P(X  3) = .95 -- This is the cumulative probability.

  10. EXPECTED VALUE • The Expected Value E(X) of a random variable is the same as its mean  or X • E(X) = xp(x) • What is the mean number of Thunderbirds MV Ford would sell on weekends in which they have 4 Thunderbirds available? • E(X) = 0(.05) + 1(.25) + 2(.35) + 3(.30) + 4(.05) = 2.05

  11. A SECOND EXAMPLE Suppose Tustin Ford in Tustin, Ca. has 3 Thunderbirds in stock this weekend. Y = the number of Thunderbirds Tustin Ford will sell from stock this weekend and the probability distribution for their sales is: Sales (y) Probability P(y) 0 .20 1 .40 2 .25 3 .15

  12. Expected Sales at Tustin Ford • E(Y) = 0(.20) + 1(.40) + 2(.25) + 3(.15) = 1.35

  13. LAWS OF EXPECTATION • E(Constant) = Constant • E(cX) = cE(X) • Manufacturer pays MV Ford an incentive of $1000 for each Thunderbird sold • E(Incentive Amount) = E(1000X) = 1000E(X) = 1000(2.05) = $2050

  14. LAWS OF EXPECTATION (CONT’D) • E(X+Y) = E(X) + E(Y) • What is the expected total number of Thunderbirds sold by the two dealerships this weekend? • E(X+Y) = E(X) + E(Y) = 2.05 + 1.35 = 3.40 • E(X-Y) = E(X) - E(Y) • What is the expected difference in the number of Thunderbirds sold between the two dealerships this weekend? • E(X-Y) = E(X) - E(Y) = 2.05 - 1.35 = .70

  15. VARIANCE OF RANDOM VARIABLES • Suppose Wilson Ford’s distribution of Thunderbird sales this weekend is: W P(W) 2 .95 3 .05 E(W) = 2(.95) + 3(.05) = 2.05, the same as E(X)! But the sales at Wilson Ford (random variable W) have less variability than sales at MV Ford (the random variable X).

  16. VARIANCE • Var(X) = E(X - )2 = (x- )2p(x) or = E(X2) - 2 = x2p(x) - 2 X P(X) X -  (X - )2 X2 0 .05 -2.05 4.2025 0 1 .25 -1.05 1.1025 1 2 .35 -0.05 0.0025 4 3 .30 0.95 0.9025 9 4 .05 1.95 3.8025 16

  17. Var(X) and  • Var(X) = 4.2025(.05) + 1.1025(.25) + .00025(.35) + 0.9025(.30) + 3.8025(.05) = .9475 OR • Var(X) = (0(.05) + 1(.25) + 4(.35) + 9(.30) + 16(.05) ) - (2.05)2 = .9475

  18. =A2^2 Drag down to C5 =SUMPRODUCT(A2:A5,B2:B5) =SUMPRODUCT(C2:C5,B2:B5) - B7^2 =SQRT(B8) Spreadsheet for Calculating Mean and Variance of Y

  19. LAWS OF VARIANCE • Var(Constant) = 0 • Var(cX) = c2Var(X) Thus cX = cX • If X, Y independent • Var(X+Y) = Var(X) + Var(Y) • X+Y = SQRT(Var(X+Y)) • X+Y DOES NOT = X + Y • Var(X-Y) = Var(X) + Var(Y) -- Yes it is a “+” sign • X-Y = SQRT(Var(X-Y)) • X-Y DOES NOT = X - Y

  20. Example • What is the variance in the number of Thunderbirds MV Ford has in stock this weekend? Recall it has 4 available. • V(4) = 0 4 is a constant • Given that MV Ford makes $1000 in incentives for each Thunderbird sold, what is the standard deviation of the incentive amount received by MV Ford when it has 4 Thunderbirds available? • Var(1000X) = 10002Var(X) = 1,000,000(.9475) = 947,500

  21. Example (Cont’d) • Suppose that the number of Thunderbirds at MV Ford on the East Coast is independent of the number of Thunderbirds sold at Tustin Ford on the West Coast. (A reasonable assumption?) • What is the standard deviation in the total number of Thunderbirds sold by MV Ford and Tustin Ford? • Var(X+Y) = Var(X) + Var(Y) = .9475 + .9275 = 1.875

  22. Example (Cont’d) • What is the standard deviation of the difference in the number of sales between MV Ford and Tustin Ford? • Var(X-Y) = Var(X) + Var(Y) = .9475 + .9275 = 1.875

  23. REVIEW • Definition of Random Variables • Discrete or Continuous • Calculating Probabilities of Random Variables • “Long Way” • Cumulative Probability Approach • Calculation of Mean, Variance, Standard Deviation • Laws of Expectation • Laws of Variation

More Related