BioPHP - Satndard Deviation
Original code submitted by josebaCode bellow is covered by GNU GPL v2 license.
Description
Last change: 2010/10/18 17:04 | Edit description | Recent Changes | Original descriptionCalculates Standard Deviation of a serie of numbers
Code
Last change: 2010/10/18 17:04 | Edit Code | Recent Changes | Download | Original code// This function will only process a one dimensional array
// requires function variance
function standard_deviation( $data ) {
return Sqrt( variance($data) );
}