correlated random effects with vi

Skip to first unread message

Bryor Snefjella

Jul 22, 2022, 7:31:27 PM7/22/22
to TensorFlow Probability
Hi all,

I was wondering if anyone knows of a tfp tutorial that shows how, or if anyone has managed on their own, to put together a mixed model with correlated random effects trained with variational inference. All the tfp VI examples use uncorrelated random intercepts and slopes.


Christopher Suter

Jul 25, 2022, 9:03:31 PM7/25/22
to Bryor Snefjella, TensorFlow Probability
You might find some good inspiration in the distribution examples in the surrogate posteriors experimental VI package:

The unit tests should also be informative but are a bit hard to read bc of all the parameterized tests.

You received this message because you are subscribed to the Google Groups "TensorFlow Probability" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
Reply all
Reply to author
0 new messages