1.) MTBE
P ( A ∣ B ) = P ( B ) P ( A ∩ B ) = 201 98 =∼ 0.48756
2.)
P ( A ) = Sum of all Sum of A = 223 120 =∼ .5381
3.) Given:
P ( positive ∣ users ) = .95
P ( negative ∣ non-users ) = .89
8.) P ( Y ≤ 1.1 )
we know that f ( y ) = { 3 2 y 2 0 [ 0 , 2 ] elsewhere
[Graph of f(y) from 0 to 2]
F ( 1.1 ) = 9 2 ( 1.1 ) 3
9.) F ( y ) = { 9 2 y 3 [ 0 , 2 ]
∫ 3 2 y 2 d y → d = 1
9 2 y 3 0 2
F ( y ) = 9 2 y 3 [ 0 , 2 ]
F ( 3 ) − F ( 1 ) = 0.875
10.) P ( 8 ≤ Y ≤ 13 ) = P ( 13 ) − P ( 8 )
= dnorm ( 13 , 12 , 4 ) − dnorm ( 8 , 12 , 4 )
= 0.0562
11.) Guessed.
12.) Birthday Problem
P ( A ) = 1 − P ( A ˉ )
P ( A ˉ ) = 36 5 k 365 ( 365 − 1 ) … ( 365 − k + 1 )
= 1 − k l o g ( 365 ) e x p ( lchoose ( 365 , k ) + 1 factorial ( k ))
Thus birthday(20) = .4114
4.)
epagas ← read.csv ( "EFMEHS.csv" )
\text{z\_epagas} \leftarrow (\text{epagas} \ \text{MPG} - \text{mean}(\text{epagas} $ \text{MPG})) / \text{sd}(\text{epagas} $ \text{MPG})$
outlier_epagas ← subset ( epagas, abs(z_epagas) ≥ 2
& abs(z_epagas) <= 3 )
min ( outlier_epagas )
= 300
5.) Given Standard Deviation is 3.
[Drawing of a normal distribution bell curve]
∼ 99.9%
99%
6.)
mean − sd ⋅ 2 , mean + sd ⋅ 2 : 6
[Drawing of L and U on a normal distribution]
To find U:
U = \text{mean}(\text{epagas} \ \text{MPG}) + \text{sd}(\text{epagas} $ \text{MPG}) = 39.4119$
7.)
f ( y ) = { c y 2 0 [ 0 , 2 ] elsewhere
f ( y ) = 8 3 y 2 = c 3 y 3 0 2 ∫ 0 2 c y 2 d y = 1 ∴ c = 8 3 = c 3 ( 2 ) 3 − 0 = 3 8 c = 1