<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ryamada22</author_name>
  <author_url>https://blog.hatena.ne.jp/ryamada22/</author_url>
  <blog_title>ryamadaの遺伝学・遺伝統計学メモ</blog_title>
  <blog_url>https://ryamada22.hatenablog.jp/</blog_url>
  <categories>
    <anon>R</anon>
    <anon>最小二乗法</anon>
  </categories>
  <description>の最小化 の最小化 Mの最小固有値に対応する固有ベクトルが一番拡大率が小さいから、その固有ベクトル方向のが求める解 n &lt;- 100 X &lt;- matrix(rnorm(n*2),ncol=2) Y &lt;- X %*% c(1,2) + rnorm(n,0,0.01) library(rgl) plot3d(X[,1],X[,2],Y) lm(Y ~ X-1) XY &lt;- cbind(X,Y) M &lt;- t(XY) %*% XY eigenout &lt;- eigen(M) eigenout[[2]] eigenout[[2]][,3]/(-eigenout[[2]][3,3])</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fryamada22.hatenablog.jp%2Fentry%2F20180515%2F1526366483&quot; title=&quot;固有値分解する - ryamadaの遺伝学・遺伝統計学メモ&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-05-15 15:41:23</published>
  <title>固有値分解する</title>
  <type>rich</type>
  <url>https://ryamada22.hatenablog.jp/entry/20180515/1526366483</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
