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: Formatting numeric output
From
"Liebrand, Carolyn - RD, Washington, DC" <[email protected]>
To
"[email protected]" <[email protected]>
Subject
RE: st: Formatting numeric output
Date
Thu, 16 Jan 2014 17:54:00 +0000
Thank you! I am a newbie. Just wanted a sum total for reporting purposes.
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Nick Cox
Sent: Thursday, January 16, 2014 12:45 PM
To: [email protected]
Subject: Re: st: Formatting numeric output
That should be -total-, not -table-.
Nick
[email protected]
On 16 January 2014 17:43, Nick Cox <[email protected]> wrote:
> In general, the answer is to define an appropriate -format- for the
> variables concerned.
>
> In this case, there is a -cformat()- option for -total-; whether there
> is enough room in the table for the number of characters you ask for
> is not something I can experiment on right now. The alternative is to
> pick up the e-class results of -table- and arrange your own
> -display-s.
>
> In your example, even the first digit is highly uncertain, so wanting
> display to the precision of 1 part in 10^11 seems puzzling....
>
> Nick
> [email protected]
>
>
> On 16 January 2014 17:23, Liebrand, Carolyn - RD, Washington, DC
> <[email protected]> wrote:
>> Elementary question, I'm sure:
>>
>> How do I get the results to read "37,024,802.387" instead of 3.70e+07?
>>
>> I am simply trying to get the sums of a set of financial variables.
>>
>> . total milk12
>>
>> Total Std. Err. [95% Conf. Interval]
>>
>> milk12 3.70e+07 1.32e+07 1.08e+07 6.32e+07
>>
>> I need more precision than "3.70e"
>>
>> Thank you very much,
>>
>> Carolyn Liebrand
>>
>>
>>
>>
>>
>> This electronic message contains information generated by the USDA solely for the intended recipients. Any unauthorized interception of this message or the use or disclosure of the information it contains may violate the law and subject the violator to civil or criminal penalties. If you believe you have received this message in error, please notify the sender and delete the email immediately.
>>
>>
>> *
>> * 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/
*
* 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/