Hello,

I am trying to calculate a Theil index for regions in the UK in order to analyse the within and between income inequality. I manage to get some output showing this however I believe it is not correct because it states the Popn. share as 0.08333 which is weighting the regions equally (1/12) however I have data about the population size I'm just not sure how to change it to that. I've tried using fweight(population) but it does not seem to work as it says option weight not allowed. The current command I've been using to get the output is ineqdeco decileincome, by(region).

Thanks for any help in advance!!