<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>causal | Carlos Mendez</title><link>https://carlos-mendez.org/ja/tag/causal/</link><atom:link href="https://carlos-mendez.org/ja/tag/causal/index.xml" rel="self" type="application/rss+xml"/><description>causal</description><generator>Wowchemy (https://wowchemy.com)</generator><language>ja-jp</language><copyright>© 2018–2026 Carlos Mendez. All rights reserved.</copyright><lastBuildDate>Tue, 28 Jul 2026 00:00:00 +0000</lastBuildDate><image><url>https://carlos-mendez.org/media/icon_huedfae549300b4ca5d201a9bd09a3ecd5_79625_512x512_fill_lanczos_center_3.png</url><title>causal</title><link>https://carlos-mendez.org/ja/tag/causal/</link></image><item><title>scspill</title><link>https://carlos-mendez.org/ja/projects/scspill/</link><pubDate>Tue, 28 Jul 2026 00:00:00 +0000</pubDate><guid>https://carlos-mendez.org/ja/projects/scspill/</guid><description>&lt;p>&lt;strong>処理が漏れ出すときの合成コントロール — 処理群への効果と、各ドナーが受け取るスピルオーバーを。&lt;/strong>&lt;/p>
&lt;p>&lt;code>scspill&lt;/code> は、ドナープールに対するSUTVAを外した合成コントロールモデルのPythonパッケージです。処理がコントロール群に及ぶことを許し、いずれのモデルも2つの推定対象を報告します。すなわち、汚染を取り除いた処理群への効果と、各ドナーが受け取るスピルオーバー効果です。後者は従来の合成コントロールでは表現すること自体ができません。現在利用できるモデル &lt;code>sar&lt;/code> は、ユーザーが指定した空間重みを通じてスピルオーバーを伝え、その大きさを単一の強度パラメータ ρ で調整します。この ρ は&lt;strong>仮定するのではなく推定されます&lt;/strong>。合成ウェイトは制約を課さないホースシュー（horseshoe）縮小推定で求めるため、ドナーは除外されることも、負の値をとることも、外挿することもできます。そして2つの推定対象いずれについても完全なベイズ的不確実性を返します。ρ = 0 のとき、モデルはベイズ的ホースシュー合成コントロールに厳密に一致します。推定器のアーキテクチャは &lt;a href="https://github.com/jgreathouse9/mlsynth" target="_blank" rel="noopener">mlsynth&lt;/a>（pydanticの設定を入力とし、標準化された結果オブジェクトを出力する）に従い、&lt;code>method&lt;/code> の名称は同ライブラリの &lt;code>SPILLSYNTH&lt;/code> ディスパッチャと一致するため、両者は自然に組み合わせられます。&lt;/p>
&lt;h3 id="-はじめにhttpsquarcs-labgithubioscspillget-startedhtml">🚀 &lt;a href="https://quarcs-lab.github.io/scspill/get-started.html" target="_blank" rel="noopener">はじめに&lt;/a>&lt;/h3>
&lt;p>カリフォルニア州の提案99（Proposition 99）を対象に、およそ10行でモデルを推定します。&lt;strong>95%信用区間付きのATT&lt;/strong>、スピルオーバー強度 ρ、各ドナーが年ごとに受け取るスピルオーバー、MCMC診断、反事実プロットが得られます。&lt;/p>
&lt;p>&lt;a href="https://colab.research.google.com/github/quarcs-lab/scspill/blob/main/notebooks/california.ipynb" target="_blank" rel="noopener">▶ Colab で開く&lt;/a>&lt;/p>
&lt;h3 id="-モデルhttpsquarcs-labgithubioscspillmodels">🧬 &lt;a href="https://quarcs-lab.github.io/scspill/models/" target="_blank" rel="noopener">モデル&lt;/a>&lt;/h3>
&lt;p>現在提供されているモデルは1つ、&lt;a href="https://quarcs-lab.github.io/scspill/models/sar.html" target="_blank" rel="noopener">&lt;code>sar&lt;/code>&lt;/a> です。&lt;a href="https://doi.org/10.1093/ectj/utag006" target="_blank" rel="noopener">Sakaguchi・Tagawa (2026)&lt;/a> による、空間自己回帰型スピルオーバーを備えたベイズ合成コントロールです。さらに3つのスピルオーバー対応モデルが&lt;a href="https://quarcs-lab.github.io/scspill/models/#planned" target="_blank" rel="noopener">ロードマップ&lt;/a>にあります。Cao・Dowd のモデル、Di Stefano・Mellace の包括的合成コントロール、Grossi ほかによる部分干渉SCGです。これらは&lt;strong>未実装&lt;/strong>であり、&lt;code>SCSPILLConfig&lt;/code> はこれらの名称を黙って別のモデルで代替せず、明示的に拒否します。&lt;/p>
&lt;h3 id="-検証httpsquarcs-labgithubioscspillarticlesvalidationhtml">🧪 &lt;a href="https://quarcs-lab.github.io/scspill/articles/validation.html" target="_blank" rel="noopener">検証&lt;/a>&lt;/h3>
&lt;p>&lt;code>sar&lt;/code> のサンプラーが正しいことを示す証拠です。&lt;strong>Geweke (2004) の同時分布検定&lt;/strong>、事前分布の感度グリッド、事前予測チェック、そして著者らのR実装による固定済み信用区間との交差検証。&lt;/p>
&lt;h2 id="機能の概要">機能の概要&lt;/h2>
&lt;p>&lt;strong>&lt;code>scspill&lt;/code>&lt;/strong> — モデル層。&lt;code>SCSPILL(config).fit()&lt;/code> は、ATTとその信用区間、反事実の経路、ρ の事後分布、時点×ドナーのスピルオーバーパネル、MCMC診断を返します。&lt;/p>
&lt;p>&lt;strong>&lt;code>scspill.validation&lt;/code>&lt;/strong> — &lt;code>sar&lt;/code> のサンプラー検証。Gewekeの同時分布検定、事前分布の感度グリッド、事前予測チェック。&lt;/p>
&lt;p>&lt;strong>&lt;code>scspill.simulate&lt;/code>&lt;/strong> — &lt;code>sar&lt;/code> の&lt;a href="https://quarcs-lab.github.io/scspill/articles/simulation-study.html" target="_blank" rel="noopener">モンテカルロエンジン&lt;/a>。ルーク型格子によるSARデータ生成過程と、論文の表1・表2の基礎となる SCM / BSCM / SCSPILL の比較です。&lt;/p>
&lt;p>&lt;strong>&lt;code>scspill.data&lt;/code>&lt;/strong> — 以下のスピルオーバーパネル。モデルに依存しない形式のため、今後追加されるモデルでもそのまま利用できます。&lt;/p>
&lt;p>&lt;strong>&lt;code>sar&lt;/code> は実装されているだけでなく検証されています&lt;/strong> — 著者らのRレプリケーションパッケージと交差検証されています。カリフォルニアとスーダンの事後分布は固定済みのR信用区間と、モンテカルロのグリッドは論文の固定済みの表と、事前予測統計量は小数第3位まで照合されています。既定の設定は&lt;em>論文に忠実&lt;/em>で、参照実装に残る複数の既知の不具合が修正されており、それぞれに従来挙動へ戻す手段か差分を定量化したベンチマークが用意されています。詳しくは &lt;a href="https://quarcs-lab.github.io/scspill/models/sar.html" target="_blank" rel="noopener">&lt;code>sar&lt;/code> モデルのページ&lt;/a>をご覧ください。&lt;/p>
&lt;h2 id="付属のケーススタディ">付属のケーススタディ&lt;/h2>
&lt;p>&lt;code>scspill.data&lt;/code> には、すぐに推定できる2つの&lt;a href="https://quarcs-lab.github.io/scspill/articles/datasets.html" target="_blank" rel="noopener">データセット&lt;/a>が含まれています。&lt;/p>
&lt;ul>
&lt;li>&lt;strong>カリフォルニア&lt;/strong> — 提案99、39州（1970–2000年）。一人当たり紙巻たばこ販売量とルーク型隣接重み。&lt;code>scspill.data.load_california()&lt;/code> で読み込みます。&lt;/li>
&lt;li>&lt;strong>スーダン&lt;/strong> — 2011年の分離独立、アフリカ34か国（2000–2015年）。一人当たりGDPと貿易ネットワーク重み。&lt;code>scspill.data.load_sudan()&lt;/code> で読み込みます。&lt;a href="https://quarcs-lab.github.io/scspill/sudan.html" target="_blank" rel="noopener">スーダンのケーススタディ&lt;/a>で詳しく扱っています。&lt;/li>
&lt;/ul>
&lt;h2 id="インストール">インストール&lt;/h2>
&lt;p>最新リリースはPyPIから入手できます（基本のインストールはNumPy/SciPyのみ。&lt;code>numba&lt;/code> エクストラでJITコンパイル済みサンプラーが追加されます）。&lt;/p>
&lt;pre>&lt;code class="language-bash">pip install scspill # NumPy/SciPy sampler backend
pip install &amp;quot;scspill[numba]&amp;quot; # + JIT-compiled samplers (~10x faster)
pip install &amp;quot;scspill @ git+https://github.com/quarcs-lab/scspill.git&amp;quot; # latest
&lt;/code>&lt;/pre>
&lt;p>Python 3.10 以上が必要です。&lt;/p>
&lt;h2 id="ひと目で">ひと目で&lt;/h2>
&lt;p>付属のケーススタディを読み込み、サンプラーを実行して、2つの推定対象を確認します。&lt;/p>
&lt;pre>&lt;code class="language-python">from scspill import SCSPILL
from scspill.data import load_california
panel = load_california() # Prop 99 panel + rook-contiguity weights
result = SCSPILL(
{**panel.config_kwargs(), &amp;quot;m_iter&amp;quot;: 20_000, &amp;quot;burn&amp;quot;: 10_000, &amp;quot;seed&amp;quot;: 42}
).fit()
result.att, result.att_ci # treatment effect on California + 95% CrI
result.rho_hat, result.rho_ci # spillover intensity posterior
result.spillover_panel[&amp;quot;Nevada&amp;quot;] # the effect received by Nevada, per year
result.diagnostics() # ESS / R-hat / MCSE per chain
result.plot(kind=&amp;quot;panel&amp;quot;) # counterfactual | effect | top spillovers
&lt;/code>&lt;/pre>
&lt;p>推定器の動きは、&lt;a href="https://quarcs-lab.github.io/scspill/get-started.html" target="_blank" rel="noopener">はじめに&lt;/a>、&lt;a href="https://quarcs-lab.github.io/scspill/models/" target="_blank" rel="noopener">モデル&lt;/a>、&lt;a href="https://quarcs-lab.github.io/scspill/articles/validation.html" target="_blank" rel="noopener">検証&lt;/a>でご覧いただけます。&lt;/p>
&lt;h2 id="基盤">基盤&lt;/h2>
&lt;p>&lt;code>scspill&lt;/code> は依存関係を意図的に軽く保っています。現代的なPythonの科学計算スタックのみで構成されています。&lt;/p>
&lt;ul>
&lt;li>&lt;strong>&lt;a href="https://numpy.org" target="_blank" rel="noopener">NumPy&lt;/a>&lt;/strong> と &lt;strong>&lt;a href="https://scipy.org" target="_blank" rel="noopener">SciPy&lt;/a>&lt;/strong> — サンプラーの計算基盤&lt;/li>
&lt;li>&lt;strong>&lt;a href="https://pandas.pydata.org" target="_blank" rel="noopener">pandas&lt;/a>&lt;/strong> — パネルとスピルオーバーの表&lt;/li>
&lt;li>&lt;strong>&lt;a href="https://docs.pydantic.dev" target="_blank" rel="noopener">pydantic&lt;/a>&lt;/strong> — 検証付きの推定器設定&lt;/li>
&lt;li>&lt;strong>&lt;a href="https://matplotlib.org" target="_blank" rel="noopener">matplotlib&lt;/a>&lt;/strong> — 診断図と反事実の図&lt;/li>
&lt;li>&lt;strong>&lt;a href="https://numba.pydata.org" target="_blank" rel="noopener">numba&lt;/a>&lt;/strong> — オプションのJITコンパイル済みサンプラー&lt;/li>
&lt;/ul>
&lt;h2 id="謝辞">謝辞&lt;/h2>
&lt;p>&lt;code>scspill&lt;/code> の著者は Carlos Mendez、Shosei Sakaguchi、Hayato Tagawa の3名です。本Pythonパッケージは Carlos Mendez が執筆し、保守しています。&lt;code>sar&lt;/code> モデルとそのオリジナルのR/C++実装は Shosei Sakaguchi 氏と Hayato Tagawa 氏によるものです。両氏の&lt;a href="https://doi.org/10.5281/zenodo.19066186" target="_blank" rel="noopener">レプリケーションパッケージ&lt;/a>はMITライセンスで公開されており、その著作権表示は本ライブラリの &lt;code>LICENSE&lt;/code> に保持されています。また &lt;code>scspill&lt;/code> の各リリースは、その固定済みの結果と交差検証されています。推定器のアーキテクチャは Jared Greathouse 氏の &lt;a href="https://github.com/jgreathouse9/mlsynth" target="_blank" rel="noopener">mlsynth&lt;/a> に、ドキュメント基盤は QuaRCS Lab の &lt;a href="https://github.com/quarcs-lab/geometrics" target="_blank" rel="noopener">geometrics&lt;/a> パッケージに倣っています。&lt;/p>
&lt;p>&lt;code>scspill&lt;/code> をご利用の際は、本ソフトウェアを引用してください（機械可読なメタデータは &lt;a href="https://github.com/quarcs-lab/scspill/blob/main/CITATION.cff" target="_blank" rel="noopener">&lt;code>CITATION.cff&lt;/code>&lt;/a> にあります）。&lt;/p>
&lt;blockquote>
&lt;p>Mendez, C., Sakaguchi, S., &amp;amp; Tagawa, H. (2026). &lt;em>Synthetic Control Models with Spillovers in Python&lt;/em> (version 0.2.1). &lt;a href="https://github.com/quarcs-lab/scspill" target="_blank" rel="noopener">https://github.com/quarcs-lab/scspill&lt;/a>&lt;/p>
&lt;/blockquote>
&lt;p>MITライセンスで公開されています。&lt;/p></description></item><item><title>比較因果メトリクス（Comparative Causal Metrics）</title><link>https://carlos-mendez.org/ja/projects/ccm/</link><pubDate>Sun, 17 May 2026 00:00:00 +0000</pubDate><guid>https://carlos-mendez.org/ja/projects/ccm/</guid><description>&lt;h2 id="比較因果メトリクスへようこそ開発中">比較因果メトリクスへようこそ！（開発中）&lt;/h2>
&lt;p>&lt;em>地域インパクト評価への入門&lt;/em>&lt;/p>
&lt;p>RとQuartoで実装・レンダリングされた現代的な因果推論の手法を用いた&lt;strong>地域インパクト評価&lt;/strong>への入門です。本リソースは、政策や介入が地域の成果に及ぼす効果を評価するための準実験的手法を扱い、完全な再現性を実現するため解説付きの実例と一般公開データを提供します。&lt;/p>
&lt;p>開発中の本書には以下が含まれます。&lt;/p>
&lt;ul>
&lt;li>&lt;strong>手法の比較ツアー&lt;/strong> — 分割時系列分析や差分の差分法から、合成コントロール、ベイズ構造時系列、そして最新のパネルデータ推定量まで、地域比較の視点に基づいて解説します。&lt;/li>
&lt;li>&lt;strong>R + Quarto ノートブック&lt;/strong> — 折りたたみ可能なコードを備えた再現可能な各章。ローカルでレンダリングしたり、ご自身のデータで拡張したりできます。&lt;/li>
&lt;/ul>
&lt;p>本書は2つの部で構成されています。&lt;/p>
&lt;ul>
&lt;li>&lt;strong>第I部 — 単一処置ユニット（第1〜9章）&lt;/strong> では、カリフォルニア州の1989年「提案99」たばこ税という単一の事例を用いて直観を養います。&lt;/li>
&lt;li>&lt;strong>第II部 — 段階的導入（第10〜12章）&lt;/strong> では、多数のユニットが異なる時点で政策を導入する状況へと進み、Callaway–Sant&amp;rsquo;Anna の最低賃金に関する郡パネルを用います。&lt;/li>
&lt;/ul>
&lt;h2 id="章構成">章構成&lt;/h2>
&lt;p>&lt;strong>第I部 — 単一処置ユニット&lt;/strong>&lt;/p>
&lt;ol>
&lt;li>&lt;a href="https://quarcs-lab.github.io/ccm/01-introduction.html" target="_blank" rel="noopener">はじめに&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://quarcs-lab.github.io/ccm/02-interrupted-time-series.html" target="_blank" rel="noopener">分割時系列分析&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://quarcs-lab.github.io/ccm/03-basic-diff-in-diff.html" target="_blank" rel="noopener">基本的な差分の差分法&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://quarcs-lab.github.io/ccm/04-classical-synthetic-control.html" target="_blank" rel="noopener">古典的な合成コントロール&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://quarcs-lab.github.io/ccm/05-augmented-synthetic-control.html" target="_blank" rel="noopener">拡張合成コントロール&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://quarcs-lab.github.io/ccm/06-synthetic-did.html" target="_blank" rel="noopener">合成差分の差分法&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://quarcs-lab.github.io/ccm/07-structural-bayesian-ts.html" target="_blank" rel="noopener">ベイズ構造時系列&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://quarcs-lab.github.io/ccm/08-synthetic-control-prediction-intervals.html" target="_blank" rel="noopener">予測区間付き合成コントロール&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://quarcs-lab.github.io/ccm/09-bayesian-spatial-sc.html" target="_blank" rel="noopener">ベイズ空間合成コントロール&lt;/a>&lt;/li>
&lt;/ol>
&lt;p>&lt;strong>第II部 — 段階的導入&lt;/strong>&lt;/p>
&lt;ol start="10">
&lt;li>&lt;a href="https://quarcs-lab.github.io/ccm/10-staggered-did.html" target="_blank" rel="noopener">段階的差分の差分法&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://quarcs-lab.github.io/ccm/11-matrix-completion-and-ife.html" target="_blank" rel="noopener">交互作用固定効果と行列補完&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://quarcs-lab.github.io/ccm/12-gsynth.html" target="_blank" rel="noopener">一般化合成コントロール&lt;/a>&lt;/li>
&lt;/ol>
&lt;p>さらに：&lt;a href="https://quarcs-lab.github.io/ccm/references.html" target="_blank" rel="noopener">参考文献&lt;/a>&lt;/p>
&lt;p>&lt;a href="https://github.com/quarcs-lab/ccm" target="_blank" rel="noopener">https://github.com/quarcs-lab/ccm&lt;/a> で貢献やコメントをお寄せください。&lt;/p>
&lt;h2 id="関連プロジェクト">関連プロジェクト&lt;/h2>
&lt;p>補完リソース：&lt;a href="https://carlos-mendez.org/project/intro2causal/">因果メトリクスをマスターする&lt;/a> — Angrist &amp;amp; Pischke の &lt;em>Mastering &amp;lsquo;Metrics&lt;/em> に基づく、AIを活用したPythonの学習ガイドです。&lt;/p></description></item><item><title>因果メトリクスをマスターする（Mastering Causal Metrics）</title><link>https://carlos-mendez.org/ja/projects/intro2causal/</link><pubDate>Wed, 22 Apr 2026 00:00:00 +0000</pubDate><guid>https://carlos-mendez.org/ja/projects/intro2causal/</guid><description>&lt;h2 id="因果メトリクスをマスターするへようこそ">因果メトリクスをマスターするへようこそ！&lt;/h2>
&lt;p>&lt;strong>因果メトリクスをマスターする&lt;/strong>のための、AIを活用した学習ガイドです。Angrist &amp;amp; Pischke の基礎的な教科書 &lt;a href="https://www.masteringmetrics.com/" target="_blank" rel="noopener">&lt;em>Mastering &amp;lsquo;Metrics: The Path from Cause to Effect&lt;/em>&lt;/a> をもとに、インタラクティブなPythonノートブックとAIツールを使って因果推論の基礎を学びます。&lt;/p>
&lt;p>本プラットフォームには以下が含まれます。&lt;/p>
&lt;ul>
&lt;li>&lt;strong>基礎的な手法&lt;/strong> — Angrist &amp;amp; Pischke の &lt;em>Mastering &amp;lsquo;Metrics&lt;/em> に基づきます。ランダム化試験から差分の差分法まで、因果推論を学びます。&lt;/li>
&lt;li>&lt;strong>Pythonノートブック&lt;/strong> — インストール不要のGoogle Colabノートブック。実データ、動作するコード、各手法の完全な実装を備えています。&lt;/li>
&lt;li>&lt;strong>AIを活用した学習&lt;/strong> — 異なる教育スタイルを持つ複数のAIチューター。&lt;/li>
&lt;/ul>
&lt;h2 id="インタラクティブなgoogle-colabノートブック">インタラクティブなGoogle Colabノートブック&lt;/h2>
&lt;p>下記のいずれかのバッジをクリックすると、ブラウザ上で即座に開いて実行できます。&lt;/p>
&lt;h3 id="第i部概念的枠組み">第I部：概念的枠組み&lt;/h3>
&lt;table>
&lt;thead>
&lt;tr>
&lt;th>章&lt;/th>
&lt;th>タイトル&lt;/th>
&lt;th>トピック&lt;/th>
&lt;th>Colabノートブック&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td>&lt;strong>1&lt;/strong>&lt;/td>
&lt;td>ランダム化試験&lt;/td>
&lt;td>選択バイアス、潜在的結果、RAND HIE&lt;/td>
&lt;td>&lt;a href="https://colab.research.google.com/github/cmg777/intro2causal/blob/main/notebooks_colab/01-randomized-trials.ipynb" target="_blank" rel="noopener">&lt;img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab">&lt;/a>&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;h3 id="第ii部5つのツール">第II部：5つのツール&lt;/h3>
&lt;table>
&lt;thead>
&lt;tr>
&lt;th>章&lt;/th>
&lt;th>タイトル&lt;/th>
&lt;th>トピック&lt;/th>
&lt;th>Colabノートブック&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td>&lt;strong>2&lt;/strong>&lt;/td>
&lt;td>回帰&lt;/td>
&lt;td>OLS、欠落変数バイアス、不適切な統制変数&lt;/td>
&lt;td>&lt;a href="https://colab.research.google.com/github/cmg777/intro2causal/blob/main/notebooks_colab/02-regression.ipynb" target="_blank" rel="noopener">&lt;img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab">&lt;/a>&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;strong>3&lt;/strong>&lt;/td>
&lt;td>操作変数&lt;/td>
&lt;td>LATE、コンプライアー、ミネアポリスの家庭内暴力実験&lt;/td>
&lt;td>&lt;a href="https://colab.research.google.com/github/cmg777/intro2causal/blob/main/notebooks_colab/03-instrumental-variables.ipynb" target="_blank" rel="noopener">&lt;img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab">&lt;/a>&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;strong>4&lt;/strong>&lt;/td>
&lt;td>回帰不連続デザイン&lt;/td>
&lt;td>シャープRD、バンド幅、飲酒の法定年齢と死亡率&lt;/td>
&lt;td>&lt;a href="https://colab.research.google.com/github/cmg777/intro2causal/blob/main/notebooks_colab/04-regression-discontinuity.ipynb" target="_blank" rel="noopener">&lt;img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab">&lt;/a>&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;strong>5&lt;/strong>&lt;/td>
&lt;td>差分の差分法&lt;/td>
&lt;td>平行トレンド、双方向固定効果、大恐慌期の銀行&lt;/td>
&lt;td>&lt;a href="https://colab.research.google.com/github/cmg777/intro2causal/blob/main/notebooks_colab/05-differences-in-differences.ipynb" target="_blank" rel="noopener">&lt;img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab">&lt;/a>&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;h3 id="第iii部総合">第III部：総合&lt;/h3>
&lt;table>
&lt;thead>
&lt;tr>
&lt;th>章&lt;/th>
&lt;th>タイトル&lt;/th>
&lt;th>トピック&lt;/th>
&lt;th>Colabノートブック&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td>&lt;strong>6&lt;/strong>&lt;/td>
&lt;td>教育の収益&lt;/td>
&lt;td>双子、出生四半期、学位の効果&lt;/td>
&lt;td>&lt;a href="https://colab.research.google.com/github/cmg777/intro2causal/blob/main/notebooks_colab/06-wages-of-schooling.ipynb" target="_blank" rel="noopener">&lt;img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab">&lt;/a>&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;h3 id="ノートブックの使い方">ノートブックの使い方&lt;/h3>
&lt;ol>
&lt;li>上記のいずれかの &lt;strong>「Open in Colab」バッジをクリックします&lt;/strong>&lt;/li>
&lt;li>Googleアカウント（無料）で &lt;strong>ログインします&lt;/strong>&lt;/li>
&lt;li>ランタイムメニューの &lt;strong>「すべて実行」をクリックします&lt;/strong>（または各セルを個別に実行します）&lt;/li>
&lt;li>&lt;strong>探索して変更します&lt;/strong> — パラメータを変えたり、別のモデルを試したり、データで実験したりできます&lt;/li>
&lt;li>&lt;strong>作業を保存します&lt;/strong> — ファイル ＞ ドライブにコピーを保存 で、変更内容を保持できます&lt;/li>
&lt;/ol>
&lt;p>&lt;strong>インストール不要、ダウンロード不要、設定不要！&lt;/strong>&lt;/p>
&lt;h2 id="著者とクレジット">著者とクレジット&lt;/h2>
&lt;p>&lt;strong>Carlos Mendez&lt;/strong> — Pythonでの実装および教育用ノートブックの開発&lt;/p>
&lt;p>&lt;strong>Joshua D. Angrist &amp;amp; Jörn-Steffen Pischke&lt;/strong> — 原著教科書 &lt;a href="https://www.masteringmetrics.com/" target="_blank" rel="noopener">&lt;em>Mastering &amp;lsquo;Metrics&lt;/em>&lt;/a>&lt;/p></description></item></channel></rss>