18.600 story sheet

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/61

encourage image

There's no tags or description

Looks like no tags are added yet.

62 Terms

1
New cards
Binomial pmf
P(X=k) = C(n,k) p^k q^(n-k), k = 0..n, q = 1-p
2
New cards
Binomial mean and variance
E = np, Var = np(1-p) = npq
3
New cards
Poisson(λ): story
Count of rare events; λ = average count. λ = np when approximating Binomial(n,p) with n large, p small
4
New cards
Poisson pmf
P(X=k) = e^(-λ) λ^k / k!, k = 0,1,2,... (factorial is k!, never λ!)
5
New cards
Poisson mean and variance
E = λ, Var = λ
6
New cards
λ for Poisson approximation of a binomial
λ = np = the MEAN. Never np(1-p)
7
New cards
Poisson process, rate λ, window length t
N(t) ~ Poisson(λt); disjoint windows independent; P(no event in time t) = e^(-λt)
8
New cards
Sum of independent Poisson(λ1) and Poisson(λ2)
Poisson(λ1 + λ2)
9
New cards
P(R1 = 1 | R1 + R2 = 1), independent Poissons
λ1 / (λ1 + λ2). Numerator = P(R1=1)·P(R2=0) — both factors!
10
New cards
Geometric(p): story
Trial number of the FIRST success
11
New cards
Geometric pmf
P(X=k) = q^(k-1) p, k = 1,2,3,...
12
New cards
Geometric mean and variance
E = 1/p, Var = (1-p)/p^2
13
New cards
Geometric tail and memoryless
P(X>k) = q^k; P(X > m+n | X > m) = P(X > n)
14
New cards
Negative binomial(r,p): story
Trial number of the r-th success
15
New cards
Negative binomial pmf
P(X=k) = C(k-1, r-1) p^r q^(k-r), k = r, r+1, ... (last trial pinned as success)
16
New cards
Negative binomial mean and variance
E = r/p, Var = r(1-p)/p^2
17
New cards
Negative binomial tail P(X_r > n)
= P(at most r-1 successes in n trials) = Σ_{k=0}^{r-1} C(n,k) p^k q^(n-k)
18
New cards
Uniform[a,b]
density 1/(b-a); E = (a+b)/2; Var = (b-a)^2/12
19
New cards
Bernoulli(p) / indicator
E = p, Var = p(1-p); I^2 = I
20
New cards
Hypergeometric: exactly k special when drawing n from N with m special
C(m,k)·C(N-m, n-k) / C(N,n) — one binomial per group
21
New cards
Variance definition
Var(X) = E[(X-μ)^2] = E[X^2] - (E[X])^2
22
New cards
Var(aX + b)
a^2 Var(X)
23
New cards
Var(X + Y)
Var(X) + Var(Y) ONLY if independent
24
New cards
Var of polynomial in X (e.g. 20X + 20X^3 with X = ±2)
Plug in the values of X, simplify first (constants drop, X^3 = cX), then a^2 Var(X). Never add variances of dependent terms
25
New cards
Two-point variable taking a, b with probs p, 1-p
Var = (a-b)^2 p(1-p)
26
New cards
Variance shortcut when the mean is round
Use deviations: average of (x - μ)^2
27
New cards
E[g(X)] for weird g
List values g takes, their probabilities, multiply and add
28
New cards
Linearity of expectation
E[X+Y] = E[X] + E[Y] ALWAYS, no independence needed
29
New cards
Indicator recipe step 1–3
Name events A_i, count n; find P(A_1); E[X] = n·P(A_1)
30
New cards
How to find P(A_1)
Fix one person/item and ask how likely its event is. m chosen of N → m/N. 2n people paired → 1/(2n-1)
31
New cards
How to find P(A_1 A_2)
Multiplication rule: P(A_1)·P(A_2 | A_1). Remove the first, recount: (m/N)·((m-1)/(N-1)). Never square unless independent
32
New cards
E[X^2] for X = count of n symmetric events
n·P(A_1) + n(n-1)·P(A_1 A_2)
33
New cards
Why E[X^2] = nP(A1) + n(n-1)P(A1A2)
X^2 = X + X(X-1); X(X-1) = # ordered pairs of different events that both happen
34
New cards
Hats: P(k specific people all get own hat), n hats
(n-k)!/n! — the rest are free, subtract nothing
35
New cards
Hats: expected number of matches
1
36
New cards
Pairing 2n people into unordered pairs
(2n)!/(2^n n!) = (2n-1)(2n-3)···3·1
37
New cards
P(two specific people are partners), 2n people
1/(2n-1)
38
New cards
Inclusion–exclusion, 2 events
P(A∪B) = P(A) + P(B) - P(AB)
39
New cards
Inclusion–exclusion, 3 events
singles - pairs + triple
40
New cards
Inclusion–exclusion, n symmetric events
C(n,1)p1 - C(n,2)p2 + C(n,3)p3 - ... (n = number of events in the union)
41
New cards
Why signs alternate in inclusion–exclusion
Each step fixes the overcount/undercount of the previous step
42
New cards
When to use 1 - P(none)
Only when "none" is easy: independent events (multiply) or a direct count
43
New cards
When to use inclusion–exclusion
"At least one" with dependent events (shuffling, matching, pairing) or when intersection probs / p_k are given
44
New cards
Conditional probability
P(A|B) = P(AB)/P(B). Check answer is between 0 and 1
45
New cards
Bayes
P(F|E) = P(E|F)P(F) / [P(E|F)P(F) + P(E|F^c)P(F^c)]; draw the 4-leaf tree
46
New cards
Independent vs disjoint
Independent: one doesn't change the other's chance, multiply. Disjoint: can't both happen, P(both) = 0
47
New cards
Ordered vs unordered choice
Swap the two things. Same outcome → unordered C(n,k). Different outcome → ordered
48
New cards
Two pair hands
C(13,2)·C(4,2)^2·44 (pairs interchangeable)
49
New cards
Full house hands
13·12·C(4,3)·C(4,2) (triple and pair play different roles)
50
New cards
Labeled groups (e.g. 5 from each of 4 years)
C(1000,5)^4 / C(4000,20) — no extra 4!
51
New cards
Multinomial coefficient
n!/(n1! n2! ... nr!) = ways to split n objects into labeled groups of those sizes
52
New cards
Stars and bars: nonnegative integers, r variables summing to n
C(n+r-1, r-1)
53
New cards
Stars and bars: positive integers
C(n-1, r-1)
54
New cards
Stars and bars: sum ≤ n
Add slack variable → C(n+r, r)
55
New cards
lim (1 - a/n)^(bn)
e^(-ab). Never 1
56
New cards
Σ_{k≥0} a^k / k!
e^a (watch disguise 1/(2^k k!) = (1/2)^k/k! → e^(1/2))
57
New cards
Σ_{k=0}^{n} C(n,k) a^k
(1+a)^n (watch disguise n!/(k!(n-k)!))
58
New cards
Coefficient of x^a y^b z^c in (x+y+z)^n
n!/(a! b! c!)
59
New cards
pmf × k, summed over all k
E[X]
60
New cards
pmf × k^2, summed over all k
E[X^2] = Var + (E[X])^2. Poisson(λ): λ + λ^2
61
New cards
Σ_{k≥1} k q^(k-1) p
E[Geometric] = 1/p
62
New cards

Binomial(n,p): story

Number of successes in n independent trials, each with success prob p