STAT

From STX Wiki
Jump to navigationJump to search

Mean and standard deviation of input A.

[SPU STAT A OUT MY SIGMA]

In Out
Anumber {\displaystyle MY=A}
{\displaystyle SIGMA=0}
Avector {\displaystyle MY={\frac {1}{n}}\sum _{i=0}^{n-1}A[i]}
{\displaystyle SIGMA={\sqrt {{\frac {1}{n-1}}\sum _{i=0}^{n-1}(A[i]-MY)^{2}}}}

with: n = length of Avector

See also

<SP-atoms>

Navigation menu

Personal tools