Hi everyone,
I’m currently trying to create a weighted table in Stata similar to the example image I’ve attached. I’ve been running into difficulty with two main issues:
Thank you in advance!
I’m currently trying to create a weighted table in Stata similar to the example image I’ve attached. I’ve been running into difficulty with two main issues:
- Creating the conditions under a section
- Specifically, I want to show “number of days iron supplements were taken” using the following conditions (as reflected in the attached image) under a table section, using my survey dataset with weights.
- Merging multiple collections/sections into a single table
- I’ve tried using svy: commands along with collect, but I’m not sure how to combine multiple variables/sections into one cohesive table with counts and weighted percentages. I’ve already generated the survey weights and set up the svyset design.
- Properly use svy: proportion with conditions to reflect days of iron intake, and
- Merge multiple collections/sections into a single table using collect
Thank you in advance!

Comment