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
Adjusting variables with Nelson-Aalen cumulative hazard functionDear all! I am struggling with the survivor function of the Nelson-Aalen cumulative hazard function…
How to use percentile data and raw data?Hi everyone I have a question for you? The model I use has both percentage variables and raw data. A…
how to get foreach of varlist v1-v10 take every second variable from the specified set (v1 v3 v5...)?Hi dear Statalisters, I was wondering if there is any way to get Stata to pick every second variable…
Inconsistent Behavior Between Mata Functions and Identical Class Methods Toward Object TypesThis is occasioned by a thread begun by Alfonso Sánchez-Peñalver here. It’s been a while since I’ve…
Questions about the spmap commandHello Stata Community, I am currently using STATA/SE 14 to analyze social expenditure at the region…
Subscribe to:
Post Comments (Atom)
0 Response to Compare proportions with survey weights
Post a Comment