An Entropy Approach to Statistical Energy Analysis