



Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity
Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium
Esta página no es visible en la vista previa
¡No te pierdas las partes importantes!




Universitat Autònoma de Barcelona June 5, 2013 Facultat d’Economia i Empresa
Question 1 [2.5 points]
The relative frequencies presented in the following table, collected among 120 students in a driving school, provides information on the number of hours of "theory classes" in a week (variable X ) and the number of hours of "driving lessons" in a week (variable Y )
_X_ Y 0 1 2 1 1/12 1/12 2/ 2 1/12 3/12 4/
a) Obtain the marginal frequency distributions, absolute and relative, of the two variables [0.5 points]
From the table of joint frequencies, we obtain the marginal relative frequencies adding by rows and columns. Then, multiplying by the total number of observations (120 students in this case) we obtain the marginal absolute frequencies
_X_ Y 0 1 2 fX nX 1 1/12 1/12 2/12 4/12 40 2 1/12 3/12 4/12 8/12 80 fY 2/12 4/12 6/12 1 nY 20 40 60 120
b) What is the average number of hours of theory classes in a week? And of hours of driving lessons? [0. points]
For the theory classes ( X ) we have:
and for the driving lessons:
c) If the price of one hour of theory classes is 15 euros and one hour of driving lessons costs 30 euros, what is the average weekly cost? [0.5 points]
Using the averages found in the previous question we have:
Average Weekly Cost = 15·1.67 + 30·1.33 = 64.95 euros
d) Among the students that have taken two hours of theory classes, what percentage did take two hours of driving lessons? [0.5 points]
We are asked to compute fY/X=2 (2). We know fX (2)=8/12 , and fXY (2,2)=4/12. Thus,
f (^) Y / X= 2 ( 2 ) =
f (^) XY ( 2,2 ) f (^) X ( 2 )
e) Are the two variables independent? Justify your answer. [0.5 points]
Two variables are independent if and only if, for any pair ( x,y ). it is true that:
f (^) XY ( x,y ) =f (^) X ( x ) ·f (^) Y ( y )
In this case we have that:
f (^) XY (^ 1,0)= 1 12
whereas
f (^) X (^1 )^ ·f (^) Y (^0 )= 4 12
Therefore, the variables are NOT independent.
Question 2 [2.5 points]
An investor buys shares of the company A. It is known that the value of these shares is closely linked to the general index IBEX 35. Thus, if the IBEX 35 goes up then the probability that the shares of the company A also go up is 0.85. On the other hand, if the market price of the company A goes up then the probability that the IBEX 35 also goes up is 0.6.
a) Assume that the probability that the IBEX 35 goes up in any given day is 50%. What is the probability that the price of the company A goes up that day? [1.25 points]
Let us define the following events:
A = “The shares of company A go up” and IBEX = “ The 'IBEX35 goes up ”
From the conditional probability formula we have:
P(A / IBEX)·P(IBEX) = P(IBEX / A)·P(A)
We are given the following information regarding those events:
P(A / IBEX) = 0.85 P(IBEX / A) = 0.6 P(IBEX) = 0.
Therefore,
(0.85)·(0.5) = (0.6)·P(A)
Solving the equation we obtain:
That is, the probability that the shares of company A go up is 0.
b) Suppose now that this investor's portfolio is comprised of 60% shares of the company A and 40% shares of the company B , and that the probability that the price of B goes up is 0.65. If we take a share at random from the portfolio of this investor, what is the probability that this share goes up? [1.25 points]
The share picked at random will be of company A with a probability of 0.6, or of company B with probability 0.4. Thus, since we know the probabilities the the shares of companies A and B go up: P(the chosen share goes up) = P(A)·(0.6) + P(B)·(0.4) = (0.708)·(0.6) + (0.65)·(0.4) = 0. That is, the probability that one share picked at random from the portfolio of this investor goes up is 0.
Question 4 [2.5 points]
The domestic water consumption, measured in liters per person per day (lpd), in a block of apartments follows a Normal distribution. We know that 50% of such apartments have a consumption higher than 120 lpd, and only 20% of the apartments have consumption below 79.85 lpd.
a) What is the average consumption in these apartments? And the standard deviation? [1 point]
Let us define the random variable
X = “Domestic water consumption (lpd) in one apartment”
We know that it follows a Normal distribution and that:
P ( X ≥ 120 ) = 0. 5 and P ( X ≤ 79. 85 ) = 0. 2
Standardizing we have:
σ
≥^120 − μ
and
σ
≥^79.^85 − μ
where Z follows a standard Normal distribution N(0,1)
We know that the standard Normal distribution satisfies P ( Z ≥ 0 ) =P ( Z ≤ 0 )=0,5. Thus, from the first condition above we have:
120 − μ σ
That is, the average consumption is μ = 120. Notice that we could have obtained this result immediately. Indeed, the Normal distribution has the property (symmetry) that 50% of the values are above the average and 50% below the average. Thus, just by reading the question “ We know that 50% of such apartments have a consumption higher than 120 lpd ” we have that μ = 120
In a similar way, from the second condition above we must look for the value a such that P ( Z ≤ a ) = 0. 2. Looking up the table of the standard Normal distribution we find a = -0.84. Hence,
79,85− μ σ
Replacing μ by 120 and solving for σ we get:
b) What percentage of apartments have a consumption below 167.8 lpd? [0.5 points]
In the previous item we have found that X ~ N(120; 47.8^2 )
We must now compute P(X < 167.8 ). Standardizing ,
σ
Therefore, the probability we were looking for is 0.
c) The top 10% apartments that consumed more water, are notified to install devices limiting the consumption. If an apartment has received this notification, what is at least its consumption? [1 point]
We are asked to find the minimal consumption value c such that:
P ( X ≥ c ) = 0. 1
In other words, we are looking for the value c such that P ( X ≤ c ) = 0. 9. Standardizing we have
σ
≤ c − μ
Looking up the table of the standard Normal distribution we find:
c − 120
Hence,
c − 120 = 61. 184 → c= 181. 184
That is, the apartments whit a consumption above 181.184 lpd will be required to install the limiting devices.