<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>uncorrelated</author_name>
  <author_url>https://blog.hatena.ne.jp/uncorrelated/</author_url>
  <blog_title> 餡子付゛録゛</blog_title>
  <blog_url>https://uncorrelated.hatenablog.com/</blog_url>
  <categories>
    <anon>R言語</anon>
  </categories>
  <description>野球の出塁率と長打率を足し合わせた値OPSの評価をするために、打点と得点の合計値を他の指標で回帰するコードです。非負制約をつけるために、ベイズ推定をしています。なお、結果は以下で、OLSで推定してもほとんど同様の値になりました。線形回帰モデルなんで当たり前なんですが。 単打 二塁打 三塁打 本塁打 四死球 限界効果 0.49 0.86 1.36 2.79 0.32 単打比 1 1.74 2.75 5.66 0.66 打点と得点の合計値への限界効果library(MCMCpack) df01 &lt;- read.table(&quot;https://wh.anlyznews.com/R/dataset/np…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Funcorrelated.hatenablog.com%2Fentry%2F2024%2F08%2F28%2F001901&quot; title=&quot;打点と得点の合計値を他の指標で回帰するベイズ推定 -  餡子付゛録゛&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/u/uncorrelated/20240828/20240828001454.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-08-28 00:19:01</published>
  <title>打点と得点の合計値を他の指標で回帰するベイズ推定</title>
  <type>rich</type>
  <url>https://uncorrelated.hatenablog.com/entry/2024/08/28/001901</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
