Statsmodels(Python):如何使用`IV2SLS.from_formula`

时间:2018-12-23 08:14:13

标签: python statsmodels linearmodels

我尝试在 Python 中使用 Statsmodels statsmodels.sandbox.regression.gmm.IV2SLS.from_formula,但是the site并未详细说明。我想知道清楚显示内生,外生和工具变量的示例公式。有人有什么想法吗?

[PS]

dep ~ exog + [ endog ~ instruments]这样的 linearmodels 的公式似乎无效。

0 个答案:

没有答案