Processing math: 100%

standard_deviation Function

public pure function standard_deviation(x) result(rst)

Computes the sample standard deviation of the values in an array.

The value computed is the sample standard deviation. s=Σ(xiˉx)2n1

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: x(:)

The array of values to analyze.

Return Value real(kind=real64)

The result.


Contents