Statistical mechanics has 2 different meanings across 1 category:
the branch of physics that makes theoretical predictions about the behavior of macroscopic systems on the basis of statistical laws governing its component particles
The branch of physics that uses statistical laws to make theoretical predictions about macroscopic systems of particles.