iv.具有 2 个以上仪器的工具变量可用于 2SLS 无截距 (有偏估计)
作者: lucaluo925创建于 2026年9月24日更新于 2026年9月25日
标签bug
**Describe the bug** With two or more instruments, `method_name="iv.instrumental_variable"` runs 2SLS without a constant in either stage, so the effect is badly biased whenever the instruments/treatment/outcome are not mean-zero (e.g. binary 0/1 instruments). In the example below the true effect is 2; DoWhy returns 4.22, while the single-instrument path and textbook 2SLS with a constant both give ≈ 2.00.
内容来源: py-why/dowhy