Professional Documents
Culture Documents
cs394r Quiz Handout
cs394r Quiz Handout
cs394r Quiz Handout
(a) Version 1
i. Sample space [1, . . .]
ii. PMF pX (k) = p(1 − p)k−1 , k = 1, 2, . . .
(1−p)
iii. E[X] = p1 , VAR(X) = p2
pe s
iv. MX (s) = 1−(1−p)e s
v. X is the number of trials until the first success in a sequence of independent Bernoulli
trials.
(b) Version 2
i. Sample space [0, . . .]
ii. PMF pX (k) = p(1 − p)k , k = 0, 1, . . .
1−p (1−p)
iii. E[X] = p , VAR(X) = p2
p
iv. MX (s) = 1−(1−p)e s
Statistics
−nµ
Sn √
1. Zn = σ n
√
ϵ n
2. Z = σ
Counting
1. Permutation
n!
k-Permutations P (n, k) = (n−k)!
2. Combination
n!
k-Combinations C(n, k) = (n−k)!k!
3. Occupation (how many ways to choose a total of n items of m different types.) k-Occupation
(by partitioning) = C(n + k − 1, k − 1)
4. Conditional Probability
P [A|B] = P P[A∩B]
[B]
P [B|Ai ]P [Ai ]
5. Bayes’ Theorem P [Ai |B] = P [B|A1 ]P [A1 ]+...+P [B|An ]P [An ]