comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: mean and sdev
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: mean and sdev [message #11144 is a reply to message #11130] Mon, 02 March 1998 00:00 Go to previous messageGo to previous message
wmc is currently offline  wmc
Messages: 117
Registered: February 1995
Senior Member
In article f63234456caf9bc98972f@news.frii.com, davidf@dfanning.com (David Fanning) writes:
> R. Bauer (r.bauer@fz-juelich.de) writes:
>> I 'd like to know if a build in function somewhere is available to get
>> means and standard deviations.

> I use the MOMENT function for most of these simple statistical
> measurements.
>
> stats = Moment(data, STD=standardDeviation)
> mean = stats[0]
> Print, mean, standardDeviation

David is of course correct, but if you just want the standard deviation, the
obsolete procedure stdev is available (still in v5.03), and saying
sd=stdev(data) is rather more convenient than the 2-liner version using stats!
I don't understand why stdev has been made obsolete.

- William

---
William M Connolley | wmc@bas.ac.uk | http://www.nbs.ac.uk/public/icd/wmc/
Climate Modeller, British Antarctic Survey | Disclaimer: I speak for myself
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Array intersections
Next Topic: Re: flanagan@spacenet

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Mar 20 01:22:49 PDT 2026

Total time taken to generate the page: 1.67932 seconds