372 - ms. vance's classroom€¦ · • under the stat calc menu, ask for 1-l)at~stats l 1,l2....

4
i 372 Part IV • Randomness and Probability Model List the possible values of the random variable, and determine the probability model. Mechanics Find the expected value. Find the variance. Find the standard deviation. Conclusion Interpret your results in context. REALITY CHE~ Both numbers seem reasonable. The expected value of $98.90is between the extremes of $0 and $1000,and there's great variability in the outcome values. I TI Tips Outcome x P(X = x) Two refurbs 1000 P(RR) = 0.057 One refurb 100 P(NR URN) = 0.2095 + 0.2095 = 0.419 New/new 0 P(NN) = 0.524 E(X) = 0(0.524) + 100(0.419) + 1000(0.057) = $98.90 Var(X) = (0 - 98.90)2 (0.524) + (100 - 98.90)2 (0.419) + (1000 - 98.90)2 (0.057) = 51,408.79 SD(X) = V51,408.79 = $226.735 I expect this mistake to cost the firm $98.90, with a standard deviation of $226.74. The large standard deviation reflects the fact that there's a pretty large range of possible losses. Ll L2 L~ 2 J) S2~B1 ------ UJ) MIl 1M(I ------ um -4/15*3....-14 I-Var Stats Ll,L 21 1-Var Stat.s 5<=99.04761905 Ix=99.04761905 Ix 2 =61333.3333 Sx= crx=226.986569 ..J..n=1 1 You can easily calculate means and standard deviations for a random variable with your TI. Let's do the Knowway computer example. • Enter the values of the variable in a list, say, L1: 0, 100, 1000. • Enter the probability model in another list, say, L2. Notice that you can enter the probabilities as fractions. For example, multiplying along the top branches of the tree gives the probability of a $1000loss to be 1~. {4' When you enter that, the TI will automatically calculate the probability as a decimal! • Under the STAT CALC menu, ask for 1- l)at~Stats L 1, L2. Now you see the mean and standard deviation (along with some other things). Don't fret that the calculator's mean and standard deviation aren't precisely the same as the ones we found. Such minor differences can arise whenever we round off probabilities to do the work by hand. Beware: Although the calculator knows enough to call the standard deviation if, it uses :x where it should say p,. Make sure you don't make that mistake!

Upload: others

Post on 18-Aug-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 372 - Ms. Vance's Classroom€¦ · • Under the STAT CALC menu, ask for 1-l)at~Stats L 1,L2. Now you see the mean and standard deviation (along with some other things). Don't fret

i372 Part IV • Randomness and Probability

Model List the possible values of the randomvariable, and determine the probabilitymodel.

Mechanics Find the expected value.

Find the variance.

Find the standard deviation.

Conclusion Interpret your results in context.

REALITY CHE~ Both numbers seem reasonable. The expectedvalue of $98.90is between the extremes of $0and $1000,and there's great variability in theoutcome values.

I TI Tips

Outcome x P(X = x)

Tworefurbs 1000 P(RR) = 0.057One refurb 100 P(NR URN) = 0.2095

+ 0.2095 = 0.419New/new 0 P(NN) = 0.524

E(X) = 0(0.524) + 100(0.419) + 1000(0.057)= $98.90

Var(X) = (0 - 98.90)2 (0.524)+ (100 - 98.90)2 (0.419)+ (1000 - 98.90)2 (0.057)

= 51,408.79

SD(X) = V51,408.79 = $226.735

I expect this mistake to cost the firm $98.90,with a standard deviation of $226.74. The largestandard deviation reflects the fact thatthere's a pretty large range of possible losses.

Ll L2 L~ 2J) S2~B1 ------UJ) MIl1M(I------

um -4/15*3....-14

I-Var Stats Ll,L21

1-Var Stat.s5<=99.04761905Ix=99.04761905Ix2=61333.3333Sx=crx=226.986569..J..n=11

You can easily calculate means and standard deviations for a random variablewith your TI. Let's do the Knowway computer example.

• Enter the values of the variable in a list, say,L1: 0, 100, 1000.• Enter the probability model in another list, say, L2. Notice that you can enter

the probabilities as fractions. For example, multiplying along the top branchesof the tree gives the probability of a $1000loss to be 1~. {4'When you enterthat, the TI will automatically calculate the probability as a decimal!

• Under the STAT CALC menu, ask for 1- l)at~Stats L 1, L2.

Now you see the mean and standard deviation (along with some other things).Don't fret that the calculator's mean and standard deviation aren't precisely thesame as the ones we found. Such minor differences can arise whenever we roundoff probabilities to do the work by hand.Beware: Although the calculator knows enough to call the standard deviation if, ituses :x where it should say p,. Make sure you don't make that mistake!

Page 2: 372 - Ms. Vance's Classroom€¦ · • Under the STAT CALC menu, ask for 1-l)at~Stats L 1,L2. Now you see the mean and standard deviation (along with some other things). Don't fret

Chapter 16 • Random Variables 373

More About Means and Variances

Our insurance company expected to payout an average of $20per policy, with astandard deviation of about $387.If we take the $50premium into account, we seethe company makes a profit of 50 - 20 = $30 per policy. Suppose the companylowers the premium by $5 to $45. It's pretty clear that the expected profit alsodrops an average of $5 per policy, to 45 - 20 = $25.

What about the standard deviation? Weknow that adding or subtracting a con-stant from data shifts the mean but doesn't change the variance or standard devi-ation. The same is true of random variables.1

E(X ± c) = E(X) ± c Var(X ± c) = Var(X)

What if the company decides to double all the payouts-that is, pay $20,000fordeaths and $10,000for disability? This would double the average payout per pol-icy and also increase the variability in payouts. We have seen that multiplying ordividing all data values by a constant changes both the mean and the standarddeviation by the same factor. Variance, being the square of standard deviation,changes by the square of the constant. The same is true of random variables. Ingeneral, multiplying each value of a random variable by a constant multiplies themean by that constant and the variance by the square of the constant.

E(aX) = aE(X) Var(aX) = a2Var(X)

This insurance company sells policies to more than just one person. How canwe figure means and variances for a collection of customers? For example, howcan the company find the total expected value (and standard deviation) of poli-cies taken over all policyholders? Consider a simple case: just two customers, Mr.Ecks and Ms. Wye. With an expected payout of $20 on each policy, we might ex-pect a total of $20 + $20 = $40to be paid out on the two policies. Nothing surpris-ing there. The expected value of the sum is the sum of the expected values.

The variability is another matter. Is the risk of insuring two people the same asthe risk of insuring one person for twice as much? We wouldn't expect bothclients to die or become disabled in the same year. Because we've spread the risk,the standard deviation should be smaller. Indeed, this is the fundamental princi-ple behind insurance. By spreading the risk among many policies, a company cankeep the standard deviation quite small and predict costs more accurately.

But how much smaller is the standard deviation of the sum? It turns out that,if the random variables are independent, there is a simple Addition Rule forvariances: The variance of the sum of two independent random variables is the sum oftheir individual variances.

For Mr. Ecks and Ms. Wye, the insurance company can expect their outcomes tobe independent, so (using X for Mr. Ecks's payout and Yfor Ms. Wye's)

Var(X + Y) = Var(X) + Var(Y)= 149,600+ 149,600= 299,200.

If they had insured only Mr. Ecks for twice as much, there would only be one out-come rather than two independent outcomes, so the variance would have been

1 The rules in this section are true for both discrete and continuous random variables.

Page 3: 372 - Ms. Vance's Classroom€¦ · • Under the STAT CALC menu, ask for 1-l)at~Stats L 1,L2. Now you see the mean and standard deviation (along with some other things). Don't fret

=

374 Part IV • Randomness and Probability

Pythagorean Theorem of StatisticsWe often use the standard deviation to measure variabil-ity, but when we add independent random variables, weuse their variances. Think of the Pythagorean Theorem.In a right triangle (only), the square of the length of thehypotenuse is the sum of the squares of the lengths ofthe other two sides:

c2 = a2 + b2.

For independent randomvariables (only), thesquare of the standarddeviation of their sum isthe sum of the squares oftheir standard deviations:

S02(X + Y) = S02(X) + S02(y).

c

Var(2X) = 22Var(X) = 4 X 149,600 = 598,400, or

twice as big as with two independent policies.Of course, variances are in squared units. The company

would prefer to know standard deviations, which are indollars. The standard deviation of the payout for two inde-pendent policies is \1299,200 = $546.99. But the standarddeviation of the payout for a single policy of twice the sizeis \1598,400 = $773.56, or about 40% more.

If the company has two customers, then, it will have anexpected annual total payout of $40 with a standard devia-tion of about $547.

In general,• The mean of the sum of two random variables is the sum of

the means.• The mean of the difference of two random variables is the

difference of the means.• If the random variables are independent, the variance of

their sum or difference is always the sum of the variances.

b

It's simpler to write this with variances:

Var(X + Y) = Var(X) + Var(Y).

Variances add-just ask Pythagoras!

a

E(X ± Y) = E(X) ± E(Y) Var(X ± Y) = Var(X) + Var(Y)

Wait a minute! Is that third part correct? Do we always add variances? Yes.Think about the two insurance policies. Suppose we want to know the mean andstandard deviation of the difference in payouts to the two clients. Since each policyhas an expected payout of $20, the expected difference is 20 - 20 = $0. If we alsosubtract variances, we get $0, too, and that surely doesn't make sense. Note that ifthe outcomes for the two clients are independent, the difference in payouts couldrange from $10,000 - $0 = $10,000 to $0 - $10,000 = -$10,000, a spread of$20,000. The variability in differences increases as much as the variability in sums.If the company has two customers, the difference in payouts has a mean of $0 anda standard deviation of about $547 (again) .

• For random variables, does X + X + X = 3X? Maybe, but be careful. As we'vejust seen, insuring one person for $30,000 is not the same risk as insuring three people for$10,000 each. When each instance represents a different outcome for the same randomvariable, though, it's easy to fall into the trap of writing all of them with the same symbol.Don't make this common mistake. Make sure you write each instance as a differentrandom variable. Just because each random variable describes a similar situation doesn'tmean that each random outcome will be the same.

These are random variables, not the variables you saw in Algebra. Being random, they takeon different values each time they're evaluated. So what you really mean is X1 + X2 + X3.

Written this way, it's clear that the sum shouldn't necessarily equal 3 times anything .•

e Suppose the time it takes a customer to get and pay for seats at the ticket window of abaseball park is a random variable with a mean of 100 seconds and a standard deviationof 50 seconds. When you get there, you find only two people in line in front of you.

a) How long do you expect to wait for your turn to get tickets?b) What's the standard deviation of your wait time?c) What assumption did you make about the two customers in finding the standard

deviation?

Page 4: 372 - Ms. Vance's Classroom€¦ · • Under the STAT CALC menu, ask for 1-l)at~Stats L 1,L2. Now you see the mean and standard deviation (along with some other things). Don't fret

Hitting the Road Step-By-Step

Chapter 16 • Random Variables 375

You're planning to spend next year wanderingthrough the mountains of Kyrgyzstan. Youplanto sell your used Isuzu Trooper so you can pur-chase an off-road Honda motor scooter whenyou get there. Used Isuzus of the year andmileage of yours are selling for a mean of $6940with a standard deviation of $250. Your re-search shows that scooters in Kyrgyzstan aregoing for about 65,000Kyrgyzstan soms with astandard deviation of 500 soms. You have tosurvive on your profit, so you want to estimatewhat you can expect in your pocket after thesale and subsequent purchase. One U'.S, dollaris worth about 43 Kyrgyzstan soms.

Plan State the problem.

Variables Define the random variables.

Write an appropriate equation.Check the conditions.

Mechanics Find the expected value, usingthe appropriate rules.

Find the variance, using the appropriaterules. Be sure to check the conditions first!

Find the standard deviation.

T~II Conclusion Interpret your results in context.(Here that means talking about dollars.)

REALITY CHEC-;!\ Given the initial cost estimates, the mean and~ standard deviation seem reasonable.

-lrII_1l<IuoWry

-.-~~(owro<""",,,)* ~"""coptol.....----_ ...

a loOllXIlloO_

so '00

1_~ ••••••_.v4""OJ'N

I want to estimate how much money I'd have(in soms) after selling my Isuzu and buying thescooter.

Let A = sale price of my Isuzu (in dollars),B = price of a scooter (in soms), andD = profit (in soms).

D = 43A - B

V Independence: The prices are independent.

E(D) = E(43A - B)= 43E(A) - E(B)= 43(6,940) - (65,000)

E(D) = 233,420 soms

Since sale and purchase prices are independent,Var(D) = Var(43A - B)

= Var(43A) + Var(B)= (43fVar(A) + Var(B)= 1849(250)2 + (500)2

Var(D) = 115,812,500

SD(D) = V115,812,500 = 10,762 soms

I can expect to clear about 233,420 soms witha standard deviation of 10,762 soms.

In dollars, I calculate a mean profit of about$5428, with a standard deviation of about$250.