whip: WHIP

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

Description

WHIP (Walks + Hits Per Innings Pitched) describes how many base runners a pitcher gives up an inning.

Usage

1
whip(h, bb, ip)

Arguments

h

Hits

bb

Walks

ip

Innings Pitched

Details

WHIP is not a perfect indicator of pitcher skill. It is highly defense dependent. Hit rates are largely outside of pitcher control and have high fluctuations.

Value

Returns a numerical value equal to (h+bb)/ip

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)

Fernando Crema, Peter Xenopoulos

References

http://www.fangraphs.com/library/pitching/whip/

https://en.wikipedia.org/wiki/Walks_plus_hits_per_inning_pitched

See Also

era,fip,dice,xfip

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Let's look at Clayton Kershaw's WHIP for the 2014 season
## He gave up H = 139 and BB = 31 and pitched 198.33 innings
## We should get an output of 0.857
whip(139,31,198.33)

## The function is currently defined as
function (h, bb, ip) 
{
    whip <- (h + bb)/ip
    return(whip)
  }

peterxeno/sabermetrics-package documentation built on May 25, 2019, 2:10 a.m.