I have the (possibility wrong) impression that most programming questions are closed with the motivation "this is not about stats, but about programming, or etc.", rather than being migrated to SO. Is this because they don't seem to be in the right format for SO (e.g., questions about libraries/packages, or questions which don't contain a MRE)? Thus, an attempt to migration would result in the migration being refused by SO moderators. Or are there other reasons?
@whuber is right. When I judge that questions would be viable on SO, I'm happy to migrate. But most of the programming-ish questions I see don't seem good enough. In particular, they tend to lack reproducible examples. It's also worth being clear that a, say, 'how do I use R?' question would be off topic here, and can simultaneously be off topic on SO as not really about programming. That is, there can be perfectly good (and sympathetic) questions that are not on topic anywhere in the SE system.