<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>koiti_yano</author_name>
  <author_url>https://blog.hatena.ne.jp/koiti_yano/</author_url>
  <blog_title>ハリ・セルダンになりたくて</blog_title>
  <blog_url>https://koiti-yano.hatenablog.com/</blog_url>
  <categories>
    <anon>GNU R</anon>
  </categories>
  <description>以下に改訂版の既述あり。 成長率の計算（改訂版） - ハリ・セルダンになりたくて（はてダから移行中） Rを使って成長率（％表示）を計算する方法についての備忘録。 前提：tsDataをベクトルもしくはtsオブジェクトとする。 その１：対数差分 diff(log(tsData))*100 メリット：成長率の近似であるが、プログラムが簡単 デメリット：tsDataの要素が正である必要がある（たとえばGDPならOK、在庫変動は[負になることがあるため]ダメ） その２：定義通りに成長率を計算する 一行で書くと： numSize &lt;- length(tsData); tsGrowth &lt;- (diff(t…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkoiti-yano.hatenablog.com%2Fentry%2F2019%2F10%2F25%2F001240&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-10-25 00:12:40</published>
  <title> 成長率の計算</title>
  <type>rich</type>
  <url>https://koiti-yano.hatenablog.com/entry/2019/10/25/001240</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
