The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » Tab2 using survey weights
Tab2 using survey weights [message #10567] Tue, 09 August 2016 07:46 Go to previous message
jane_cheatley is currently offline  jane_cheatley
Messages: 6
Registered: July 2016
Location: London
Member
Hi,

I am currently look at panel data for 10 countries using DHS data. I am hoping to run chi-squared tests for my bivariate logistic regressions in order to choose which variables to include in my multi-variate regression.

Given I am running multiple multi-variate regressions (e.g. all countries and year, separate country for all years etc) I would like a quick way to get results.

I know I can use 'tab2, first only' to do this - e.g. tab2 dead bednet electricity urban, chi2 firstonly. This command, however, does not take into account survey weights. I cannot put 'svy' infront of the command as tab2 is not supported by svy. I noticed that fweights is the only weight supported by tab2, however, DHS has non-integer weights, therefore fweights does not work.

My question is, how can I run 'tab2, first only' to get results for chi-squared tests, taking into account survey weights?

Any assistance would be greatly appreciated.

Best,

Jane
 
Read Message
Read Message
Previous Topic: Education level in single years in CR
Next Topic: Relative index of inequality calculation
Goto Forum:
  


Current Time: Sat Apr 20 00:28:54 Coordinated Universal Time 2024