Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Error message using Tabout and regressions by year command


From   Alice Jones <alicejones07@googlemail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Error message using Tabout and regressions by year command
Date   Wed, 8 Feb 2012 03:34:56 +0000

Thanks Nick for your help. Sorry for the delayed response.

I used -tabout- (SSC) following Ian Watson's tutorial. I found the
error resulted from me splitting and running the command below in two
separate lines which stata could not understand:

 tabout size age using table1.txt, replace cells(fcount fper fcum)
format(%9.0fc %9.1f %9.2f)

Running the command in a single line, I got an error message about an
invalid entry in the cells option, after which I found a more recent
tutorial online with changes in the second line of the syntax which
worked:

tabout  size age using table1.txt, cells(freq col cum) format(0 1 1) replace

Problem is all sorted now. The regression tip also worked.


Best Regards,

Alice
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index