Which method? Probability

11 min · 5 drills

In the textbook: Ch. 5 Wahrscheinlichkeitsrechnung

The numbers do not tell probability tasks apart: everywhere percentages, shares, a number of attempts. The method is given away by one or two words of the “Angabe” (what the exam calls the task text):

  • “unabhängig” (independently)
  • “unter denen” (among whom)
  • “bis zum ersten Mal” (until the first time)
  • “normalverteilt” (normally distributed)

Two tasks with the same numbers. A mail filter flags 95 % of spam and, by mistake, 2 % of ordinary mail, and spam makes up 20 % of all mail. The first task asks what share of all mail is spam that the filter has flagged. In the second a mail is already flagged, and the question is how likely it is to be spam. In both you are tempted to take the ready 95 %.

In the first they only have to be applied to the spam: 0.20⋅0.95=0.19, the multiplication rule. In the second the 95 % is the share of flagged mail among spam, but the question asks for the share of spam among flagged mail. In all 0.19+0.80⋅0.02=0.206 is flagged, and the spam among it is 0.19/0.206≈0.922.

The numbers are the same; what is already known about the mail chose the method. So below, the method is chosen by what the task already states as known.

The methods of the chapter

The filter told apart two methods from one article. The chapter has more of them, and here is the full list by article:

Three questions before calculating

Going through the chapter's whole list of methods in the exam takes too long. It is quicker to ask the task three questions:

  1. Counting or measuring? A count (hits, customers, failures) is whole: shares, combinations, the binomial distribution, the first success. Time, weight are continuous: the area under the bell curve or F(t).
  2. Is there a group within which the question is asked? “Unter den …” (among the …), “falls” (if), “von denen” (of whom) set a condition: you divide by the share of that group.
  3. Is a probability asked, or a quantity? “Mit welcher Wahrscheinlichkeit” (with what probability) is a share. “Im Mittel” (on average), “Varianz” (variance), “welcher Wert” (which value) are the expected value, the spread or a bound.

From the task to the method

The answers to the three questions point to an article, and the tables below show which method in it you need. Each row has its own short task, the word that gives the method away, and the first step.

Probability as a share

MethodTaskSignalFirst step
One missing value in the tableX is 0, 1, 2, 3 with probabilities 0.2, 0.35, ?, 0.15. Find P(X≥2).one probability is missing from the table1−0.2−0.35−0.15=0.3
Prize draws and combinationsA lottery asks for 3 numbers out of 20. With what probability is the whole set right?a set is chosen, order does not matter(203)=1140 sets, answer 1/1140
Same days, all different4 people each choose a holiday month independently. With what probability do two coincide?“at least two the same”all different: 12⋅11⋅10⋅9124=0.5729
Arrangements with repeated lettersHow many different words can be made from the letters ANANAS?letters repeat6!3!⋅2!=60
Two groups without replacementA box has 6 red and 4 blue pens; 3 are taken. Probability of exactly 2 red?“ohne Zurücklegen” (without replacement), two groups(62)(41)=60 of (103)=120

Conditional probability

MethodTaskSignalFirst step
Four-field tableOf 400 students 240 work, 150 live in a dorm, 90 do both. How many do neither?two features and their combination400−240−150+90=100
From the intersection30 % of customers take a loan, 12 % a loan and insurance. What share of borrowers takes the insurance?“among those who …”0.12/0.30=0.4
Turning a condition roundA test detects 90 % of the ill and flags 5 % of the healthy; 2 % are ill. The test is positive: ill?shares within groups given, the group asked from the resultP(+)=0.02⋅0.9+0.98⋅0.05=0.067

Independence

MethodTaskSignalFirst step
Independent eventsA and B are independent, P(A)=0.3, P(B)=0.6. Find P(A∩B).“unabhängig” (independently)0.3⋅0.6=0.18
Systems of partsTwo pumps at 0.9 each in parallel, then a motor at 0.95. Probability that it runs?parts, “one is enough” or “all needed”group: 1−0.12=0.99
At least once and the first successA throw hits with 0.3. Probability that the first hit comes on the 3rd throw or later?“until the first time”number of the first hit W>2: 0.72=0.49

Expected value and variance

In the exam, amounts are written in GE, “Geldeinheiten”, monetary units: just money.

MethodTaskSignalFirst step
Two values with percentagesA price of 50 GE rises by 10 % with probability 0.4, otherwise falls by 5 %. Variance of the price?“with probability … otherwise …”values 55 and 47.5
Quadratic costs and E(X2)E(X)=8, σ=2, K=3X2. Find E(K).X2 in the formula, μ and σ givenE(X2)=4+64=68
Variance of a sumTwo independent securities at 50 % each, with σ of 0.2 and 0.1. Standard deviation of the portfolio?shares and “unabhängig”, a question about the spread0.25⋅0.04+0.25⋅0.01=0.0125

Normal distribution: probability as area

MethodTaskSignalFirst step
Area under the bellX normal, μ=70, σ=5. Find P(X>78).“normalverteilt”, a bound givenz=78−705=1.6
QuantilesThe same X. Which value is exceeded by 20 %?a share given, the bound askedleft 0.80, Tabelle 2: z=0.8416
LifetimeTime to failure T in years, F(t)=1−e−0.2t. Find P(T>5).time to failure, e in the function1−F(5)=e−1=0.3679

Number of successes in n trials

MethodTaskSignalFirst step
Binomial8 attempts with 0.3. Probability of exactly 3 successes?n identical attempts, number of successes(83)=56
Normal approximation400 attempts with 0.2. Find P(X≤70).large n, “at most”μ=80, σ=64=8, bound 70.5

Similar, but a different method

In the tables of the section “From the task to the method” the tasks of different methods differ visibly. It can be worse: as with the filter at the start, the tasks match almost word for word. The two tasks below sound almost the same, and the numbers are the same. One word tells them apart, and the methods differ.

Task ATask B
TaskAn attempt succeeds with 0.2. With what probability does exactly one of 5 attempts succeed?An attempt succeeds with 0.2. With what probability does at least one of 5 attempts succeed?
Askedexactly 1 success out of 51, 2, 3, 4 or 5 successes
Eventone success and 4 failures, the success in any of the 5 placesnot all 5 fail
MethodBinomial distributionFirst success on the k-th try: throws until the first hit
Calculation(51)⋅0.2⋅0.84=0.40961−0.85=0.6723

Check: “at least one” includes “exactly one”, so the probability in task B is larger: 0.6723>0.4096.

Recognising the task

In the pair “exactly one” and “at least one” the deciding word was in bold. In the tasks below nobody will highlight it. Below there are only task texts. Name the method for each; there is nothing to work out.

Your turn1 of 5

A lamp lasts 2000 hours on average; the lifetime is normally distributed, σ=150 hours. Which lifetime do 5 % of lamps fail to reach?

Your turn2 of 5

A machine gives a prize with probability 0.15 per game. A player plays until he wins. With what probability are 4 games enough for him?

Your turn3 of 5

60 % of orders are paid by card. Of the card payments 20 % are returned, of the others 10 %. What share of the returned orders was paid by card?

Your turn4 of 5

Processing one request takes 3 minutes on average, σ=1 minute, and requests are independent. With what probability do 50 requests take more than 160 minutes?

Your turn5 of 5

A deposit of 1600 GE grows by 4 % a year. After how many full years does it first exceed 2400 GE?

Now practise it

Practice exercises

Trainer · Probability

Practise
Next: Gaussian elimination: removing the unknowns one at a time
0/5

Was this article helpful?