check out Beerli and Palczewski 2010:
migrate takes each posterior histogram for each locus, smooth them, then uses log and adds up these logs,
this has the problem that the posterior per locus are prior*likelihood, so naively the summing the log*posterior will overvaluing the prior,
After our 2010 paper we correct for that (essentially removing the effect of nloci-1 priors) but still needs to account for potential interactions and multiply with a constant (again see 2010 and Palczewski 2014, a book chapter in:
@book{chen2014bayesian,
date-added = {2014-09-13 23:08:01 +0000},
date-modified = {2014-09-13 23:08:33 +0000},
editor = {Chen, Ming-Hui and Kuo, Lynn and Lewis, Paul O},
publisher = {CRC Press},
title = {Bayesian Phylogenetics: Methods, Algorithms, and Applications},
year = {2014}}
@article{beerli:2010,
author = {Beerli, P and Palczewski, M},
doi = {10.1534/genetics.109.112532},
journal = {Genetics},
pages = {313--326},
pmid = {15375243860730196870related:hjPUbdTWX9UJ},
rating = {0},
title = {Unified Framework to Evaluate Panmixia and Migration Direction Among Multiple Sampling Locations},
volume = {185},
year = {2010},
}
This all makes it rather difficult to do the statistics ‘by hand’ I fear
best,
Peter