• Sonuç bulunamadı

Question 1. Question 4.

N/A
N/A
Protected

Academic year: 2021

Share "Question 1. Question 4."

Copied!
6
0
0

Yükleniyor.... (view fulltext now)

Tam metin

(1)

İ s t a n b u l K ü l t ü r U n i v e r s i t y Faculty of Engineering

MCB1007

Introduction to Probability and Statistics Second Midterm

Fall 2013-2014

Number:

Name:

Department:

Section:

 – You have 90 minutes to complete the exam. Please do not leave the examination room in the first 30 minutes of the exam. There are six questions, of varying credit (100 points total). Indicate clearly your final answer to each question. You are allowed to use a calculator. During the exam, please turn off your cell phone(s).

You cannot use the book or your notes. You have one page for “cheat-sheet” notes.

The answer key to this exam will be posted on Department of Mathematics and Computer Science board after the exam.

Good luck! Emel Yavuz Duman, PhD.

M. Fatih Uçar, PhD.

Question 1. Question 4.

Question 2. Question 5.

Question 3. Question 6.

TOTAL

(2)

   10 + 10 points Suppose that a bag has 3 boxes, one of them containing 2 bullets and two of them containing 1 bullet. A person is asked to randomly choose a box and than shoot a target until the last bullet is fired. Suppose 90% for this person, the bullet will hit the target. Let X be the number of bullets hitting the target and Y be the number of bullets in the selected box that the person has.

(a) Find the joint probability distribution of X and Y .

Answer. For the values of X = 0, 1, 2 and Y = 1, 2 we have the following probabilities:

f(0, 1) = 2 3

1 0



0.900.11 = 1

15 = 20

300, f(0, 2) = 1 3

2 0



0.900.12 = 1 300

f(1, 1) = 2 3

1 1



0.910.10 = 3

5 = 180

300, f(1, 2) = 1 3

2 1



0.910.11 = 3

50 = 18 300 f(2, 1) = 0, f(2, 2) = 1

3

2 2



0.920.10 = 27

100 = 81 300 Therefore, the joint probability distribution of X and Y is

HHy HHHH

x 0 1 2 h(y)

1 20/300 180/300 0 200/300

2 1/300 18/300 81/300 100/300 g(x) 21/300 198/300 81/300 1

(b) Find the conditional variance of X given Y = 1.

Answer. Conditional distribution of X given Y = 1 is

f(x|1) = f(x, 1) h(1) = 3

2f(x, 1) =

⎧⎪

⎪⎩

32f(0, 1) = 3230020 = 101 for x= 0

32f(1, 1) = 32180300 = 109 for x= 1

32f(2, 1) = 320 = 0 for x= 2 On the other hand, since

E[X|1] =

2 x=0

xf(x|1) = 0f(0|1) + 1f(1|1) + 2f(2|1) = 9 10 and

E[X2|1] =2

x=0

x2f(x|1) = 02f(0|1) + 12f(1|1) + 22f(2|1) = 9 10 Thus the conditional variance of X given Y = 1 is

σ2X|1 = E[(X − μX|1)2|1] = E[X2|1] − (E[X|1])2 = 9 10 −

 9 10

2

= 9 100.

(3)

  8 + 7 points (a) The moment-generating function of the random variable X is MX(t). If we let

RX(t) = ln MX(t), show that dtdRX(t)

t=0= μ and dtd22RX(t)

t=0= σ2.

Answer.

Hint: d

dxln u(x) = uu(x)(x) It is easy to see that

d

dtRX(t)

t=0 = d

dtln MX(t)

t=0 = MX (t) MX(t)

t=0= MX (0) MX(0) = μ1

1 = μ, and

d2

dt2RX(t)

t=0= d dt

MX (t) MX(t)

t=0 = MX(t)MX(t) − (MX (t))2 (MX(t))2

t=0

= MX(0)MX(0) − (MX (0))2

(MX(0))2 = μ2− μ2 1 = σ2.

(b) Use the results given in (a) to find the mean and the variance of X having the moment- generating function MX(t) = e4(et−1).

Answer. Since

MX(t) = e4(et−1) ⇒ RX(t) = log MX(t) = 4(et− 1) then, we see that

μ= d

dt(4(et− 1))

t=0

= 4et

t=0

= 4, and

σ2 = d2

dt2(4(et− 1)) = 4et

t=0 = 4.

(4)

  8 + 7 points A random variable X has the density function given by

f(x) =

6x(1 − x) for 0 < x < 1

0 elsewhere.

(a) Find P(|X − μ| ≥ 0.7).

Answer. If we use the definition of a mean, we obtain that

μ= E[X] =



−∞

xf(x)dx =

 1

0

6x2(1 − x)dx = 6

 1

0

(x2− x3)dx

= 6

x3 3 −

x4 4

1

0

= 6

1 3 −

1 4



= 1

2 = 0.5.

On the other hand, since

P(|X − μ| ≥ 0.7) = P (|X − 0.5| ≥ 0.7) = 1 − P (|X − 0.5| < 0.7), and

|X−0.5| < 0.7 ⇔ −0.7 < X−0.5 < 0.7 ⇔ −0.7+0.5 < X < 0.7+0.5 ⇔ −0.2 < X < 1.2, thus

P(|X−0.5| ≥ 0.7) = 1−P (|X−0.5| < 0.7) = 1−

 1.2

−0.2

f(x)dx = 1−

 1

0

f(x)dx = 1−1 = 0.

(b) Find an upper bound for P(|X − 0.5| ≥ 0.7) and compare it with the result in (a).

Answer. We need to use the Chebyshev’s inequality given by P(|X − μ| ≥ ε) ≤ σ22

where mean μ = E(X) = 0.5 and ε = 0.7. Variance of X can be calculated by using the formula σ2 = E(X2) − [E(X)]2. Since

E[X2] =



−∞

x2f(x)dx =

 1

0

6x3(1 − x)dx = 6

 1

0

(x3 − x4)dx

= 6

x4 4 −

x5 4

1

0

= 6

1 4 −

1 5



= 3

10 = 0.3 then

σ2 = E(X2) − [E(X)]2 = 0.3 − 0.52 = 0.05.

So, an upper bound for the given probability is P(|X − 0.5| ≥ 0.7) ≤ 0.05

0.72 = 0.1020.

Therefore, we can say that an upper bound for the given probability is 0.1020 which is

(5)

  10 + 10 points A doctor wishes to perform an experiment on5 patients. Suppose that the probability that a randomly selected patient agrees to participate to this experiment is 0.2.

(a) What is the probability that 15 patients must be asked before 5 are found who agree to participate?

Answer. X, the number of couples who agree to participate, is a negative-binomial random variable. So,

b(15; 5, 0.2) =

14 4



(0.2)5(0.8)10= 0.03439

(b) What is the probability that at least 4 patients must be asked before the first patient is found who agree to participate?

Answer. X, the number of couples who agree to participate, is a geometric random variable. So,

P(X ≥ 4) = 1 − P (X < 4) = 1 − [g(1; 0.2) + g(2; 0.2) + g(3; 0.2)]

= 1 −

(0.2)(0.8)0+ (0.2)(0.8)1+ (0.2)(0.8)2

= 1 − 0.488 = 0.512

  15 points

Suppose you roll a pair of non-fair, six sided dice 144 times, which are loaded in such a way that each odd number is three times as likely to occur as each even number. Let the random variable X denote the sum of the points on both dice which can come up in one roll. Use a Poisson approximation to determine the probability of observing that X = 6 exactly four times in this 144 rolls.

Answer. Since S = {1, 2, 3, 4, 5, 6}, and each odd number is three times as likely to occur as each even number, we have

P(X = 2) = P (X = 4) = P (X = 6) = p and P (X = 1) = P (X = 3) = P (X = 5) = 3p.

So, we get

P(X = 1)+P (X = 2)+P (X = 3)+P (X = 4)+P (X = 5)+P (X = 6) = 12p = 1 ⇒ p = 1 12. Let we define A= {sum of the points on both dice which can come up is 6}. Thus, we have A= {(4, 2), (2, 4), (5, 1), (1, 5), (3, 3)}. Therefore, we get

P(A) = 1 12

1 12+ 1

12 1 12+ 3

12 3 12 + 3

12 3 12 + 3

12 3

12 = 29 144 = θ.

Hence, using Poisson approximation we obtain that the probability of observing that X = 6 exactly four times in the 144 rolls with the parameter λ = nθ = 144 ·14429 = 29 is

p(4; 29) = 294e−29

4! = 7.496 × 10−9.

(6)

  15 points Suppose that there are two types of airplanes, one of them has two engines and other one has four engines. It is given that an airplane engine will fail, during the flight, with probability1 −θ (where θ = 1), independently from engine to engine; and suppose that the airplane will make a successful flight if at least 50 percent of its engines remain operative. For what values of θ is a two-engine plane preferable to a four-engine plane?

Answer. As each engine is assumed to fail or function independently of what happens with the other engines, it follows that X, the number of engines remaining operative, is a binomial random variable. Hence, the probability that a four-engine plane makes a successful flight is

P(X ≥ 2) = 1 − P (X < 2) = 1 − (P (X = 0) + P (X = 1))

= 1 −

4 0



θ0(1 − θ)4−0+

4 1



θ1(1 − θ)4−1



= 1 − (1 − θ)4− 4θ(1 − θ)3 =

whereas the corresponding probability for a two-engine plane is P(X ≥ 1) = 1 − P (X < 1) = 1 − P (X = 0) = 1 −

2 0



θ0(1 − θ)2−0 = 1 − (1 − θ)2 Hence, the two-engine plane is safer if

1 − (1 − θ)2 ≥ 1 − (1 − θ)4− 4θ(1 − θ)3 ⇔ (1 − θ)2 ≤ (1 − θ)4+ 4θ(1 − θ)3 1 ≤ (1 − θ)2+ 4θ(1 − θ) = 1 − 2θ + θ2+ 4θ − 4θ2 ⇔ 0 ≤ 2θ − 3θ2

0 ≤ 2θ − 3θ2 = θ(2 − 3θ) ⇔ 0 ≤ 2 − 3θ ⇔ θ ≤ 2 3

Referanslar

Benzer Belgeler

If a health service in this community correctly diagnoses 95 percent of all persons with diabetes as having the disease and incorrectly diagnoses 2 percent of all persons

The number of marriage licenses issued in a certain city during the month of June may be looked upon as a random variable with µ = 124 and σ = 7.5.. According to Chebyshev's

The number of marriage licenses issued in a certain city during the month of June may be looked upon as a random variable with µ = 124 and σ = 7.5.. According to Chebyshev's

A company decided to choose 6 of its employees by drawing and give them a weekend holiday as a gift for every weekend during one year.. (a) What should be the minimum number

The total number of handshakes will be the same as the number of ways of forming a committee of 2 people from 2n people (There are 2n people at the party since the party consist of

It is given that an airplane engine will fail, during the flight, with probability 1 −θ (where θ = 1), independently from engine to engine; and suppose that the airplane will make

   10 + 10 points An automobile dealer has kept records on the customers who visited his

   10 + 10 points An automobile dealer has kept records on the customers who visited his