Better HN
topnewbestaskshowjobs
Log inSign up

umdiff

3 karma · joined Oct 1, 2018 (8y ago) · 3 submissions

Submissions

comment 7y ago · link · parent

I think this works perfectly if your list has 2^n elements. Otherwise, you have to resort to multiplying by imprecise fractions.

comment 7y ago · link · parent

\left( \sum_{i=1}^m x_i/m + \sum_{i=m+1}^{2m} x_i/m \right) / 2 = \sum_{i=1}^{2m} x_i /(2m)

comment 8y ago · link · parent

I'd add that sampling is still very useful in contexts when the partition function is known or efficient to calculate.

What's generally interesting is the general character of the posterior -- its modes, the shape of variance around these modes etc. High-quality sampling helps with this, whereas being about to calculate the PDF exactly at particular points sometimes does not.