Bookmark and Share

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]

Re: st: string output in tables truncated - how to fix?


From   Nick Cox <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: string output in tables truncated - how to fix?
Date   Tue, 25 Jun 2013 23:56:52 +0100

Where is that -format()- option documented?

Format options typically control numeric display.

I have to guess your choice is limited to editing those strings.
Nick
[email protected]


On 25 June 2013 23:43, Stephanie Taylor <[email protected]> wrote:
> Hello,
>
> I am trying to analyze a survey dataset in which most of the response options are categorical string variables.  I used the following command and the row output for the categories in the table was truncated.  Unfortunately the categories in some of the questions are identical in the first few characters and since the data is weighted it is difficult to decipher what is what.
>
> svy linearized : tabulate q1, cell ci percent
>
> I tried overriding the display format as below both with the default 12 setting and the length of 18.  I got the error message "invalid %format" for each attempt.  Q1 is a str18 variable with format %18s.
>
> svy linearized : tabulate q1, cell ci percent format(%12s)
> svy linearized : tabulate q1, cell ci percent format(%18s)
>
> What can I do to make the table display properly?
>
> Thanks,
>
> Stephanie Taylor
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/

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


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index