


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



Problem 1. The numbers that follow are the incomes of professors in a department of a particular college (in thousands of dollars):
a) [4pt] Calculate the sample mean, and sample variance.
2 2
i
i
b) [3pt] Find the first quartile, the third quartile and the interquartile range (IQR).
Q1 Q Rank 6(1/4)+0.5=2 6(3/4)+0.5= Answer 62 77
IQR = Q3 – Q1 = 77- 62 =
Problem 2. The probability that a shot will hit the target is 0.02. Successive shots are
independent of each other. Shot the target twice.
a) [3pt] What is the probability that both two shots will miss the target?
A 1 = {hit the first shot}, A 2 = {hit the second shot}, Since A 1 and A 2 are independent,
b) [3pt] What is the probability that at least one shot will hit the target?
P{at least one shot hit the target} = P(A 1 ∪ A 2 ) = P(A 1 ) + P(A 2 ) - P (A 1 ∩A 2 ) = .02 + .02 - .02*.02 =.
Or P{at least one shot hit the target}
= 1- P{both shot miss the target} = 1 - .9604 =.0396.
Problem 3. Consider the weight x (in 1000 pounds) and the fuel consumption y (gallons
per 100 miles) of 4 cars in the following table.
Car weight x Fuel Consumption y 3 3 1 1 2 2 6 8
a) [3pt] Compute the sample correlation coefficient of x and y.
xi n
n
s (^) x i
yi n
n
s (^) y i
Sample correlation coefficient
2 2
x x y y
x x y y r i i
i i r
r
b) [4pt] By the least square method, fit y = α + β x to the data.
Estimate of slope
x x
x x y y
i
i i β ,
or 1. 429
x
y s
s
Hence the best linear fitted line is y = − 0. 787 + 1. 429 ⋅ x
Problem 4. Suppose A and B are two independent events with P(A)=0.6 and P(B)=0.
Calculate the following probabilities:
a) [ 2pt] P (A∩B) = P(A)*P(B) = 0.
b) [ 3pt] P(A ∪B) = P(A) + P(B) - P (A∩B)=0.6 + 0.8 - 0.48 =.
Or P( A ∪ B )= 1 - P (A∩B) = 1 – 0.48 = 0.52.
( )( )
∑ (^ )^ ∑(^ )
∑
− −
2 2 x x y y
x x y y
i i
i i r
r ,
( )( )
( )
2 ∑
∑ −
x x
x x y y
i
i i
∑ ( − −
2 1
x x n i )^ ,^ E [ h^ (^ X )]^ =^ ∑ (^) x ∈ Rh (^ x )^ f (^ x )
( )
( )
( )
| PB
PA B P A B
∩ = , P ( A ∪ B ) = P ( A ) + P ( B ) − P ( A ∩ B )
Bonus Question. [2pt]
It is known that 30% of all cars are defective. A car gets involved in an accident 80% of
the time if the car is defective. If it is not defective, the probability reduces to 40%. If a car is involved in an accident, what is the probability that it was defective?
D ={car is defective} A={involve in an accident}
Tree Diagram 0.80 A D 0.30 0. A
0.40 A D
A
D | A ={the carry was defective if it is involved in an accident}