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
Collapse commandHello In my dataset, I have two string variables. I am trying to summarize the number of implements…
Help with changing reference category when doing a cox regressionHello, I am doing a cox regression and have a variable socioeconomic status 'ses' which I have label…
xtlogit does not converge (not concave)Dear Statalist I'm having difficulties trying estimate the following model working with panel data …
Append/ merge datasetsI am using survey data which i was able to download for each year directly into stata. However i wan…
how to use color to differentiate the two groups? Code: set scheme s2mono * Example generated by -dataex-. To install: ssc install dataex clear inp…
Subscribe to:
Post Comments (Atom)
0 Response to Compare proportions with survey weights
Post a Comment