Dear Statalist Community,
I am having trouble calculating the theil index for land inequality using ineqdeco. I want to calculate this index for each of my municipalities. However, for each municipality, I have 10 categories of land plots by size. For each category I have data on the number of plots (num_cat*), and on the area of all plots by hectare (surfac_cat*).
I wanted to calculate land inequality taking into account the surface and the number of plots in each category. Basically, my goal was to replicate this formula of the theil index: https://psychology.fandom.com/wiki/I...t_computations.
However, I don't know how to operationalize that using ineqdeco, given that I have two things to consider (surface and number) and 10 categories...
Thank you so much!!
Cat
I am having trouble calculating the theil index for land inequality using ineqdeco. I want to calculate this index for each of my municipalities. However, for each municipality, I have 10 categories of land plots by size. For each category I have data on the number of plots (num_cat*), and on the area of all plots by hectare (surfac_cat*).
I wanted to calculate land inequality taking into account the surface and the number of plots in each category. Basically, my goal was to replicate this formula of the theil index: https://psychology.fandom.com/wiki/I...t_computations.
However, I don't know how to operationalize that using ineqdeco, given that I have two things to consider (surface and number) and 10 categories...
Thank you so much!!
Cat
Code:
Variable Obs Mean Std. dev. Min Max muni_code 3,330 3598.177 2027.443 4 7159 num_cat1 3,306 105.6086 167.9347 0 3295 num_cat2 3,306 70.99274 97.24655 0 2726 num_cat3 3,306 161.9897 168.7842 0 3361 num_cat4 3,306 66.8902 65.31594 0 903 num_cat5 3,306 52.99335 59.39432 0 649 num_cat6 3,303 22.65789 34.31665 0 406 num_cat7 3,275 8.865954 18.14336 0 302 num_cat8 3,245 2.153467 6.430017 0 121 num_cat9 3,261 1.586017 4.444032 0 101 num_cat10 3,229 .4168473 .9689932 0 14 surfac_cat1 3,204 23.85705 35.14102 0 890 surfac_cat2 3,204 55.17603 76.61556 0 2165 surfac_cat3 3,204 304.6957 313.7701 0 6267 surfac_cat4 3,204 255.9566 251.9805 0 3485 surfac_cat5 3,204 363.7185 417.5487 0 4770 surfac_cat6 3,204 312.0147 485.0082 0 5657 surfac_cat7 3,204 261.8645 566.1812 0 10880 surfac_cat8 3,204 150.0268 459.4285 0 8735 surfac_cat9 3,204 324.7272 938.089 0 23031 surfac_cat10 3,204 668.2612 1724.493 0 19849
Comment