Statistical functions in Go