On a Statistical Mechanics Approach to Some Problems of the Social Sciences