[ADMB Users] Improving importance sampling for mixed models
dave fournier
davef at otter-rsch.com
Wed Mar 13 11:43:16 PDT 2013
There was a typically bad idea expressed on the R list today.
https://stat.ethz.ch/pipermail/r-sig-mixed-models/2013q1/020017.html
Ir reminded me of something I was thinking about a while back to improve the
performance of importing sampling for mixed models. The idea is to
create negatively correlated random points. It is based on the idea
that for a std multivariate normal vector, the norm has a probability
density function
c * r^{n-1} exp(-r^2/2)
for a constant c.
In general this produces a CDF based on the gamma function.
The idea is to generate a sample of multivariate normals and then so
scale them
based on the inverse of the CDF. We then restrict each one to the shell
based on its norm and maximize the distance between them all.
For 2 dimensions one can plot the results. Here are 250 bivariate normals.
You can see that some of them are almost on top each other. This produces
inefficient sampling.
Now here are the results of rescaling the norms
and finally what we get after maximizing the distance between them.
Of course one does not need to use the inverse of the CDF based on the
normal.
a fatter tailed distribution could be used.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20130313/88b9e93c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: caibdafg.png
Type: image/png
Size: 10541 bytes
Desc: not available
URL: <http://lists.admb-project.org/pipermail/users/attachments/20130313/88b9e93c/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hhbejjbi.png
Type: image/png
Size: 8509 bytes
Desc: not available
URL: <http://lists.admb-project.org/pipermail/users/attachments/20130313/88b9e93c/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ifgfhahh.png
Type: image/png
Size: 8217 bytes
Desc: not available
URL: <http://lists.admb-project.org/pipermail/users/attachments/20130313/88b9e93c/attachment-0002.png>
More information about the Users
mailing list