Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Rで野球データ解析がしたい
@gg_hatano
目次
• 自己紹介	

• スポーツデータの話	

• Rパッケージの話	

• 解析例
自己紹介
• はたむ : @gg_hatano	

• 来年からSIer (のはず)	

• 野球データで遊んでいます

データと私
4
似ている
テニスの王子様 2巻 (許斐剛, 2004, 集英社)
スポーツ漫画あるある
1. 「計算結果: 勝率100%」	

2. 「戦いの中で成長…!???」	

3. 「うわああああああああ」
ドラゴンボール (鳥山明)
スポーツ データ活用事例
7
データ活用事例: バレー
女子バレー日本代表	

• 監督: 眞鍋政義	

• 手にiPad ??????
http://matome.naver.jp/odai/2133815645265086301?
データ活用事例: バレー
http://unlimited.volleyball.ne.jp/datav/
データ活用事例: NBA
http://stats.nba.com/playerTracking.html
ここまでのまとめ
!
• データ解析は悪印象 ? ← ジャンプが悪い

• スポーツデータがアツい
プロ野球データ解析がしたい
なぜプロ野球?
• 離散的	

• 試行回数 多い	

• データが取得できる
2013年 MLB 打撃成績
プロ野球のデータ
• 

 
http://www.sportvision.com/media/tbs-enhanced-pitchfx
プロ野球のデータ
http://www7275uo.sakura.ne.jp/webGL/
投球 打撃 シーズン
データ pitch f/x retrosheet Lahman
パッケージ pitchRx なし Lahman
野球のデータとRパッケージ
参考: http://www.slideshare.net/takumahatan...
解析例: ストレートの”ノビ”
ストレートの“ノビ”
https://www.youtube.com/watch?v=uNbaXurov5A
ストレートの ”ノビ”
http://trendy.nikkeibp.co.jp/article/col/20060926/118942/
ストレートの”ノビ”を評価
• 質点を仮定して計算: Z	

• 実際の着弾点 : Z_real	

• Z_real - Z = “ノビ”	

→ 2013年の全投球で確認
2013年 平均ノビtop11
x : ストレートのノビ, y : 空振り率
まとめ
• library(pitchRx) で データ野球しましょう	

• ボール(単体)の評価は難しい	

→ 配球? コントロール? フォーム? → 修論???
参考文献
• Analyzing baseball data with R	

• Exploring Baseball Data with R	

• 300億円欲しい	

• Rpubs(gg_hatano)
Enjoy Baseball!!
Upcoming SlideShare
Loading in …5
×

Rで野球データ解析がしたい ( pitchRxを使う )

12,388 views

Published on

Analyzing MLB data with R

Published in: Sports
  • DOWNLOAD THI5 BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Rで野球データ解析がしたい ( pitchRxを使う )

  1. 1. Rで野球データ解析がしたい @gg_hatano
  2. 2. 目次 • 自己紹介 • スポーツデータの話 • Rパッケージの話 • 解析例
  3. 3. 自己紹介 • はたむ : @gg_hatano • 来年からSIer (のはず) • 野球データで遊んでいます

  4. 4. データと私 4
  5. 5. 似ている テニスの王子様 2巻 (許斐剛, 2004, 集英社)
  6. 6. スポーツ漫画あるある 1. 「計算結果: 勝率100%」 2. 「戦いの中で成長…!???」 3. 「うわああああああああ」 ドラゴンボール (鳥山明)
  7. 7. スポーツ データ活用事例 7
  8. 8. データ活用事例: バレー 女子バレー日本代表 • 監督: 眞鍋政義 • 手にiPad ?????? http://matome.naver.jp/odai/2133815645265086301?
  9. 9. データ活用事例: バレー http://unlimited.volleyball.ne.jp/datav/
  10. 10. データ活用事例: NBA http://stats.nba.com/playerTracking.html
  11. 11. ここまでのまとめ ! • データ解析は悪印象 ? ← ジャンプが悪い
 • スポーツデータがアツい
  12. 12. プロ野球データ解析がしたい
  13. 13. なぜプロ野球? • 離散的 • 試行回数 多い • データが取得できる 2013年 MLB 打撃成績
  14. 14. プロ野球のデータ • 
   http://www.sportvision.com/media/tbs-enhanced-pitchfx
  15. 15. プロ野球のデータ http://www7275uo.sakura.ne.jp/webGL/
  16. 16. 投球 打撃 シーズン データ pitch f/x retrosheet Lahman パッケージ pitchRx なし Lahman 野球のデータとRパッケージ 参考: http://www.slideshare.net/takumahatano18/r-33700633
  17. 17. 解析例: ストレートの”ノビ”
  18. 18. ストレートの“ノビ” https://www.youtube.com/watch?v=uNbaXurov5A
  19. 19. ストレートの ”ノビ” http://trendy.nikkeibp.co.jp/article/col/20060926/118942/
  20. 20. ストレートの”ノビ”を評価 • 質点を仮定して計算: Z • 実際の着弾点 : Z_real • Z_real - Z = “ノビ” → 2013年の全投球で確認 2013年 平均ノビtop11
  21. 21. x : ストレートのノビ, y : 空振り率
  22. 22. まとめ • library(pitchRx) で データ野球しましょう • ボール(単体)の評価は難しい → 配球? コントロール? フォーム? → 修論???
  23. 23. 参考文献 • Analyzing baseball data with R • Exploring Baseball Data with R • 300億円欲しい • Rpubs(gg_hatano)
  24. 24. Enjoy Baseball!!

×