The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Weighting data » Query on Cluster-Level Modeling with DHS Data and Sampling Weights (Building models whereby the response variable and covariates, are aggregated at the cluster level.)
Re: Query on Cluster-Level Modeling with DHS Data and Sampling Weights [message #30090 is a reply to message #30076] Sun, 22 September 2024 00:33 Go to previous messageGo to previous message
sayianka is currently offline  sayianka
Messages: 2
Registered: September 2024
Member
Thank you for your detailed explanation.
I have successfully recreated the R version of the Stata code.

I needed clarification on this line:
collapse (first) v005 v023 (sum) nch4plus cases (mean) v190_*, by(v001)

I've noted that we use simple means for the variables in this line; Is this meant to be so, or we should weigh the means ?

I've also taken note of your comment: "Substantively, this would not be a good analysis of the data.", as this sentiment has been echoed elsewhere in this forum as well.
The only reason I am attempting this cluster-level analysis is to perform an analysis similar to what the DHS team does for geospatial covariates and modeled map surfaces. According to their report, this analysis must be conducted at the cluster level.

Thank you for your assistance.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Calculating residuals for adjusted logistic regression models after using the svy command
Next Topic: DHS weights and random effects in a GLMM
Goto Forum:
  


Current Time: Sat Nov 30 14:39:27 Coordinated Universal Time 2024