Вы находитесь на странице: 1из 2

# Christopher Lin

STAT 350

Siddhartha Nandy

9/11/2017

1.
a. Only wireless =0 .406, landline with or without wireless =0 .572

## P(woman and only wireless | only wireless) = 0.214/0.416 = 0.514

2.
a. P(A B) = P(B | A) * P(A) = 0.37 * 0.37 = 0.1369
b. Because P(B | A) doesnt equal P(B) they are not independent. This means that A
doesnt affect B in any way.
3.
a. 0.21 * 0.27 * 0.62 = 0.035
b. 0.79 * 0.38 * 0.38 = 0.114

## 4. P(spam | clock and no link) = 0.0147/(0.0147 + 0.02955) = 0.3322 = 33.22%

spam(0.015) not spam(0.985)
click and no link 0.98 *0.015 = 0.0147 0.03 * 0.985 = 0.02955
no click 0.02 * 0.015 = 0.0003 0.97 * 0.985 = 0.95545

This answer is counterintuitive because the chance of an email that asks you to click without
providing a link being spam is much lower than it not being spam. One would expect that emails
that ask you to click links to be spam, but this is apparently not the case.

5.
a. continuous
b. discrete
c. continuous
6. Var(X) = ^2
= E(X )^2

= E(X^2 2X + ^2)

## = E(X^2) 2E(X) + E(^2)

= E(X^2) 2^2 + ^2

= E(X^2) ^2

= E(X^2) E(X)^2

7. g(x) = ax + b

= E(ax + b)

= E(g(x))

= sum(g(x))*P(x)

= sum(ax + b)*P(x)

= sum(ax*P(x)) + sum(b*P(x))

= a*sum(x*P(x)) + b*sum(P(x))

= a*E(x) + b*1

## Therefore x -> E(x) and ax + b ->a*E(x) + b

8.
a. The distribution is legitimate. All the probabilities are between 0 and 1, and the sum of
all probabilities is equal to 1.
b. 0.28
c. 0.01 + 0.18 + 0.28 = 0.47
d. (0 * 0.01) + (1 * 0.18) + (2 * 0.28) + (3 * 0.31) + (4 * 0.2) + (5 * 0.032) = 2.57
e. Variance = (0^2 * 0.01) + (1^2 * 0.18) + (2^2 * 0.28) + (3^2 * 0.31) + (4^2 * 0.2) + (5^2 *
0.032) (2.57^2) = 1.1851
Std dev = sqrt(variance)= 1.0886
f. 2.57 + 1.0886 = 3.6586. X is greater than 1 standard deviation if the result is 4 or 5 =
0.22
g. of Y = 3 * ( of X) 5 = 3 * 2.57 5 = 2.71
h. Variance Y= 3^2 * variance X = 10.6659
Std dev Y = sqrt(variance Y) = 3.2659
i. of W = (0^2 * 0.01) + (1^2 * 0.18) + (2^2 * 0.28) + (3^2 * 0.31) + (4^2 * 0.2) +
(5^2 * 0.032) 2 = 5.79
j. p(X < 2) * p(X < 2) = 0.19*0.19 = 0.0361