File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 726726 <argument type =' date' />
727727 </function >
728728 <function group =' aggregate' name =' STDEV' return-type =' real' >
729- <formula >STDDEV(%1)</formula >
729+ <formula >STDDEV(%1) * sqrt(count(%1) / (count(%1) - 1.0)) </formula >
730730 <unagg-formula >NULL</unagg-formula >
731731 <argument type =' real' />
732732 </function >
733733 <function group =' aggregate' name =' STDEVP' return-type =' real' >
734- <formula >(CASE WHEN COUNT(%1) = 1 THEN 0.0 WHEN COUNT(%1) > 0 THEN (STDDEV(%1) * SQRT(COUNT(%1) - 1) /
735- SQRT(COUNT(%1)) ) ELSE NULL END)
734+ <formula >(CASE WHEN COUNT(%1) = 1 THEN 0.0 WHEN COUNT(%1) > 0 THEN STDDEV(%1) ELSE NULL END)
736735 </formula >
737736 <unagg-formula >(CASE WHEN %1 IS NULL THEN NULL ELSE 0.0 END)</unagg-formula >
738737 <argument type =' real' />
You can’t perform that action at this time.
0 commit comments