Computes the pooled estimate of variance.
Computes the pooled estimate of variance.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in), | dimension(:) | :: | si |
An N-element array containing the estimates for each of the N variances. |
|
integer(kind=int32), | intent(in), | dimension(size(si)) | :: | ni |
An N-element array containing the number of data points in each of the data sets used to compute the variances in si. |
The pooled variance.
Computes the pooled estimate of variance.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(array_container), | intent(in), | dimension(:) | :: | x |
An array of arrays of data. |
The pooled variance.
Computes the sample covariance of two data sets.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in), | dimension(:) | :: | x |
The first N-element data set. |
|
real(kind=real64), | intent(in), | dimension(size(x)) | :: | y |
The second N-element data set. |
The covariance.
Computes the mean of the values in an array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | x(:) |
The array of values to analyze. |
The result.
Computes the median of the values in an array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(inout) | :: | x(:) |
The array of values to analyze. On output, this array is sorted into ascending order. |
The result.
Computes the specified quantile of a data set using the SAS Method 4.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | x(:) |
An N-element array containing the data. |
||
real(kind=real64), | intent(in) | :: | q |
The quantile to compute (e.g. 0.25 computes the 25% quantile). |
The result.
Computes the sample standard deviation of the values in an array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | x(:) |
The array of values to analyze. |
The result.
Computes the trimmed mean of a data set.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(inout), | dimension(:) | :: | x |
An N-element array containing the data. On output, the array is sorted into ascending order. |
|
real(kind=real64), | intent(in), | optional | :: | p |
An optional parameter specifying the percentage of values from either end of the distribution to remove. The default is 0.05 such that the bottom 5% and top 5% are removed. |
The trimmed mean.
Computes the sample variance of the values in an array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | x(:) |
The array of values to analyze. |