Since you are using frequency weights with -table-, you can obtain the sum of weights by typing, for example, -table disease [fw = pop], stat(sumw)- or by typing -table [fw = pop], stat(fvfreq disease)-. The statistic -frequency- provides raw frequencies, whereas -sumw- provides the sum of weights. Similarly, you can obtain weighted frequencies with -fvfrequency- and unweighted frequencies with -fvrawfrequency-. You can type -help table- to learn more.
↧