Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[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 <[email protected]>
To
[email protected]
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/