comp.lang.ada
 help / color / mirror / Atom feed
From: "Dr. Adrian Wrigley" <amtw@linuxchip.demon.co.uk.uk.uk>
Subject: Re: OT: definition of "significant figures"
Date: Sat, 30 Jul 2005 23:44:12 GMT
Date: 2005-07-30T23:44:12+00:00	[thread overview]
Message-ID: <pan.2005.07.30.23.44.26.119@linuxchip.demon.co.uk.uk.uk> (raw)
In-Reply-To: m2ek9hvfeb.fsf@hugin.crs4.it

On Fri, 29 Jul 2005 16:46:36 +0200, Jacob Sparre Andersen wrote:

> tmoran@acm.org writes:
> 
>> Given a set of measurements x(i), I'd like to print their average to
>> the "correct" number of significant figures.  eg
>>   1.11, 1.12, 1.08 => "1.1",   1.11, 1.25, 1.35 => "1"
>> I've got some adhocery that more or less does it, but is there a
>> moderately standard, formal, definition?
> 
> The base 10 logarithm of the standard-deviation of your measurements.

this looks like one of those physicist's sign errors!

How about:

*Minus* the base 10 logarithms of the standard deviation =>
  *decimal places*

For example:
SD=0.1   => use 1 decimal place
SD=0.001 => use 3 decimal places

Note that decimal places are not significant figures!

Significant figures = Log10 (mean / standard deviation) + C

I think people also add in the (small) constant, for
good measure, depending on how they feel about the data distribution.

YMMV
-- 
Adrian




  reply	other threads:[~2005-07-30 23:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-29  4:23 OT: definition of "significant figures" tmoran
2005-07-29 14:46 ` Jacob Sparre Andersen
2005-07-30 23:44   ` Dr. Adrian Wrigley [this message]
2005-07-31  7:02     ` tmoran
2005-08-01  7:31     ` Jacob Sparre Andersen
2005-07-31  8:36 ` Dmitry A. Kazakov
2005-07-31 19:08   ` tmoran
     [not found] <e3nqe19bqp99h20anetgc7m63ai8ol84nv@4ax.com>
2005-08-01  4:11 ` tmoran
2005-08-01  6:50 ` tmoran
2005-08-01 16:58   ` tmoran
2005-08-01 23:56     ` tmoran
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox