| 12 | |
| 13 | INTEGER, INTENT(IN) :: dim_p ! Local size of the state vector |
| 14 | INTEGER, INTENT(IN) :: dim_ens ! Number of ensemble members/samples |
| 15 | REAL, INTENT(IN) :: ens(dim_p,dim_ens) ! Ensemble matrix |
| 16 | INTEGER, INTENT(IN) :: kmax ! Highest order of statistical moment (1-4) |
| 17 | REAL, INTENT(OUT) :: moments(dim_p, kmax) ! The statistical moments up to order `kmax` with |
| 18 | ! - column 1: mean |
| 19 | ! - column 2: variance |
| 20 | ! - column 3: skewness |
| 21 | ! - column 4: excess kurtosis |
| 22 | INTEGER, OPTIONAL, INTENT(IN) :: bias !< 0 to compute bias corrected values (default) |
13 | | |
14 | | with the following arguments: |
15 | | |
16 | | - `dim_p` : INTEGER, INTENT(IN) [[BR]] Size of the state vector |
17 | | |
18 | | - `dim_ens` : INTEGER, INTENT(IN) [[BR]] Ensemble size |
19 | | |
20 | | - `ens` : REAL, DIMENSION(dim_p,dim_ens), INTENT(IN)[[BR]] Ensemble matrix |
21 | | |
22 | | - `kmax` : INTEGER, INTENT(IN) [[BR]] Highest order of statistical moment (1-4) |
23 | | |
24 | | - `moments` : REAL, DIMENSION(dim_p,kmax), INTENT(OUT) [[BR]] The statistical moments up to order `kmax` with |
25 | | - column 1: mean |
26 | | - column 2: variance |
27 | | - column 3: skewness |
28 | | - colmnu 4: excess kurtosis |
29 | | |
30 | | - `bias` : INTEGER, OPTIONAL, INTENT(IN) [[BR]] If 0 bias-corrected values are computed (default) |