21
Sections 4.1 and 4.2 Overview Random Variables

Sections 4.1 and 4.2 Overview Random Variables. PROBABILITY DISTRIBUTIONS This chapter will deal with the construction of probability distributions by

Embed Size (px)

Citation preview

Page 1: Sections 4.1 and 4.2 Overview Random Variables. PROBABILITY DISTRIBUTIONS This chapter will deal with the construction of probability distributions by

Sections 4.1 and 4.2

Overview

Random Variables

Page 2: Sections 4.1 and 4.2 Overview Random Variables. PROBABILITY DISTRIBUTIONS This chapter will deal with the construction of probability distributions by

PROBABILITY DISTRIBUTIONS

This chapter will deal with the construction of probability distributions by combining the methods of Chapter 2 with the those of Chapter 3.

Probability Distributions will describe what will probably happen instead of what actually did happen.

Page 3: Sections 4.1 and 4.2 Overview Random Variables. PROBABILITY DISTRIBUTIONS This chapter will deal with the construction of probability distributions by

COMBINING DESCRIPTIVE METHODS AND PROBABILITIES

In this chapter we will construct probability distributions by presenting possible outcomes along with the relative frequencies we expect.

Page 4: Sections 4.1 and 4.2 Overview Random Variables. PROBABILITY DISTRIBUTIONS This chapter will deal with the construction of probability distributions by

RANDOM VARIABLES AND PROBABILITY DISTRIBUTIONS

• A random variable is a variable (typically represented by x) that has a single numerical value, determined by chance, for each outcome of a procedure.

• A probability distribution is a graph, table, or formula that gives the probability for each value of a random variable.

Page 5: Sections 4.1 and 4.2 Overview Random Variables. PROBABILITY DISTRIBUTIONS This chapter will deal with the construction of probability distributions by

EXAMPLES

1. Suppose you toss a coin three times. Let x be the total number of heads. Make a table for the probability distribution of x.

2. Suppose you throw a pair of dice. Let x be the sum of the numbers on the dice. Make a table for the probability distribution of x.

Page 6: Sections 4.1 and 4.2 Overview Random Variables. PROBABILITY DISTRIBUTIONS This chapter will deal with the construction of probability distributions by

SAMPLE SPACE FOR ROLLING A PAIR OF DICE

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

Page 7: Sections 4.1 and 4.2 Overview Random Variables. PROBABILITY DISTRIBUTIONS This chapter will deal with the construction of probability distributions by
Page 8: Sections 4.1 and 4.2 Overview Random Variables. PROBABILITY DISTRIBUTIONS This chapter will deal with the construction of probability distributions by

DISCRETE AND CONTINUOUS RANDOM VARIABLES

• A discrete random variable has either a finite number of values or a countable number of values, where “countable” refers to the fact that there might be infinitely many values, but they can be associated with a counting process.

• A continuous random variable has infinitely many values, and those values can be associated with measurements on a continuous scale in such a way that there are no gaps or interruptions.

Page 9: Sections 4.1 and 4.2 Overview Random Variables. PROBABILITY DISTRIBUTIONS This chapter will deal with the construction of probability distributions by

EXAMPLES

1. Let x be the number of cars that travel through McDonald’s drive-through in the next hour.

2. Let x be the speed of the next car that passes a state trooper.

3. Let x be the number of As earned in a section of statistics with 15 students enrolled.

Determine whether the following are discrete or continuous random variables.

Page 10: Sections 4.1 and 4.2 Overview Random Variables. PROBABILITY DISTRIBUTIONS This chapter will deal with the construction of probability distributions by

PROBABILITY HISTORGRAM

A probability histogram is like a relative frequency histogram with probabilities instead of relative frequencies.

Page 11: Sections 4.1 and 4.2 Overview Random Variables. PROBABILITY DISTRIBUTIONS This chapter will deal with the construction of probability distributions by

EXAMPLES

1. Suppose you toss a coin three times. Let x be the total number of heads. Draw a probability histogram for x.

2. Suppose you throw a pair of dice. Let x be the sum of the numbers on the dice. Draw a probability histogram for x.

Page 12: Sections 4.1 and 4.2 Overview Random Variables. PROBABILITY DISTRIBUTIONS This chapter will deal with the construction of probability distributions by

REQUIREMENTS FOR A PROBABILITY DISTRIBUTION

ΣP(x) = 1 where x assumes all possible values

0 ≤ P(x) ≤ 1 for every individual value of x

Page 13: Sections 4.1 and 4.2 Overview Random Variables. PROBABILITY DISTRIBUTIONS This chapter will deal with the construction of probability distributions by

EXAMPLES

x P(x)

1 0.20

2 0.35

3 0.12

4 0.40

5 −0.07

x P(x)

1 0.20

2 0.25

3 0.10

4 0.14

5 0.49

Determine if the following are probability distributions

x P(x)

1 0.20

2 0.25

3 0.10

4 0.14

5 0.31

(a) (b) (c)

Page 14: Sections 4.1 and 4.2 Overview Random Variables. PROBABILITY DISTRIBUTIONS This chapter will deal with the construction of probability distributions by

MEAN, VARIANCE, AND STANDARD DEVIATION

Mean of a Prob. Dist.

22

222

22

)(

)(

)()(

)(

xPx

xPx

xPx

xPx

Variance of a Prob. Dist.

Standard Deviation of a Prob. Dist.

Page 15: Sections 4.1 and 4.2 Overview Random Variables. PROBABILITY DISTRIBUTIONS This chapter will deal with the construction of probability distributions by

1. Enter values for random variable in L1.

2. Enter the probabilities for the random variables in L2.

3. Run “1-VarStat L1, L2”

4. The mean will be . The standard deviation will be σx. To get the variance, square σx.

FINDIND MEAN, VARIANCE, AND STANDARD DEVIATION WITH

TI-83/84 CALCULATOR

x

Page 16: Sections 4.1 and 4.2 Overview Random Variables. PROBABILITY DISTRIBUTIONS This chapter will deal with the construction of probability distributions by

ROUND-OFF RULE FOR μ, σ, AND σ2

Round results by carrying one more decimal place than the number of decimal places used for the random variable x.

Page 17: Sections 4.1 and 4.2 Overview Random Variables. PROBABILITY DISTRIBUTIONS This chapter will deal with the construction of probability distributions by

MINIMUM AND MAXIMUMUSUAL VALUES

Recall:

minimum usual value = μ − 2σ

maximum usual value = μ + 2σ

Page 18: Sections 4.1 and 4.2 Overview Random Variables. PROBABILITY DISTRIBUTIONS This chapter will deal with the construction of probability distributions by

EXAMPLE

Use the range rule of thumb to determine the unusual values for rolling a pair of dice.

Page 19: Sections 4.1 and 4.2 Overview Random Variables. PROBABILITY DISTRIBUTIONS This chapter will deal with the construction of probability distributions by

IDENTIFYING UNUSUAL RESULTS USING PROBABILITIES

• Rare Event Rule: If, under a given assumption the probability of a particular observed event is extremely small, we conclude that the assumption is probably not correct.

• Unusually High: x successes among n trials is an unusually high number of successes if P(x or more) is very small (such as 0.05 or less).

• Unusually Low: x successes among n trials is an unusually low number of successes if P(x or fewer) is very small (such as 0.05 or less).

Page 20: Sections 4.1 and 4.2 Overview Random Variables. PROBABILITY DISTRIBUTIONS This chapter will deal with the construction of probability distributions by

EXAMPLE

Consider the procedure of rolling a pair of dice five times and letting x be the number of times that “7” occurs. The table below describes the probability distribution.

(a) Find the value of the missing probability.

(b) Would it be unusual to roll a pair of dice and get at least three “7s”?

x P(x)

0 0.402

1 0.402

2 ?

3 0.032

4 0.003

5 0.000+

Page 21: Sections 4.1 and 4.2 Overview Random Variables. PROBABILITY DISTRIBUTIONS This chapter will deal with the construction of probability distributions by

EXPECTED VALUE

The expected value of a discrete random variable is denoted by E, and it represents the average value of the outcomes. It is obtained by find the value of Σ[x · P(x)].

E = Σ[x · P(x)]

EXAMPLE: Exercise 19, 20, page 209.