From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,df84b868ad64e4f7 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!news.banetele.no!news.szn.dk!news.jacob-sparre.dk!pnx.dk!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Re: OT: definition of "significant figures" Date: 01 Aug 2005 09:31:28 +0200 Organization: Jacob's private Usenet server Sender: sparre@hugin.crs4.it Message-ID: References: NNTP-Posting-Host: hugin.crs4.it Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: jacob-sparre.dk 1122881472 4718 156.148.71.67 (1 Aug 2005 07:31:12 GMT) X-Complaints-To: sparre@jacob-sparre.dk NNTP-Posting-Date: Mon, 1 Aug 2005 07:31:12 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 Xref: g2news1.google.com comp.lang.ada:3872 Date: 2005-08-01T09:31:28+02:00 List-Id: Adrian Wrigley wrote: > 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! I know. ;) > How about: > > *Minus* the base 10 logarithms of the standard deviation => > *decimal places* Yes. Apparently I didn't even understand the question. > For example: > SD=0.1 => use 1 decimal place > SD=0.001 => use 3 decimal places > > Note that decimal places are not significant figures! Yes. > 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. Yes. Jacob (who should start thinking before he posts) -- Growing older is compulsory. Growing up isn't.