Post hoc analysis
In a scientific study, post hoc analysis (from Latin post hoc, "after this") consists of analyses that were not specified before seeing the data. This typically creates a multiple testing problem because each potential analysis is effectively a statistical test. Multiple testing procedures are sometimes used to compensate, but that is often difficult or impossible to do precisely. Post hoc analysis that is conducted and interpreted without adequate consideration of this problem is sometimes called data dredging by critics, because the more one looks the more likely something will be found.
Sometimes the temptation to engage in post hoc analysis is motivated by a desire to produce positive results or see a project as successful. In the case of pharmaceutical research, there may be significant financial consequences to a failed trial, although the US Food and Drug Administration does not accept post hoc analysis.
In some cases, additional subgroup analysis may be requested by scientific peers or the editors of academic journals. In one such incident, journal editors demanded that the statistician Richard Peto provide a post hoc analysis of subgroups for the use of aspirin as secondary prevention for people who had experienced heart attacks. He refused the request as being statistically unsound and likely to lead to nonsensical results. When they persisted, he provided the editors with a subgroup analysis that evaluated the supposed response based upon the patients' astrological signs.