standard-deviation

standard-deviation list

Reports the unbiased statistical standard deviation of a list of numbers. Ignores other types of items.

show standard-deviation [1 2 3 4 5 6]
=> 1.8708286933869707
show standard-deviation [energy] of turtles
;; prints the standard deviation of the variable "energy"
;; from all the turtles

Take me to the full NetLogo Dictionary