<p>Personally, I think we should be fairly flexible with (statistical) programming questions. </p>

<p>I agree that the first case is more SO, but when it's obviously statistical - as with this <a href="https://stats.stackexchange.com/questions/134/algorithms-to-compute-the-running-median">question</a> - then I'm not too sure. I think that people may come to this site, but would not necessary venture to the SO site. For example, what tags would the example question get at SO? Who monitors those tags?</p>

<p><strong>Edit following comment from mbq</strong></p>

<p>I suppose I come from the more computational end of statistics, so I would see this as a statistical algorithm. What we need to consider is where the questioner is most likely to get the best answer?</p>

<p>For example, if you use MCMC you may need to keep a running estimate of the mean and variance, i.e. <em>n</em> isn't fixed. This is just an algorithm, but I suspect that people in this site may have more experience in implementing it.</p>
