Re: [R] Theil decomposition

2011-11-16 Thread Dennis Murphy
Looking at the help pages in the ineq package, the Theil() function simply returns the value of the index. You can look at the source code of the relevant functions to see what they actually compute: library('ineq') ineq # the main function Theil# for the Theil index Neither function is l

[R] Theil decomposition

2011-11-15 Thread Kitty Lee
I came across the package 'ineq' that computes a variety of inequality measures (e.g. gini, theil etc). I want to compute the Theil index (racial segregation) and decompose the total into sub-components (by geog levels). I think the package doesn't report the decomposition (correct me if I'm wro