I am getting a very strange data storage type problem.
I am creating a data set that counts the number of
people by age using the -collapse- command. I then
merge these numbers back onto a larger data set (to
use as fixed weights). I am then using the
-tab- command to compare two variables (using the
weights) with no problem. When I use the -tabout-
command, I get an error that frequency weights must be
integers.
So here's the problem: The weights appear to be
integers (using the data browser) and I've tried
compressing and reformatting but to no avail. When I
try -recast int wgt-, it turns out that about 14
different observations would be changed, but I can't
tell why. (If I try -recast int wgt, force- Stata
turns those observations into missings).
Any ideas for dealing with this problem?
Thanks,
jon
____________________________________________________________________________________
Finding fabulous fares is fun.
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains.
http://farechase.yahoo.com/promo-generic-14795097
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/