z-Scores(standard deviation and mean) in PHP

前端 未结 5 1541
暖寄归人
暖寄归人 2020-12-05 14:47

I am trying to calculate Z-scores using PHP. Essentially, I am looking for the most efficient way to calculate the mean and standard deviation of a data set (PHP array). Any

5条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-05 15:22

    How about using the built in statistics package like stats_standard_deviation and stats_harmonic_mean. I can't find a function for standard means, but if you know anything about statistics, I'm sure you can figure something out using the built-in functions.

提交回复
热议问题