]]>
Hello,
The following code can be used for obtaining the concentration index with the erreygers correction assuming you have computed your outcome variable cpr (contraceptive use). Here I am showing this for the wealth index, the same should follow for the education variable.
gen wt= v005/1000000 conindex cpr [pw=wt], rankvar(v190) bounded limits(0 1) erreygers cluster(v001)
Thank you.
Best,
]]>
We do not have do files for this type of analysis as far as I know. This is really a question about Stata not DHS. I suggest you ask the Stata forum http://www.statalist.org/