<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>iDES</author_name>
  <author_url>https://blog.hatena.ne.jp/iDES/</author_url>
  <blog_title>井出草平の研究ノート</blog_title>
  <blog_url>https://ides.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>以下のエントリではStataで行ったが、今回はRのlavaanパッケージで行う。 ides.hatenablog.com データ github.com こちらのnes3wave.dtaを使用する。 データ読み込み library(rio) nes3wave &lt;-import(&quot;nes3wave.dta&quot;) 今回のパス図を先に表示しておこう。 library(lavaan) AR_model&lt;- ' pid2002 ~ pid2000 pid2004 ~ pid2002 ' 実行・結果表示 推定法はデフォルトの最尤法を用いている。 fit_AR&lt;- sem(AR_model, data=nes3…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fides.hatenablog.com%2Fentry%2F2022%2F12%2F04%2F165318&quot; title=&quot;自己回帰モデル Autoregressive 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/i/iDES/20221204/20221204165309.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-12-04 16:53:18</published>
  <title>自己回帰モデル Autoregressive model [R]</title>
  <type>rich</type>
  <url>https://ides.hatenablog.com/entry/2022/12/04/165318</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
