Intro, Beta-Binomial, Dirichlet-Multinomial Flashcards

1
Q

When is a set of data exchangable?

A

x1, . . . , xn are exchangeable,
meaning that the distribution p(x1, . . . , xn) is invariant to permutation of the
indices

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Give the posterior formula

A

Posterior ∝ Likelihood * Prior

π(θ|x) ∝ product(i=1 to n) fθ(xi) x π(θ)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a conjugate prior?

A

prior and posterior are in the same family of distributions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Give the posterior of a Beta-Binomial model

A

π(p|k) ∝ p^(k+α−1) * (1 − p)^(n−k+β−1) ∼ Be(k + α, n − k + β)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Give the posterior mean of a Beta-Binomial model

A

(k + α) / (n + α + β)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Give the posterior variance of the Beta-Binomial model

A

(k + α)*(β + n − k) / (n + α + β)^2 * (α + β + n + 1)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Give the formula for a predictive posterior distribution

A

p(xn+1|x1, . . . , xn) = intgeral fθ(xn+1) * π(θ|x1, . . . , xn)dθ

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

In large samples, what does the mean of the Beta-Binomial model approximately equal?

A

k / n

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

In large samples, what does the variance of the Beta-Binomial model approximately equal?

A

k/(n^2) * (1- k/n)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the posterior distribution of the Dirichlet-Multinomial model?

A

π(θ1, . . . , θm|y1,…,ym) ∼ Dirichlet (y1 + α1, . . . , ym + αm)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Posterior mean of θi DM-model

A

(yi + αi) / sum(i=1 to m) (yi + αi)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly