Sabermetrics 板


LINE

BP 的有趣文章,不過呼叫版大可能還比記得這些算法快 XD Aim For The Head Quick-n-Dirty Base-Out Expected Runs Matrix by Keith Woolner How many times has this happened to you? You're driving down the street and your spouse or significant other drops a bombshell: "Honey, how many runs are expected to score in the rest of the inning if there are runners on first and third with two outs?" Or you're at a cocktail party, and someone who's had a little too much punch starts arguing in a loud voice" "I'd rather have the bases loaded with one out than runners on second and third with nobody out!" And silly, careless you! You left your copy of "The Hidden Game Of Baseball" at home. You don't even have your Blackberry handy to find Palmer's base-out expected runs matrix on the Internet. And unlike Clay Davenport and James Click, you haven't committed the matrix to memory. What will you do? WHAT... WILL... YOU... DO? Baseball Prospectus to the rescue. Here's a quick and dirty way you can approximate the expected number of runs given the bases that are occupied and the number of outs. We'll use an example to demonstrate--runners on first and third with one out: Method A) Step 1) Count up the "total bases" represented by the runners on base--that is, a runner on third counts for 3 bases, a runner on second counts for 2 bases, and a runner on first counts for 1 base. Runners on first and third are 1 + 3 = 4 total bases. Step 2) Multiply by the number of outs left in the inning. In our example, there's one out, so there are two outs left in the inning. 4 total bases * 2 remaining outs = 8 Step 3) Divide by 10. 8 / 10 = 0.8 Step 4) Add 0.45 if 3 outs remain, 0.25 if 2 outs remain, or 0.10 if 1 out remains. This is approximately the expected number of runs. 0.8 + 0.25 = 1.05 runs This approximation yielded 1.05 runs for 1st & 3rd, 1 out. The actual Hidden Game matrix has 1.088. In fact, this method has only one situation that yields an error of more than 0.1 runs (that situation is 2nd and 3rd, 1 out, which computes as 1.25 runs instead of 1.371 runs given in Hidden Game). The average absolute error across all situations is 0.037 runs. So, to summarize in mathematical notation: Exp_Runs ~= TB * Outs_left/ 10 + {0.10 0.25 0.45}[Outs_left] where {0.10 0.25 0.45}[Outs_left] is intended to be the Outs_left element of the array {0.10 0.25 0.45} Hidden Game table Method A approximation outs 0 1 2 0 1 2 --- 0.454 0.249 0.095 0.450 0.250 0.100 1-- 0.783 0.478 0.209 0.750 0.450 0.200 -2- 1.068 0.699 0.348 1.050 0.650 0.300 12- 1.38 0.888 0.457 1.350 0.850 0.400 --3 1.277 0.897 0.382 1.350 0.850 0.400 1-3 1.639 1.088 0.494 1.650 1.050 0.500 -23 1.946 1.371 0.661 1.950 1.250 0.600 123 2.254 1.546 0.798 2.250 1.450 0.700 Method B) If you're willing to do a little more arithmetic, we can improve the accuracy some more: Step 1) Start again with the "total bases" of the runners on base. Runners on first and third are 1 + 3 = 4 Step 2) Subtract 0.15 for each runner on base from the total. Two runners are on base, so: 4 - 0.15 - 0.15 = 3.7 Step 3) Multiply by the number of outs left in the inning, 3.7 * 2 outs = 7.4 Step 4) and divide by 9 7.4 / 9 = 0.822 5) As before, add 0.45 if 3 outs remain, 0.25 if 2 outs remain, or 0.10 if 1 out remains to get the answer: 0.8222 + 0.25 = 1.072 runs This method gives 1.072 runs vs. 1.088 from the Hidden Game Matrix. We've lowered the absolute error versus the previous method by 58%. On average, this shaves the absolute error by about 10%, and reduced the maximum error for any base-out state from 0.121 to 0.081. The state with the greatest error in this method is bases-loaded, 2 outs, which computes as 0.717 instead of the correct 0.798. To summarize: Exp_Runs ~= (TB - 0.15 * #Runners) * Outs_left / 9 + {0.10 0.25 0.45}[Outs_left] Hidden Game table Method B approximation outs 0 1 2 0 1 2 --- 0.454 0.249 0.095 0.450 0.250 0.100 1-- 0.783 0.478 0.209 0.733 0.439 0.194 -2- 1.068 0.699 0.348 1.067 0.661 0.306 12- 1.38 0.888 0.457 1.400 0.883 0.417 --3 1.277 0.897 0.382 1.350 0.850 0.400 1-3 1.639 1.088 0.494 1.683 1.072 0.511 -23 1.946 1.371 0.661 2.017 1.294 0.622 123 2.254 1.546 0.798 2.300 1.483 0.717 Now, armed with either of the two formulae above, you can be the life of the party and a hero(ine) to your loved ones. And, please, there's no need to send thank-you gifts to me. That look in your eye is reward enough. Keith Woolner is an author of Baseball Prospectus. You can contact Keith by clicking here or click here to see Keith's other articles. --



※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 219.87.154.10







like.gif 您可能會有興趣的文章
icon.png[問題/行為] 貓晚上進房間會不會有憋尿問題
icon.pngRe: [閒聊] 選了錯誤的女孩成為魔法少女 XDDDDDDDDDD
icon.png[正妹] 瑞典 一張
icon.png[心得] EMS高領長版毛衣.墨小樓MC1002
icon.png[分享] 丹龍隔熱紙GE55+33+22
icon.png[問題] 清洗洗衣機
icon.png[尋物] 窗台下的空間
icon.png[閒聊] 双極の女神1 木魔爵
icon.png[售車] 新竹 1997 march 1297cc 白色 四門
icon.png[討論] 能從照片感受到攝影者心情嗎
icon.png[狂賀] 賀賀賀賀 賀!島村卯月!總選舉NO.1
icon.png[難過] 羨慕白皮膚的女生
icon.png閱讀文章
icon.png[黑特]
icon.png[問題] SBK S1安裝於安全帽位置
icon.png[分享] 舊woo100絕版開箱!!
icon.pngRe: [無言] 關於小包衛生紙
icon.png[開箱] E5-2683V3 RX480Strix 快睿C1 簡單測試
icon.png[心得] 蒼の海賊龍 地獄 執行者16PT
icon.png[售車] 1999年Virage iO 1.8EXi
icon.png[心得] 挑戰33 LV10 獅子座pt solo
icon.png[閒聊] 手把手教你不被桶之新手主購教學
icon.png[分享] Civic Type R 量產版官方照無預警流出
icon.png[售車] Golf 4 2.0 銀色 自排
icon.png[出售] Graco提籃汽座(有底座)2000元誠可議
icon.png[問題] 請問補牙材質掉了還能再補嗎?(台中半年內
icon.png[問題] 44th 單曲 生寫竟然都給重複的啊啊!
icon.png[心得] 華南紅卡/icash 核卡
icon.png[問題] 拔牙矯正這樣正常嗎
icon.png[贈送] 老莫高業 初業 102年版
icon.png[情報] 三大行動支付 本季掀戰火
icon.png[寶寶] 博客來Amos水蠟筆5/1特價五折
icon.pngRe: [心得] 新鮮人一些面試分享
icon.png[心得] 蒼の海賊龍 地獄 麒麟25PT
icon.pngRe: [閒聊] (君の名は。雷慎入) 君名二創漫畫翻譯
icon.pngRe: [閒聊] OGN中場影片:失蹤人口局 (英文字幕)
icon.png[問題] 台灣大哥大4G訊號差
icon.png[出售] [全國]全新千尋侘草LED燈, 水草

請輸入看板名稱,例如:WOW站內搜尋

TOP