|
5021 | 5021 | }, |
5022 | 5022 | { |
5023 | 5023 | "cell_type": "code", |
5024 | | - "execution_count": 259, |
| 5024 | + "execution_count": null, |
5025 | 5025 | "metadata": {}, |
5026 | 5026 | "outputs": [ |
5027 | 5027 | { |
|
5047 | 5047 | "fig, axs = plt.subplots(1, 3, figsize=(15, 4), sharex=True)\n", |
5048 | 5048 | "az.plot_posterior(idata_nhefs, var_names=\"alpha\", ax=axs[0])\n", |
5049 | 5049 | "axs[0].axvline(ols_est, label=\"OLS estimate\", linestyle=\"--\", color=\"k\")\n", |
5050 | | - "axs[0].set_title(r\"Parameter Esimate: $\\alpha$ for Linear Model\")\n", |
| 5050 | + "axs[0].set_title(r\"Parameter Estimate: $\\alpha$ for Linear Model\")\n", |
5051 | 5051 | "az.plot_posterior(idata_nhefs_cate, var_names=\"alpha\", ax=axs[1])\n", |
5052 | | - "axs[1].set_title(r\"Parameter Esimate: $\\alpha$ for BART Model\")\n", |
| 5052 | + "axs[1].set_title(r\"Parameter Estimate: $\\alpha$ for BART Model\")\n", |
5053 | 5053 | "axs[1].axvline(ols_est, label=\"OLS estimate\", linestyle=\"--\", color=\"k\")\n", |
5054 | 5054 | "az.plot_posterior(idata_nhefs_0_rho, var_names=\"alpha\", ax=axs[2])\n", |
5055 | | - "axs[2].set_title(r\"Parameter Esimate: $\\alpha$ for $\\rho = 0$\")\n", |
| 5055 | + "axs[2].set_title(r\"Parameter Estimate: $\\alpha$ for $\\rho = 0$\")\n", |
5056 | 5056 | "axs[2].axvline(ols_est, label=\"OLS estimate\", linestyle=\"--\", color=\"k\")\n", |
5057 | 5057 | "axs[0].legend()\n", |
5058 | 5058 | "axs[1].legend()\n", |
|
0 commit comments