R: Ensemble Mean Error

EnsError {easyVerification} | R Documentation

## Ensemble Mean Error

### Description

Computes various ensemble mean error scores. `EnsMe` computes the mean error, `EnsMae` the mean absolute error, `EnsMse` the mean squared error, and `EnsRmse` the square root of the mean squared error (for consistency with the veri package).

### Usage

    EnsError(ens, obs, type)

    EnsMe(ens, obs)

    EnsMae(ens, obs)

    EnsMse(ens, obs)

    EnsRmse(ens, obs)

### Arguments

`ens` | n x k matrix of n forecasts from k ensemble members
`obs` | n verifying observations
`type` | specifying what error metric to compute, one of [me, mae, mse, rmse]

### See Also

`veriApply`, `EnsErrorss`

### Examples

    #forecast and observations
    tm <- toymodel()

    # compute the mean bias
    EnsError(tm$fcst, tm$obs, type='me')
    # equivalently
    EnsMe(tm$fcst, tm$obs)

[Package easyVerification version 0.4.4 Index]