Module for basic sample statistics.
Impure wrapper function for f_sts_cov_core.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | x(:) |
x vector (assumed size array) |
||
| real(kind=wp), | intent(in) | :: | y(:) |
y vector (assumed size array) |
||
| real(kind=wp), | intent(in), | optional | :: | ddf |
delta degrees of freedom |
covariance
Computes covariance.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | x(:) |
x vector (assumed size array) |
||
| real(kind=wp), | intent(in) | :: | y(:) |
y vector (assumed size array) |
||
| real(kind=wp), | intent(in) | :: | ddf |
delta degrees of freedom |
covariance
Impure wrapper function for f_sts_mean_core.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | x(:) |
x vector (assumed size array) |
arithmetic mean
Computes arithmetic mean.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | x(:) |
x vector (assumed size array) |
arithmetic mean
Impure wrapper function for f_sts_median_core.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | x(:) |
x vector (assumed size array) |
median
Computes median using s_utl_rank for tie-aware ranking
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | x(:) |
x vector (assumed size array) |
median
Impure wrapper function for f_sts_trend_core.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | x(:) |
x vector (assumed size array) |
||
| real(kind=wp), | intent(in) | :: | y(:) |
y vector (assumed size array) |
Pearson correlation coefficient
Computes Pearson correlation coefficient.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | x(:) |
x vector (assumed size array) |
||
| real(kind=wp), | intent(in) | :: | y(:) |
y vector (assumed size array) |
Pearson correlation coefficient
Impure wrapper for f_sts_scc_core.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | x(:) |
x vector (assumed size array) |
||
| real(kind=wp), | intent(in) | :: | y(:) |
y vector (assumed size array) |
Spearman correlation coefficient
Computes Spearman rank correlation coefficient between x and y.
Uses f_sts_pcc_core on ranks.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | x(:) |
x vector (assumed size array) |
||
| real(kind=wp), | intent(in) | :: | y(:) |
y vector (assumed size array) |
Spearman correlation coefficient
Impure wrapper function for f_sts_std_core.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | x(:) |
x vector (assumed size array) |
||
| real(kind=wp), | intent(in), | optional | :: | ddf |
delta degrees of freedom |
standard deviation
Computes standard deviation.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | x(:) |
x vector (assumed size array) |
||
| real(kind=wp), | intent(in) | :: | ddf |
delta degrees of freedom |
standard deviation
Impure wrapper function for f_sts_trend_core.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | x(:) |
x vector (assumed size array) |
||
| real(kind=wp), | intent(in) | :: | y(:) |
y vector (assumed size array) |
trend/regression slope
Computes regression coefficient/trend.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | x(:) |
x vector (assumed size array) |
||
| real(kind=wp), | intent(in) | :: | y(:) |
y vector (assumed size array) |
trend/regression slope
Impure wrapper function for f_sts_var_core.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | x(:) |
x vector (assumed size array) |
||
| real(kind=wp), | intent(in), | optional | :: | ddf |
delta degrees of freedom |
variance
Computes (sample) variance.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | x(:) |
x vector (assumed size array) |
||
| real(kind=wp), | intent(in) | :: | ddf |
delta degrees of freedom |
variance