Pareto versus lognormal: a maximum entropy test