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
Testing the equality of the regression coefficientsThe main regression model reghdfe y x controls, absorb (ind fyear) vce(cluster gvkey) Now I want t…
How do I regress by month?My panel of data looks like the sample below. I am trying to regress 'subs' with the remaining varia…
Removing individuals based on criteriaHi. I am working with paneldata. I want to remove individuals who don't have a value for each year …
Multiple sheets export excelHello, I want to export the "auto" file in several Excel's sheets (one per brand). Code: sysuse aut…
New package: Relogitplot - predictive margins plots after relogit regressionsIf you use the relogit package (Tomz, King, and Zeng), you may be interested in an addon I wrote whi…
Subscribe to:
Post Comments (Atom)
0 Response to Compare proportions with survey weights
Post a Comment