<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kaeken</author_name>
  <author_url>https://blog.hatena.ne.jp/kaeken/</author_url>
  <blog_title>kaeken(嘉永島健司)ブログ</blog_title>
  <blog_url>https://kaeken.hatenablog.com/</blog_url>
  <categories>
    <anon>R</anon>
    <anon>statistics</anon>
  </categories>
  <description>概要 Rによる共分散・相関係数・ファイ係数の算出方法をご紹介します。 関数 2つの異なるデータ群の共分散を cov() で算出できます。 ただし、単位に依存するので、例えば、身長がm単位なのかcm単位なのかで共分散の値が異なります。 cov() : 共分散 共分散: 偏差の積の平均 デメリット: 単位に依存する &gt; h1 &lt;- c(1.5, 1.6, 1.7, 1.8, 1.9) # 身長(m) &gt; h1 [1] 1.5 1.6 1.7 1.8 1.9 &gt; &gt; h2 &lt;- h1*100 # 身長(cm) &gt; h2 [1] 150 160 170 180 190 &gt; &gt; w &lt;- c(50, 6…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkaeken.hatenablog.com%2Fentry%2F2019%2F02%2F17%2F150520&quot; title=&quot;Rによる共分散・相関係数・ファイ係数の算出 - kaeken(嘉永島健司)ブログ&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>2019-02-17 15:05:20</published>
  <title>Rによる共分散・相関係数・ファイ係数の算出</title>
  <type>rich</type>
  <url>https://kaeken.hatenablog.com/entry/2019/02/17/150520</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
