Examples for variational inference