FOR DUTCH STUDENTS! ENGLISH VERSION NEXT PAGE Toets Inleiding Kansrekening1 22 februari 2013 • Voeg aan het antwoord van een opgave altijd het bewijs, de berekening of de argumentatie toe. • Als je een onderdeel van een opgave niet kunt maken, ga dan toch door met de volgende onderdelen. Je mag daarbij de in eerdere onderdelen verschafte informatie gebruiken. • De (grafische) rekenmachine mag gebruikt worden bij het tentamen. De rekenmachine kan gebruikt worden om numerieke berekeningen uit te voeren. De rekenmachine kan echter NIET gebruikt worden om argumenten te geven voor verkregen oplossingen. Opgave 1 Laat A, B en C drie willekeurige onafhankelijke gebeurtenissen zijn. Laat zien dat A ∪ B en C ook onafhankelijk zijn. Geef bij de afleiding duidelijk aan welke eigenschappen van de (kans)functie P je gebruikt! Opgave 2 In het huidige wielerpeloton gebruikt 10% van de renners doping. Wanneer een dopingtest wordt uitgevoerd bij een wielrenner die doping gebruikt dan wordt in 90% van de gevallen positief getest, bij een renner die geen doping gebruikt gebeurt dat in 1% van de gevallen. a) Bereken de kans dat een willekeurige geselecteerde renner een positieve test aflevert. b) In het geval dat een renner een positieve test aflevert, wat is dan de kans dat hij daadwerkelijk doping heeft gebruikt? c) Bereken de kans dat een renner die geen doping gebruikt bij tien achtereenvolgende (onafhankelijk uitgevoerde) dopingtesten, minstens ´e´en keer positief wordt bevonden. Zie ommezijde voor overige opgaven 1 Deze toets telt voor 20% mee in het cijfer voor het vak Inleiding Kansrekening. Puntentelling toets: opgave 1: 2 pt; opgave 2: 3 pt; opgave 3: 3 pt; opgave 4: 2 pt.
Opgave 3 In een doos zitten 3 zwarte, 4 rode en 5 groene ballen. Op volstrekt willekeurige wijze worden er 3 ballen uit de doos gepakt. a) Bereken de kans op 2 rode en 1 groene bal als de ballen zonder teruglegging gepakt worden. b) Bereken de kans op 2 rode en 1 groene bal als de ballen met teruglegging gepakt worden. c) Laat X het aantal rode ballen zijn dat gepakt wordt (dit keer weer zonder teruglegging). Bepaal de kansdichtheidsfunctie (pdf) van X. Opgave 4 Van een stochast X is gegeven dat deze alleen de waarden 1, 2, 3 en 4 aanneemt. Bovendien is van zijn cumulatieve verdelingsfunctie (cdf) F gegeven 1 2 dat F (x) = 16 x voor elke x ∈ {1, 2, 3, 4}. a) Schets de grafiek van F . b) Bepaal de verwachting van X.
FOR NON-DUTCH STUDENTS! Midterm Introduction Probability Theory2 February 22, 2013 • For every exercise you have to provide the full proof, calculation and/or arguments. • If you can’t solve an item of some exercise, continue with the next items. It is allowed to use the information that you have obtained before. • The graphical calculator can be used during the midterm. However, the graphical calculator can be used only for numerical calculations. It can NOT be used to provide arguments for the solutions obtained. Exercise 1 Let A, B and C be three independent events. Show that A ∪ B and C are independent as well. Indicate clearly in the proof which properties of the (probability) function P you use! Exercise 2 Suppose that 10% of the professional cyclists uses drugs. A drug test, carried out for a cyclist that actually uses drugs, produces in 90% of the cases a positive result. For a cyclist that does not use drugs such a test produces in 1% of the cases a positive result. a) Determine the probability that an arbitrarily selected cyclist produces a positive drug test. b) In case a cyclist produces a positive drug test, what is the probability that the cyclist actually uses drugs? c) Determine the probability that a cyclist, who does not use drugs, produces at least one positive test in a sequence of ten (independently carried out) drug tests. Turn this page for Exercises 3 and 4.
2
The midterm counts for 20 % in the calculation of the final grade for Introduction Probability Theory. Grading midterm: exercise 1: 2 pts; exercise 2: 3 pts; exercise 3: 3 pts; exercise 4: 2 pts.
Exercise 3 A box contains 3 black, 4 red and 5 green balls. In an arbitrary way three balls are taken from the box. a) Determine the probability of getting 2 red and 1 green ball, if the balls are taken without replacement. b) Determine the probability of getting 2 red and 1 green ball, if the balls are taken with replacement. c) Let X be the number of red balls taken from the box (this time without replacement). Determine the probability density function (pdf) of X. Exercise 4 Random variable X takes values 1, 2, 3 and 4 only. Moreover, for its cu1 2 mulative distribution function (cdf) F we know that F (x) = 16 x for every x ∈ {1, 2, 3, 4}. a) Sketch the graph of F . b) Determine the expectation of X.
Solutions midterm Inleiding Kansrekening, February 22, 2013 Exercise 1 We have P ((A ∪ B) ∩ C) = P ((A ∩ C) ∪ (B ∩ C)) = P (A ∩ C) + P (B ∩ C) − P ((A ∩ C) ∩ (B ∩ C)) = P (A)P (C) + P (B)P (C) − P (A ∩ B ∩ C) = P (A)P (C) + P (B)P (C) − P (A)P (B)P (C) = (P (A) + P (B) − P (A)P (B))P (C) = P (A ∪ B)P (C). At the first equality we use that (A∪B)∩C = (A∩C)∪(B∩C), at the second and sixth equality the property that P (D ∪ E) = P (D) + P (E) − P (D ∩ E) for any two events D and E, at the third and fourth equality we use independency of the events A, B and C and the fact that (A∩C)∩(B∩C) = A∩B∩C, and the fifth is a simple algebraic manipulation. So events A ∪ B and C are independent. Exercise 2 Let A denote the event ‘cyclist uses drugs’ and B the event ‘cyclist tests positive’. a) P (B) = P (B ∩ A) + P (B ∩ A′ ) = P (A)P (B|A) + P (A′ )P (B|A′ ) = 0.1 · 0.9 + 0.9 · 0.01 = 0.099. b) P (A|B) = P (A ∩ B)/P (B) = P (A)P (B|A)/P (B) = 0.1 · 0.9/0.099 = 10/11. c) P (at least one positive test) = 1−P (no positive test) = 1−(99/100)10 = 0.0956. Exercise 3 (30)(42)(51) = 1·6·5 a) 220 = (123) 3 4·4·5 5 b) 2 · 123 = 36 .
3 22 .
(40)(83) 56 = 14 = 220 55 ; (123) (4)(8) 28 f (1) = P (X = 1) = 1 12 2 = 112 220 = 55 ; (3) (4)(8) 48 f (2) = P (X = 0) = 2 12 1 = 220 = 12 55 ; (3) (4)(8) 4 1 f (3) = P (X = 3) = 3 12 0 = 220 = 55 ; (3) f (x) = 0 for x ∈ / {0, 1, 2, 3}. c) f (0) = P (X = 0) =
Exercise 4 a) 1
9/16 4/16 1/16 1 2 3 4 b) Note that P (X = 1) = 1/16, P (X = 2) = 3/16, P (X = 3) = 5/16 and 1 3 5 7 P (X = 4) = 7/16. Hence E(X) = 1 · 16 + 2 · 16 + 3 · 16 + 4 · 16 = 3 18 .