<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cross_hyou</author_name>
  <author_url>https://blog.hatena.ne.jp/cross_hyou/</author_url>
  <blog_title>Rで何かをしたり、読書をするブログ</blog_title>
  <blog_url>https://www.crosshyou.info/</blog_url>
  <categories>
    <anon>データ分析</anon>
  </categories>
  <description>www.crosshyou.info の続きです。前回の線形モデルではあまり良い予測はできなかったので、今回はGAM(Generalized Additive Model)を試してみます。 まず、mgcvパッケージの読み込みをします。 学習します。 tryやpgは有意な変数ですね。 予測値と実際の値の散布図を描いてみます。 線形モデルと同じような散布図ですね。 交互作用を加えてみます。 交互作用の項、te()のところを見ると、あまり改善していないようです。 散布図を描いてみます。 気持ちよくなった程度でしょうか。。。 GAM(Generalized Additive Model)でも個人の成績…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.crosshyou.info%2Fentry%2F2026%2F05%2F24%2F093017&quot; title=&quot;ラグビー リーグワン のデータの分析3 - GAM(Generalized Additive Model)での予測 - Rで何かをしたり、読書をするブログ&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/c/cross_hyou/20260524/20260524084321.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-05-24 09:30:17</published>
  <title>ラグビー リーグワン のデータの分析3 - GAM(Generalized Additive Model)での予測</title>
  <type>rich</type>
  <url>https://www.crosshyou.info/entry/2026/05/24/093017</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
