Subject Re: [firebird-support] Re: Standard Deviation calculation using select query ?
Author Ann W. Harrison
Ali Gökçen wrote:
>
> if i remember correctly, STDDEV is:
>
> if(count(x)>1)
> sqrt ( sum((x-avg(x))*(x-avg(x))) / (count(x)-1) )
>

or
> if(count(x)>1)
> sqrt ( sum((x-avg(x))*(x-avg(x))) / (count(x)) )


Regards,


Ann