chapter 6 random variables. make a sample space for tossing a fair coin 3 times
TRANSCRIPT
![Page 1: Chapter 6 Random Variables. Make a Sample Space for Tossing a Fair Coin 3 times](https://reader036.vdocuments.us/reader036/viewer/2022082611/56649e4b5503460f94b4016f/html5/thumbnails/1.jpg)
Chapter 6
Random Variables
![Page 2: Chapter 6 Random Variables. Make a Sample Space for Tossing a Fair Coin 3 times](https://reader036.vdocuments.us/reader036/viewer/2022082611/56649e4b5503460f94b4016f/html5/thumbnails/2.jpg)
Make a Sample Space for Tossing a Fair Coin 3 times.
![Page 3: Chapter 6 Random Variables. Make a Sample Space for Tossing a Fair Coin 3 times](https://reader036.vdocuments.us/reader036/viewer/2022082611/56649e4b5503460f94b4016f/html5/thumbnails/3.jpg)
How many “heads?”
O heads
1 head
2 heads
3 heads
![Page 4: Chapter 6 Random Variables. Make a Sample Space for Tossing a Fair Coin 3 times](https://reader036.vdocuments.us/reader036/viewer/2022082611/56649e4b5503460f94b4016f/html5/thumbnails/4.jpg)
Probability Distribution Table# of Heads (Value)
0 1 2 3
Probability
1. What is the probability of getting AT LEAST one head?
2. What is the probability of getting less than 3 heads?
3. What is the probability of getting one or less?
![Page 5: Chapter 6 Random Variables. Make a Sample Space for Tossing a Fair Coin 3 times](https://reader036.vdocuments.us/reader036/viewer/2022082611/56649e4b5503460f94b4016f/html5/thumbnails/5.jpg)
HistogramDraw a Histogram that represents the probability distribution.
![Page 6: Chapter 6 Random Variables. Make a Sample Space for Tossing a Fair Coin 3 times](https://reader036.vdocuments.us/reader036/viewer/2022082611/56649e4b5503460f94b4016f/html5/thumbnails/6.jpg)
Random Variable
• A number that describes the outcomes of a chance process.
• In the coin toss example, the random variable was the # of heads. (0,1,2 or 3)
2 types• Discrete-• Continuous-• Tossing a coin- continuous or discrete?
![Page 7: Chapter 6 Random Variables. Make a Sample Space for Tossing a Fair Coin 3 times](https://reader036.vdocuments.us/reader036/viewer/2022082611/56649e4b5503460f94b4016f/html5/thumbnails/7.jpg)
Discrete Random Variables (DRV)
• The probability distribution of a DRV must follow these rules:– Every probability must be a number between __
and __(fractions and decimals are ok)– The sum of the probabilities is __.– To find the value of an event, ____ the
probabilities of the values that make up the event.
![Page 8: Chapter 6 Random Variables. Make a Sample Space for Tossing a Fair Coin 3 times](https://reader036.vdocuments.us/reader036/viewer/2022082611/56649e4b5503460f94b4016f/html5/thumbnails/8.jpg)
CYU page 344
NC State posts the grade distributions for its courses online. Students taking Stats 101 last semester received 26% As, 42% Bs, 20% Cs, 10% Ds, and 2 % Fs. The student’s grade on a 4 point scale is a discrete random variable X with this probability distribution.
Value of x 0 1 2 3 4
Probability 0.02 0.10 0.20 0.42 0.26
![Page 9: Chapter 6 Random Variables. Make a Sample Space for Tossing a Fair Coin 3 times](https://reader036.vdocuments.us/reader036/viewer/2022082611/56649e4b5503460f94b4016f/html5/thumbnails/9.jpg)
QuestionsValue of x 0 1 2 3 4
Probability 0.02 0.10 0.20 0.42 0.26
1. Say in words what the meaning of P(x > 3) is. What is this probability?
2. Write the event “the student got a grade worse than C” in terms of values of the random variable X. What is the probability of this event?
3. Sketch a graph and describe what you see.
![Page 10: Chapter 6 Random Variables. Make a Sample Space for Tossing a Fair Coin 3 times](https://reader036.vdocuments.us/reader036/viewer/2022082611/56649e4b5503460f94b4016f/html5/thumbnails/10.jpg)
Mean of a DRV
The mean of a DRV is the expected value.
In other words, if you tossed a coin 3 times, what would you expect to happen?
If you took Stats 101 at NC State, what would you expect to happen?
Let’s use the example of a roulette wheel.
![Page 11: Chapter 6 Random Variables. Make a Sample Space for Tossing a Fair Coin 3 times](https://reader036.vdocuments.us/reader036/viewer/2022082611/56649e4b5503460f94b4016f/html5/thumbnails/11.jpg)
Roulette
• The rules:– 38 numbered slots. (1-36, 0 and 00)– Half red, half black– 0 and 00 are green– You can bet on a color, number, even/odd, etc.
![Page 12: Chapter 6 Random Variables. Make a Sample Space for Tossing a Fair Coin 3 times](https://reader036.vdocuments.us/reader036/viewer/2022082611/56649e4b5503460f94b4016f/html5/thumbnails/12.jpg)
Expected Value
• Suppose you bet $1 on red. If the ball lands in a red slot, you will get the dollar back, plus an additional dollar for winning the bet.
• If the ball lands in a different colored slot, you will lose the dollar.
• Define the random variable:• Possible values of x:• Probabilities of each possible value:
![Page 13: Chapter 6 Random Variables. Make a Sample Space for Tossing a Fair Coin 3 times](https://reader036.vdocuments.us/reader036/viewer/2022082611/56649e4b5503460f94b4016f/html5/thumbnails/13.jpg)
Probability Distribution
The “expected value” or mean is the player’s average gain.
![Page 14: Chapter 6 Random Variables. Make a Sample Space for Tossing a Fair Coin 3 times](https://reader036.vdocuments.us/reader036/viewer/2022082611/56649e4b5503460f94b4016f/html5/thumbnails/14.jpg)
NHL goalsGoals 0 1 2 3 4
Probability 0.061 0.154 0.228 0.229 0.173
5 6 7 8 9
0.094 0.041 0.015 0.004 0.001
Find the mean (expected value).
![Page 15: Chapter 6 Random Variables. Make a Sample Space for Tossing a Fair Coin 3 times](https://reader036.vdocuments.us/reader036/viewer/2022082611/56649e4b5503460f94b4016f/html5/thumbnails/15.jpg)
Try it on the calculator.
• See page 348 for instructions.
![Page 16: Chapter 6 Random Variables. Make a Sample Space for Tossing a Fair Coin 3 times](https://reader036.vdocuments.us/reader036/viewer/2022082611/56649e4b5503460f94b4016f/html5/thumbnails/16.jpg)
Standard Deviation of a DRV
• Find the variance and take the square root.• To find the variance, find the “average
squared deviation from the mean.”• In other words, find the deviation of each
value from the mean. Then, square each deviation. Finally, average them.
![Page 17: Chapter 6 Random Variables. Make a Sample Space for Tossing a Fair Coin 3 times](https://reader036.vdocuments.us/reader036/viewer/2022082611/56649e4b5503460f94b4016f/html5/thumbnails/17.jpg)
CYU page 349Cars Sold 0 1 2 3
Probability 0.3 0.4 0.2 0.1
Calculate and interpret the mean.
Calculate and interpret the standard deviation.
![Page 18: Chapter 6 Random Variables. Make a Sample Space for Tossing a Fair Coin 3 times](https://reader036.vdocuments.us/reader036/viewer/2022082611/56649e4b5503460f94b4016f/html5/thumbnails/18.jpg)
Continuous Random Variables (CRV)
• NOT possible to list all possible outcomes. • Examples: heights, weights, blood pressure,
etc.• Why is height a continuous variable?• Would shoe size be discrete or continuous or
discrete? Why?