The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » DECOMPOSING ERREYGERS CONCENTRATION INDEX - STATA
DECOMPOSING ERREYGERS CONCENTRATION INDEX - STATA [message #11762] Tue, 07 February 2017 03:49 Go to next message
Mlue
Messages: 52
Registered: February 2017
Location: Cape Town
Senior Member
Hi there,

I am in the process of writing a research paper. I am using Sierra Leone womens DHS dataset. I have used conindex to compute the concentration index (Erreygers). The variable of interest is binary = Contraceptive use (0=No, 1=Yes).

I would like to know if there's anyone who might have a do-file which computes the decomposition of the Erreygers concentration index (using the Wealth Index and Education as the socioeconomic variables). I want to decompose the index to further illustrate the contribution of certain background factors to inequality.

If anyone has worked on something similar, please let me know - or preferably send your do-file so that I can try to adapt it for my research. Thank you.

[Updated on: Tue, 07 February 2017 04:02]

Report message to a moderator

Re: DECOMPOSING ERREYGERS CONCENTRATION INDEX - STATA [message #12080 is a reply to message #11762] Mon, 27 March 2017 09:14 Go to previous messageGo to next message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 1510
Registered: February 2013
Senior Member
Following is a response from DHS Senior Research Associate, Shireen Assaf:

We do not have any do files for decomposing the concentration index. However, to compute the concentration index with the erreygers correction for a binary outcome contuse (contraceptive use) for instance with the wealth index as a background variable, you can use the following stata code.

gen wt= v005/1000000
conindex contuse [pw=wt], rankvar(v190) bounded limits(0 1) erreygers cluster(v021)

Re: DECOMPOSING ERREYGERS CONCENTRATION INDEX - STATA [message #12422 is a reply to message #12080] Sun, 14 May 2017 08:39 Go to previous messageGo to next message
desalegnmarkos is currently offline  desalegnmarkos
Messages: 6
Registered: May 2017
Location: Ethiopia
Member
I really appreciate the response given by Shireen Assaf; DHS Senior Research Associate on the question of computing decomposition analysis. When I use the command 'gen wt= v005/1000000 and conindex contuse [pw=wt], rankvar(v190) bounded limits(0 1) erreygers cluster(v021)'in my context, the stata result window showed me 'no observation'. But the descriptive analysis of the variable I used has output. I am using stata 14 to compute concentration index for family planning use variable and also want to compute decomposition analysis using Ethiopia Demographic Health survey Data. Can you please help me in sending me do-file on how I can compute the concentration index and decomposition analysis using stata 14. I really appreciate your help in advance. I look forward to your reply.
Re: DECOMPOSING ERREYGERS CONCENTRATION INDEX - STATA [message #12426 is a reply to message #12422] Mon, 15 May 2017 11:25 Go to previous messageGo to next message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 1510
Registered: February 2013
Senior Member
Following is a response from Senior DHS Stata Specialist, Tom Pullum:

It may be that some of your variables are empty. Before the command 'conindex contuse [pw=wt], rankvar(v190) bounded limits(0 1) erreygers cluster(v021)', please insert the following statements:

"codebook contuse v190 v021" and "tab v190 contuse".

Then please send us a log file or a screen shot of the output.

Re: DECOMPOSING ERREYGERS CONCENTRATION INDEX - STATA [message #12440 is a reply to message #12426] Thu, 18 May 2017 03:13 Go to previous messageGo to next message
desalegnmarkos is currently offline  desalegnmarkos
Messages: 6
Registered: May 2017
Location: Ethiopia
Member
Dear Tom Pullum,
Thank you very much for having you there. After you response, I found what the problem was with my analysis. Thank you very much for your guiding suggestion. I found the analysis is working and interesting.
I have three more questions:
1. If I want to do decomposition analysis for more than one variable such as education, residence, and region, can I run the command 'conindex contuse [pw=wt], rankvar(v190) bounded limits(0 1) erreygers cluster(variable)' again and again for variable separatly or is there any mechanism to do it simultaneously like what we do in multivariable logistic regression.
2. In decomposition analysis, how can I get
 Coefficient
 Mean
 Elasticity
 Percentage contribution to Concentration index
3. I am also in need of sample command to compute Gini Index and Gini Curve to see the geographic inequality.
Thank you very much for guidance.
Re: DECOMPOSING ERREYGERS CONCENTRATION INDEX - STATA [message #12443 is a reply to message #12440] Thu, 18 May 2017 10:19 Go to previous messageGo to next message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 1510
Registered: February 2013
Senior Member
Following is a response from DHS Senior Research Associate, Shireen Assaf:

Good to hear that our suggestions are helping you with your research. However, your questions, especially the latest ones, are not really specific to DHS. We suggest that you post them in the Stata forum.
Re: DECOMPOSING ERREYGERS CONCENTRATION INDEX - STATA [message #12876 is a reply to message #12440] Tue, 25 July 2017 23:00 Go to previous message
sumonrupop is currently offline  sumonrupop
Messages: 20
Registered: August 2015
Location: Rajshahi
Member

HI Desalegn Markos,
Hope you will able to solve your problem. I am also facing the similar problem. Would be please help me to find out the following:
In decomposition analysis, how can I get
 Coefficient
 Mean
 Elasticity
 Percentage contribution to Concentration index

I look forward to your reply.


Md. Nuruzzaman Khan
Previous Topic: Varlist not allowed
Next Topic: Calculating median age at first sex and percentage of respondents with sex before the age of 15
Goto Forum:
  


Current Time: Mon Dec 17 00:52:49 Eastern Standard Time 2018