[Thread Prev][Thread Next][Index]

Re: [ferret_users] Standard deviation



Hi -
How about, if for example your variable U is a time series,

let std_var = u[T=@VAR] ^ 0.5

Actually, the variance @VAR is computed as the sum of (data-mean)/n and
the standard deviation is the square root of that sum divided by n-1, so

let npts = `u,return=LSIZE`
let std_var = (u[T=@VAR] * npts/(npts-1) ) ^0.5



Namba Takaya wrote:

>Dear Sir
>
>I know the "statistic" command shows me the standard
>deviation. I would like to put standard deviation into the
>variable straitforwardly. Are there any ways to do it?
>
>Best Regards,
>
>Takaya Namba
>
>__________________________________
>Save the earth
>http://pr.mail.yahoo.co.jp/ondanka/
>
>  
>

[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement