Hi,
I used the following command to generate the output given below.
Code:
svy: tabulate Recoded c_urban_rural, tab( d_all_annual_amount) column
Here, Recoded is a nominal variables with 21 categories, c_urban_rural is a binary variable and d_all_annual_amount is a continuous variable. Following is the output table.
Array
Now, I need to test whether the proportion of urban is equal to that of rural for each category of 'Recoded'. For example, when Recoded = gardens, the proportion of urban (0.0724) is similar or different to the proportion of rural (0.3672). I hope this is clear enough. Any support is kindly appreciated.
Thank you in advance.
Related Posts with Compare proportions with survey weights
Significant difference between two metric variablesWe have made a pre-test and asked respondents to evaluate the direction and strength of 7 arguments …
Stata Command "myqreg2" exists?I found a do file online where a very renowned economist used "myqreg2" command while estimating qua…
Define a dummy with overlapping periodsDear All, I have this dataset Code: * Example generated by -dataex-. To install: ssc install dataex…
Parallel trends graph for staggered difference-in-differencesMost papers that use staggered difference-in-differences seem to use regression evidence instead of …
Cross-sectional regressionDear all, I would like to get the residual of cross-sectional regression for every industry-year com…
Subscribe to:
Post Comments (Atom)
0 Response to Compare proportions with survey weights
Post a Comment