Mini-Test 1 2022
Mini-Test 1 2022
SPRING, 2022
Campus: Lyngby
Mini-test 1
Name:
Student ID:
Part 1
z1 z2 z3
y1 y2 y3
u
–2– MBML 42186
1. (10%) Write the factorization of the joint distribution according to the PGM described above.
2. (25%) Formulate the expression for p(z3 |z2 , u) according to the factorization that you have written above.
Don’t forget to simply your expression to eliminate unnecessary factors.
–3– MBML 42186
(a) u ⊥
⊥ z3 |{y3 , x}
(b) x ⊥
⊥ y1 |{z1 , y2 , y3 }
–4– MBML 42186
Part 2
Consider the following generative process that models observed count data {yi,n }N
n=1 for each individual i
i
1. Draw µ ∼ N (0, 1)
2. Draw v ∼ Inverse-Gamma(1, 1)
1. (10%) Write the factorization of the joint distribution according to the model described above.
2. (15%) Draw the PGM representation corresponding to the generative process described above.
–5– MBML 42186
3. (20%) Suppose now that you also have access to covariates xi that describe characteristics of the each
individual i that could help explain his/her latent log-rate λi . You may assume that the relationship between
the mean of λi and xi is linear in parameters. Write the generative process corresponding to this enhanced
model. If you make any assumptions about the model when writing the new generative process, then make
them explicit and write them down.