I’m exploring variational inference in stan. I tried fitting a model using vb function. It runss with the default “meanfield” algorithm, but the results aren’t ideal. I then tried to use “fullrank”, but everytime I do that, my R session will crash and force restart.
Here I enclose my stan code as well as r code to run the data.
Also information of my systems:
mac os 10.15.5