Tab2 using survey weights [message #10567] |
Tue, 09 August 2016 07:46 ![Go to next message Go to previous message](/theme/default/images/down.png) |
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
|
|
|