Hi,
I need to do a Pareto chart in his original form, not in the modified version implemented with pdplot. Is there any ado file or any other way to do it?
Is there any way to do it in stata? I'm trying to combine bar or histogram and line, but no way to do it. One of the problem in that my variable of interest is categorical and since I have to do a loop for about 100 graph, I cannot recode variable in descending order every time.

I could succeed in by combine

graph bar (count), over(Categoria, sort(1) descending) ------------------ the sort option allow me to order items according to freq

and

line cum Categoria, yaxis(2) sort

but there is no way to do it


On the other hand with twoway graph, that allows me to combine bar and line, I'm not abre to use the sort option


Many thanks