The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » Tabulating cluster and outcome variable
Tabulating cluster and outcome variable [message #28438] Sat, 06 January 2024 07:17
T Daba is currently offline  T Daba
Messages: 4
Registered: October 2023
Dear Stata forum users and experts

I am doing data analysis using the Kenya DHS dataset and have encountered an error while cross-tabulating the number of clusters and the outcome variable to determine the number of participants in each cluster. The Stata output gave me an error message stating "too many values". I used the following commands:

1. First, I created a weight variable.
2. Then, I ran "tab v001 outcome [iw=wt]".

Could you please assist me with resolving this issue?

Thank you so much!

Tadesse Daba, PhD student at Deakin University
Previous Topic: Reshaping Kenya's DHS dataset
Next Topic: multidimensional poverty index
Goto Forum:

Current Time: Sun Jul 14 13:57:29 Coordinated Universal Time 2024