The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Weighting data » Melogit and Weights (Weighting Issues for multilevel models)
Re: Melogit and Weights [message #19735 is a reply to message #19734] Thu, 06 August 2020 12:15 Go to previous messageGo to previous message
Yawo is currently offline  Yawo
Messages: 45
Registered: February 2019
Member
Thanks for your responses.

I think we have double two psu's because I appended male and female cases in my pooled dataset. As the listing below shows, the weight values are constant within each psu by gender.

. list sample sex weight weight2 psupool stratapool in 115431/115440

        +----------------------------------------------------------------+
        |       sample      sex    weight   weight2   psupool   strata~l |
        |----------------------------------------------------------------|
115431. | Lesotho 2014     male   .515554         1      4753        336 |
115432. | Lesotho 2014   female    .48581         1      4753        350 |
115433. | Lesotho 2014   female    .48581         1      4753        350 |
115434. | Lesotho 2014     male   .515554         1      4753        336 |
115435. | Lesotho 2014   female    .48581         1      4753        350 |
        |----------------------------------------------------------------|
115436. | Lesotho 2014     male   .515554         1      4753        336 |
115437. | Lesotho 2014   female    .48581         1      4753        350 |
115438. | Lesotho 2014   female    .48581         1      4753        350 |
115439. | Lesotho 2014   female    .48581         1      4753        350 |
115440. | Lesotho 2014   female   .981849         1      4754        340 |
        +----------------------------------------------------------------+



to resolve this issue, should I recreate the psu and strata variables by taking gender into account, ie:

egen psupool= group(idhspsu v000 sex)
egen stratapool= group(strata v000 sex)

sincerely, Yawo
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Multilevel model for SPA data
Next Topic: using wieght, cluster, strata
Goto Forum:
  


Current Time: Wed Nov 27 01:18:23 Coordinated Universal Time 2024