week 3 formatted Flashcards

1
Q

What is the probability density function (pdf) of a Normal distribution N(μ, σ²)?

A

f(x|μ, σ²) = (1 / √(2πσ²)) * exp[-(x - μ)² / (2σ²)]

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

Why is the Normal distribution particularly important in statistics, according to the notes?

A

Mainly due to the Central Limit Theorem (CLT) and its analytic tractability, especially in Bayesian contexts.

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

In frequentist inference for a N(μ, σ²) model based on an i.i.d. sample X₁, ..., Xn, what are the distributions of the sample mean and the statistic (n-1)S²/σ²?

A

X̄ ~ N(μ, σ²/n) and (n-1)S²/σ² ~ χ²(n-1), where is the sample variance.

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

What is the relationship between the sample mean and the sample variance for an i.i.d. sample from a Normal distribution?

A

and are independent.

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

What statistic involving , μ, S, and n follows a t-distribution, and what are its degrees of freedom?

A

(X̄ - μ) / (S / √n) ~ t(n-1)

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

In the Bayesian model for N(μ, σ²) with σ² known (equal to σ₀²), what is the conjugate prior for μ?

A

A Normal distribution, π₀(μ|σ₀²) = Normal(η, σ₀²/λ).

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

For the Normal-Normal model (N(μ, σ₀²) likelihood, N(η, σ₀²/λ) prior), what is the posterior distribution for μ, π(μ|x, σ₀²)?

A

Normal(η_n, σ₀²/λ_n), where η_n = (n*X̄ + λη)/(n+λ) and λ_n = n + λ.

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

Interpret the posterior mean ηn in the Normal-Normal model.

A

It is a weighted average of the sample mean (weighted by n) and the prior mean η (weighted by λ).

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

What happens to the posterior distribution for μ in the Normal-Normal model as the prior precision λ approaches 0?

A

The posterior approaches Normal(X̄, σ₀²/n), which corresponds to the frequentist sampling distribution centered at the MLE .

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

In the Bayesian model for N(μ, σ²) with both parameters unknown, how is the prior typically factorized?

A

π₀(μ, σ²) = π₀(μ|σ²) * π₀(σ²)

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

What are the standard conjugate prior choices for π₀(μ|σ²) and π₀(σ²) when the likelihood is N(μ, σ²)?

A

π₀(μ|σ²) = Normal(η, σ²/λ) and π₀(σ²) = InverseGamma(α/2, β/2).

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

When both μ and σ² are unknown, what is the marginal posterior distribution for μ, π(μ|x), obtained by integrating out σ²?

A

A non-standardized Student’s t-distribution: μ|x ~ t(μ_post, S²_post/(λ+n), n+α).

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

Provide the formula for the location parameter μ_post of the marginal posterior t-distribution for μ.

A

μ_post = (n*X̄ + λη) / (n+λ)

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

What is the marginal posterior distribution for σ², π(σ²|x), obtained by integrating out μ?

A

InverseGamma(αn, βn), where αn = (n+α)/2.

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

Provide the formula for the shape parameter αn of the marginal posterior Inverse Gamma distribution for σ².

A

αn = (n+α)/2

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

Provide the formula for the scale parameter βn of the marginal posterior Inverse Gamma distribution for σ².

A

βn = (1/2) * [β + Σ(xi - X̄)² + (nλ/(n+λ))(X̄ - η)²]

17
Q

Can posterior samples for μ and σ² be drawn independently from their respective marginal posteriors π(μ|x) and π(σ²|x)?

18
Q

Alternatively to using marginal posteriors, how can we obtain posterior samples using conditional distributions (e.g., for Monte Carlo methods)?

A

Iteratively sample σ² from π(σ²|x) and then sample μ from π(μ|σ², x), OR sample μ from π(μ|x) and then sample σ² from π(σ²|μ, x).

19
Q

What is the conditional posterior distribution of μ given σ² and data x, π(μ|σ², x)?

A

Normal(μ_post, σ²/(n+λ)), where μ_post = (n*X̄ + λη) / (n+λ).

20
Q

What is the conditional posterior distribution of σ² given μ and data x, π(σ²|μ, x)?

A

InverseGamma(αn', βn'), where αn' = (n+α+1)/2 and βn' = (1/2) * [β + Σ(xi - μ)² + λ(μ - η)²]. (Note: Formula in pdf uses μ_post but this form using μ` directly is equivalent).

21
Q

How is the marginal posterior for μ, π(μ|x), calculated from the joint posterior π(μ, σ²|x)?

A

π(μ|x) = ∫<sub>[0, ∞]</sub> π(μ, σ²|x) dσ²

22
Q

How is the marginal posterior for σ², π(σ²|x), calculated from the joint posterior π(μ, σ²|x)?

A

π(σ²|x) = ∫<sub>[-∞, ∞]</sub> π(μ, σ²|x) dμ