weights and n-way tabulation
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3798
- Joined: Wed Sep 17, 2008 2:25 pm
weights and n-way tabulation
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?
-
EViews Glenn
- EViews Developer
- Posts: 2682
- Joined: Wed Oct 15, 2008 9:17 am
Re: weights and n-way tabulation
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
will get you close. If you let us know what you want to do with the results we might be able to get closer.
Code: Select all
series o = @sumsby(freqwgts, byvar)Who is online
Users browsing this forum: No registered users and 2 guests
