Segregation: stata module to compute segregation indices, consisting of two codes
--> Localseg
Stata code for measuring local and overall segregation indices based on Alonso-Villar, O. and C. Del Río (2010), "Local versus Overall Segregation Measures", Mathematical Social Sciences, vol. 60(1), pp. 30-38.
--> Dicseg
Stata code for measuring several segregation indices in a two-groups context. For an application see: Conditional occupational segregation of minorities in the U.S., Ecineq Working Paper Series 2010-185.
For installing both programs, from the command line in Stata run:
findit localseg
and then click on (click here to install) for installing the ado files, and (click here to get) for getting the data file.
Both codes require to have matsort.ado written by Paul Millar previously installed and Stata 10 or higher.
With the segdata.dta file you can run the examples in the help files, only for illustration purposes. |