What is the difference between post hoc fallacies and hasty generalization fallacies?

Post hoc and hasty generalization fallacies both involve jumping to conclusions, but there is a difference between the two.

The post hoc fallacy could be considered a subcategory of the hasty generalization fallacy that focuses specifically on causation and timing.