• No results found

Chapter 7 Webnotes.docx

N/A
N/A
Protected

Academic year: 2020

Share "Chapter 7 Webnotes.docx"

Copied!
7
0
0

Loading.... (view fulltext now)

Full text

(1)

Chapter 7: Random Variables

Section 7.1: Discrete and Continuous Random Variables

Random Variable: A variable, usually represented by an X, that has a single numerical value (determined by chance) for each outcome of an experiment.

Examples: 1) X = The number of seniors who get into college early. 2) X = The number of defective tires on a car

3) X = A random number chosen between 0 and 1 4) X = The lifetime of a light bulb.

a) Discrete Random Variable: Has a finite or countable number of values. (Examples 1 and 2)

b) Continuous Random variable: Has infinitely many values and the values can be associated with a continuous scale so that there are no gaps or interruptions. (Examples 3 and 4)

Probability Distribution: Gives the probability of each value of a random variable.

Eggs-ample: Suppose the random variable X is the number of broken eggs in a randomly selected carton of one dozen “store brand” eggs at a certain supermarket. Since the number of broken eggs is a discrete random variable, the probability distribution is a list or a table of the possible values of X and the corresponding probabilities

Number of Broken Eggs: 0 1 2 3 4 5

Probability: .65 .20 .08 .04 .02 .01

Requirements for a probability distribution:

1

)

p

(

X

)=

1

2)0≤p(X)≤1

Here is a probability Histogram that represents the above probability distribution:

(2)

Tossing Coins:

What is the probability distribution of the discrete random variable X that counts the number of heads in four tosses of a coin?

(3)

For a continuous random variable we use density curves, not histograms, to graphically represent the distribution:

Random Number Example: X is a random number between 0 and 2. The distribution is a continuous distribution and is represented by the uniform density curve below:

The probability of any event is the area under the density curve

P

(

1

x

2

)=

P

(

0

x

0.5

)=

P

(

x

0.3

)=

P

(

x

<

1.5

)=

P

(

x

>

1

)=

P

(

x

=

0.7

)=

If the curve is not uniform, you would need to use geometry or calculus to find the probability of an event P(X)

0.5

X

(4)

Section 7.2: Means and Variances of Random Variables

The Expected Value of a random variable represents the average value of the outcomes. The expected value is the mean of a probability distribution. It is found by finding the value of:

E

=

(

x

p

(

x

))

Looking back at the Probability distribution from the last example, we can calculate, on average, how many broken eggs there will be in a carton:

Number of Broken Eggs: 0 1 2 3 4 5

Probability: .65 .20 .08 .04 .02 .01

This means that “on average” we can expect that _________ eggs will be broken in a randomly selected carton of eggs.

Getting the Flu: The probability that 0, 1, 2, 3, or 4 people will seek treatment for the flu during any given hour at an emergency room is show in the probability distribution below.

x 0 1 2 3 4

P(x) .12 .25 ? .24 .06

a) What is the probability that 2 people will seek treatment for the flu during any given hour at an emergency room?

b.) What is the probability that at least 1 person will be treated for the flu in the next hour?

c.) What is the probability that 3 or more people will be treated for the flu in the next hour?

(5)

Expected Value and Games:

 Expected value can also be used to determine whether or not a particular game is “fair” and therefore worth playing.

Example: Patrick offers Christine to play a dice game whereby he will pay her $6 if she rolls a six, but Christine would have to pay Patrick $1 every time she rolls a number other than 6. Should Christine agree to play this game over a long period of time?

To find the expected value of a game multiply each payoff by its probability and then add.

Based on the above definition, the expected value for Christine is:

This means that for every roll of the die, Christine will earn, on average, $

1

6 , which also means that

Patrick will lose, on average $

1

6 for every roll of the die.

If Patrick and Christine were to play this game 100 times, how much money (on average) can Christine expect to make? How much can Patrick expect to lose?

Fair Game: We say that a game is “fair” whenever its expected value is equal to zero. For example, you win a dollar every time you toss a coin and get heads, and lose a dollar every time you get tails.

(6)

The Mean, variance, and standard deviation of a probability distribution

1) Mean a.k.a. Expected Value

μ

=

x

p

(

x

)

2) Variance 1)

σ

2

=

(

x

μ

)

2

p

(

x

)

2)

σ

2

=

[

x

2

p

(

x

)]−

μ

2

Note: The 2 formulas above are in the stat formula packet that you get on the AP

3) Standard Deviation (the square root of the variance)

σ

=

[

x

2

p

(

x

)]−

μ

2

Example: Find the mean, variance, and standard deviation of the following probability distribution:

Calculator Method: x P(x)

(7)

The Law of Large Numbers:

Draw independent observations at random from any population with finite mean µ. Decide how

accurately you would like to estimate µ. As the number of observations drawn increases, the mean x of the observed values eventually approaches the mean µ of the population as closely as you specified and then stays that close.

Rules for means & variances for two random variables

Here is an illustration of these important statistical formulas (which are NOT included on your AP Stat Formula packet)

If X and Y are any two random variables, then

μ

x+y

=

μ

x

+

μ

y

μ

xy

=

μ

x

μ

y

If X and Y are independent random variables, then σ2x+y=σ2x+σ2y

σ2xy

=σ 2 x +σ 2 y

(Note: Variances are added, not subtracted.)

Note: These "nice" rules do not hold for standard deviations

Example: Let’s say you started your own business on weekends. The business can bring you a profit on Saturday and Sunday based on various (independent) scenarios. The profits and their respective

probabilities for Saturday and Sunday are listed below:

μ

x

=

μ

y

=

μ

x

+

μ

y

=

μ

x

μ

y

=

σ

2x

=

σ

2y

=

(8)

$50.00 0.5

$100.00 0.4

SUM 1

Y= Sunday profit

y p(y)

$20.00 0.2

$60.00 0.3

$80.00 0.5

References

Related documents

During field visits to different microfinance organisations it has been observed that the dependency on the Group Leader, maintaining sub-groups (an important

Moreover, we find some evidence that firms that pay dividends tend to be the ones of larger size and higher profitability, but we find no evidence of a

Here is a bit more information...you play suit preference signals in Trumps, where a big card shows aversion to the lowest ranking suit and a small card shows either no preference

One Dell PowerEdge R720 ran a collaboration VM running Microsoft SharePoint Server 2010 SP1 on Windows Server 2008 R2 SP1 and a database VM running Microsoft SQL Server 2012

• Ranked #1 in Online Computer Information Technology Program (Computer Science) and Ranked Top 5 Online Graduate Engineering Program by the US News and.. World

Because of risk aversion, investors demand higher expected returns for taking on investments with greater risk. It is a well-established proposition in

Francisco Marcell´an: Departamento de Matem´aticas, Universidad Carlos III de Madrid, 28911 Legan´es, Spain. E-mail

On the other hand, when considering water quality tests (abnormal levels of microbiological and organoleptic elements) or child mortality rates as the dependent variable, a