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 then thought to put [pweight=v005/1000000] instead of svy, however, pweights was not allowed nor was a/f/i weights.
My question is, how can I run tab2, first only with survey data and results for chi-squared tests?
Any assistance would be greatly appreciated.
Best,
Jane
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 then thought to put [pweight=v005/1000000] instead of svy, however, pweights was not allowed nor was a/f/i weights.
My question is, how can I run tab2, first only with survey data and results for chi-squared tests?
Any assistance would be greatly appreciated.
Best,
Jane
Comment