A field guide: parametric, computational, or both.
Click any row for the reasoning and a pointer to where this site demonstrates it.
summary().
A biased sample, faithfully rebiased. The bootstrap's licence — the sample stands in for the population — is also its only demand, and when it fails, resampling fails silently. If your data over-represent the young, every resample over-represents the young with beautiful precision, and your immaculately bootstrapped confidence interval brackets the wrong number. No amount of silicon fixes representativeness by resampling alone.
Exchangeability, for permutation tests. Shuffling assumes that under the null, labels are arbitrary — observations are exchangeable. Clustered, paired or time-ordered data violate this: shuffle within clusters or blocks, or the null distribution you build answers a question nobody asked.
The first failure has a repair, and it is the taxonomy's third branch: reweight the sample to known population totals. That is post-stratification, next — including the study that turned a wildly unrepresentative Xbox poll into an accurate election forecast.
House rule. When in doubt, run both routes. If they agree, report the parametric result (more familiar) with a clear conscience. If they disagree, the disagreement is a finding: something in the assumptions is broken, and reading which routes cluster usually tells you what.
infer pipeline for doing all of this
declaratively in R.