David Kantor did hit it on the head--the size of the
weight is the problem. I have tried both Austin's and
David's suggestions, but the problem appears to be
with the -tabout- command; it appears to only accept
the strict "int" definition of frequency weights (ie,
integers less than 32740).
I will try working with -aweights-, but if anyone else
has ideas, please let me know.
Thanks,
jon
--- Austin Nichols <[email protected]> wrote:
> Jon Schwabish <[email protected]>:
> I think David Kantor identified your problem, but I
> think you should,
> in general, either round and then -recast- since
> -recast- will
> truncate (e.g. turn 3.9 into 3), or (possibly
> better) specify your
> weight as an [aweight] instead.
>
> clear
> input f
> 4
> 3.2
> 3.8
> 33735
> end
> recast int f, force
> li
>
> clear
> input f
> 4
> 3.2
> 3.8
> 33735
> end
> replace f=round(f)
> recast long f
> li
>
>
> On 6/18/07, David Kantor <[email protected]> wrote:
>> Try -recast long-
>> HTH
>> --David
>>
>> At 02:11 PM 6/18/2007, Jon Schwabish wrote:
>>> 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).
>
____________________________________________________________________________________
Got a little couch potato?
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz
*
* 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/