Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: variable data type problem


From   "Michael Blasnik" <[email protected]>
To   <[email protected]>
Subject   Re: st: variable data type problem
Date   Tue, 19 Jun 2007 15:31:49 -0400

It appears to be a built-in bug in the tabout code. It actually checks the storage type of any frequency weight specified and aborts with an error if it isn't "int". I would think it should allow long as well. While awaiting a fix, you may be able to just edit tabout.ado, fix the problem line, and save it under a new name.

Michael Blasnik


----- Original Message ----- From: "Jon Schwabish" <[email protected]>
To: <[email protected]>
Sent: Tuesday, June 19, 2007 8:47 AM
Subject: Re: st: variable data type problem



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
*
*   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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index