weights and n-way tabulation
Posted: Wed Feb 10, 2016 3:41 pm
by startz
I have micro data from the American Community Survey (ACS). Each observation has a weight attached that tells how many people in the population that person represents. Is there a way to do an n-way (or 1-way) tabulation accounting for the weights?
Re: weights and n-way tabulation
Posted: Wed Feb 10, 2016 4:13 pm
by EViews Glenn
We have frequency weights built into very few core operations (sorry), but you can often use the by-stats to do what you want. In this case, something like
Code: Select all
series o = @sumsby(freqwgts, byvar)
will get you close. If you let us know what you want to do with the results we might be able to get closer.