View Single Post
  #6  
Old 10-05-2010, 11:20 AM
Tork Tork is offline
Kobold

Tork's Avatar

Join Date: Jun 2010
Posts: 127
Default

Mean = Expected Value = μ
Std Dev = Sqrt(Average((X - μ)^2)) = σ,
so it's the square root of the average of the quantity squared of each data point less the mean

(But I'd be surprised if your programming language of choice didn't have something already premade)