Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: When to use stdize and stdweight with svy: tab and svy: mean?

From   Arturo Rodriguez <>
Subject   st: When to use stdize and stdweight with svy: tab and svy: mean?
Date   Thu, 17 Nov 2011 17:04:38 -0600

Hi everybody,

I am working with survey data which was collected through a one-stage
cluster sample with stratification. I am trying to tabulate two
variables -a dummy and a categorical variable identifying districts. I
noticed that I can do the tabulation either by using "svy: tab dummy
district" or by "svy: tab dummy district, sdize(strata_var)
stdweight(weight_var)". I ran both commands and see that the % in the
results change from one command to the other; however, I don't know
what is happening behind the scenes.

My sample was stratified (by health centers) and the primary sampling
unit were "villages". In defining my survey characteristics I used the
svyset villages [pweight = pw] strata(health_center)

What is the difference between the results I'm getting from each option?
(1) svy: tab dummy district
(2) svy: tab dummy district, stdize(health_centre) stdweight(pw)

Since I'm working with stratified cluster data, does that necessarily
mean that all my svy: tab and svy: mean commands need to specify the
stdize and stdweight options?

Thanks in advance for all the wisdom.

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index