dice: Defense-Independent Component ERA

Description Usage Arguments Details Value Note Author(s) References See Also Examples

Description

DICE represents a way to measure a pitcher's performance on the ERA scale using only events a pitcher can "control"

Usage

1
dice(hr, bb, hbp, k, ip)

Arguments

hr

Home Runs

bb

Walks

hbp

Hit By Pitches

k

Strikeouts

ip

Innings Pitched

Details

DICE uses the typical ERA scale.

Value

Returns a value equal to (13*hr+3*bb+3*hbp-2*k)/ip + 3.0

Note

Innings Pitched (IP) is commonly reported with .1 indicating 1/3 of an inning and .2 indicating 2/3 of an inning. In order for this function to be accurate, please change the decimal to .333 for 1/3 of an inning and .666 for 2/3 of an inning.

Author(s)

Peter Xenopoulos

References

https://en.wikipedia.org/wiki/Defense-Independent_Component_ERA

See Also

era,fip,xfip,whip

Examples

1
2
3
4
5
6
## The function is currently defined as
function (hr, bb, hbp, k, ip) 
{
    dice = (13 * hr + 3 * bb + 3 * hbp - 2 * k)/ip + 3
    return(dice)
  }

Sabermetrics documentation built on Jan. 15, 2017, 7:34 p.m.