The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » command for Cluster Average of Women's employment
Re: command for Cluster Average of Women's employment [message #27298 is a reply to message #27296] Thu, 13 July 2023 13:41 Go to previous messageGo to previous message
Alanood is currently offline  Alanood
Messages: 18
Registered: November 2022
Member
Thank you for your replay

Regarding your point " This can be modified to construct a woman-specific variable that omits the woman herself from the calculation. "
How this can be done ?

If the average is done by this command
egen v201_mean=mean(v201), by(v001)

How can I exclude the women itself from v201_mean.

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Setting the Data for Survey Analysis-Stata
Next Topic: stunting calculation
Goto Forum:
  


Current Time: Tue Nov 26 18:38:28 Coordinated Universal Time 2024