← 返回全部开发案例
本案例由 AI 匿名评审,尚未经过独立人工复核;请结合原稿、卡片与两边输出自行核对。
自动补全有卡片更好173 / 280 · beu-88a7a4d6069f4a9c

Tutorial: Introduction to computational causal inference using reproducible Stata, R and Python code

统计学 · 2012.09920v2

FLOWING EVIDENCE BENCHMARK

我们怎样比较有卡片和无卡片的续写?

在同一个写作位置,我们用同一个模型分别生成有卡片和无卡片的首次结果。全部 280 组都进入整体匿名评审;一侧不续写时,评审会判断这种克制是否适合原稿。

整体结果:有卡片更好 138 次、差不多 26 次、无卡片更好 107 次、两边都不可用 5 次、评审未决 4 次。218 组双方有正文,48 组至少一侧主动不续写,14 组含无效输出。

同一段原稿 · 比较有无论文卡片

01 · 固定写作位置

论文原稿

同一处写作点位 ▌

同一原稿位置的自动补全成对比较

02 · 准备两个版本

两组共用

原稿、写作任务和生成模型

A · 有论文卡片

额外提供相关论文卡片

B · 无论文卡片

不提供论文卡片

生成模型

同一模型、同一版本

A → 首次输出

B → 首次输出

AI 匿名评审

匿名标记两份首次输出为 X、Y

按续写质量判断:准确性、任务贴合度和可用性
输出:X 更优 / 持平 / Y 更优 / 两组均不可用

交换两份答案的顺序再评一次

盲评具体怎么判?

① 匿名两份输出
AI 评审看到同一原稿和两份首次输出,但不知道哪份用了卡片。

② 比较并换序复评
根据当前任务的标准,按 X/Y、再按 Y/X 的顺序各评一次。

③ 复核分歧
两次结论不一致时再做第三次判定;未完成的评审也留在分母。

点位和卡片怎样选?

我们从 7 个学科各选取 40 个写作位置,共比较 280 次。每次比较前先确定写作位置和相关论文卡片,让有卡片和无卡片两组从同一原稿出发。

主结果保留了所有预先固定的点位,包括卡片可能无法补充有用内容的位置。这避免了根据输出筛选案例,但也意味着 49% 衡量的是整批点位的结果,不能直接解释为“证据能明显发挥作用时”的胜率。本批数据没有在生成前逐点标注这一证据机会,暂时无法可靠拆分两组。

CARD USE · 140/280

有正文且报告使用卡片的比例

模型会报告卡片是否影响了续写。280 次测试中,140 次有正文且报告使用卡片。原口径的 150 次包含 10 次无正文,已修正。

COMPARISON · 70 / 7 / 30

双方都有正文时,哪个版本更好?

在有正文且报告使用卡片、两组也都写出正文的 107 次比较中,AI 盲评认为有卡片更好 70 次、差不多 7 次、无卡片更好 30 次。

表格里的两个百分比怎么算?

有正文且报告使用卡片的比例

140有正文且报告使用
÷
280全部点位
=
50%

有卡片版本更好比例

70有卡片更好
÷
107可比较的测试
=
65%

两个百分比的分母不同:50% 看全部 280 次补全;65% 只看有正文且报告使用、且两边都有完整输出的 107 次。卡片是否被使用由生成模型报告,哪边写得更好由 AI 匿名评审。

卡片使用由生成模型自报,整体胜负由看到原稿和材料片段的 AI 匿名评审;没有独立人工评审,仍可能有材料偏好。整体结果反映这 280 个固定点位上的自动判断,不代表任意写作场景的获胜概率。

原稿写作位置

原文摘录 · 非 PDF 页面

研究论文 · 原文片段

Tutorial: Introduction to computational causal inference using reproducible Stata, R and Python code

8 Conclusion

Overall, all the methods introduced here include the estimation of the G-formula (non-parametrically or parametrically), which is a generalization of standardization, and the inverse probability of treatment weighting (IPTW). [ 4 ] However, there are other estimators based on matching strategies that we did not discuss in our tutorial. ( 18 )

…different estimators we introduced in the tutorial. Overall, all the methods showed a consistent result for the ATE. In a well-balanced data set, all of the methods used to address confounding consistently provide the same result ( 3 ). The RHC data (demonstrated in this paper) is used to teach causal inference methods because of its extremely well balanced distribution of confounders across levels of the treatment (RHC). However, in most observational studies, data is not usually well balanced and there are potentially near violations of the positivity assumption that must always be checked.

↓ 此处生成下一段续写

黄色标出写作点位附近的原文;本页根据评测输入重排文本,不是原始 PDF 截图。

同一写作位置的成对对照全样本 AI 评审:有卡片更好

两组使用同一模型、同一写作任务和原稿上下文,仅比较是否提供检索文献片段。下方展示评测记录中的首次输出。

查看全样本 AI 评审理由(英文)

A = 有卡片 · B = 无卡片

The draft ends with a critical methodological point: that most observational studies have poorly balanced data with potential positivity violations, unlike the well-balanced RHC example. This creates a clear argumentative need for a continuation that addresses what to do in these more common, problematic settings. Output A directly addresses this by discussing estimator choice consequences and the need for overlap/positivity diagnostics—precisely the logical next move given the draft's warning about real-world data challenges. Output B, while not invalid, pivots to a generic 'this is just a starting point' conclusion and mentions reproducible code, which is not referenced in the visible draft and constitutes a broader framing move that ignores the specific methodological tension the author just raised. The draft does not mention reproducible code, making B's reference to it somewhat unmoored. A maintains the argumentative thread about estimator performance under practical constraints; B changes the subject.

Evidence

同一模型与写作位置 · 提供检索文献片段 · 首次输出

盲评更优

In such settings, the choice among estimators becomes consequential, and analysts should report diagnostics for overlap and positivity alongside the effect estimate.

提供给 Evidence 版本的文献片段

卡片 1 · Multiply Robust Causal Inference with Double Negative Control Adjustment for Categorical Unmeasured Confounding

Unmeasured confounding is a threat to causal inference in observational studies. In recent years, use of negative controls to mitigate unmeasured confounding has gained increasing recognition and popularity. Negative controls have a longstanding tradition in laboratory sciences and epidemiology to r…

展开完整文献摘录

Unmeasured confounding is a threat to causal inference in observational studies. In recent years, use of negative controls to mitigate unmeasured confounding has gained increasing recognition and popularity. Negative controls have a longstanding tradition in laboratory sciences and epidemiology to rule out non-causal explanations, although they have been used primarily for bias detection. Recently, Miao et al. (2018) have described sufficient conditions under which a pair of negative control exposure and outcome variables can be used to nonparametrically identify the average treatment effect (ATE) from observational data subject to uncontrolled confounding. In this paper, we establish nonparametric identification of the ATE under weaker conditions in the case of categorical unmeasured confounding and negative control variables. We also provide a general semiparametric framework for obtaining inferences about the ATE while leveraging information about a possibly large number of measured …

卡片 2 · Bias and High-Dimensional Adjustment in Observational Studies of Peer Effects

Peer effects, in which an individual’s behavior is affected by peers’ behavior, are posited by multiple theories in the social sciences. Randomized field experiments that identify peer effects, however, are often expensive or infeasible, so many studies of peer effects use observational data, which…

展开完整文献摘录

Peer effects, in which an individual’s behavior is affected by peers’ behavior, are posited by multiple theories in the social sciences. Randomized field experiments that identify peer effects, however, are often expensive or infeasible, so many studies of peer effects use observational data, which is expected to suffer from confounding. Here we show, in the context of information and media diffusion, that high-dimensional adjustment of a nonexperimental control group (660 million observations) using propensity score models produces estimates of peer effects statistically indistinguishable from those using a large randomized experiment (215 million observations). Compared with the experiment, naive observational estimators overstate peer effects by over 300% and commonly available variables (e.g., demographics) offer little bias reduction. Adjusting for a measure of prior behaviors closely related to the focal behavior reduces this bias by 91%, while models adjusting for over 3700 past …

卡片 3 · Causal Inference through a Witness Protection Program

One of the most fundamental problems in causal inference is the estimation of a causal effect when variables are confounded. This is difficult in an observational study, because one has no direct evidence that all confounders have been adjusted for. We introduce a novel approach for estimating causa…

展开完整文献摘录

One of the most fundamental problems in causal inference is the estimation of a causal effect when variables are confounded. This is difficult in an observational study, because one has no direct evidence that all confounders have been adjusted for. We introduce a novel approach for estimating causal effects that exploits observational conditional independencies to suggest "weak" paths in a unknown causal graph. The widely used faithfulness condition of Spirtes et al. is relaxed to allow for varying degrees of "path cancellations" that imply conditional independencies but do not rule out the existence of confounding causal paths. The outcome is a posterior distribution over bounds on the average causal effect via a linear programming approach and Bayesian inference. We claim this approach should be used in regular practice along with other default tools in observational studies.

卡片 5 · A Gaussian Process Framework for Overlap and Causal Effect Estimation with High-Dimensional Covariates

Abstract A powerful tool for the analysis of nonrandomized observational studies has been the potential outcomes model. Utilization of this framework allows analysts to estimate average treatment effects. This article considers the situation in which high-dimensional covariates are present and revis…

展开完整文献摘录

Abstract A powerful tool for the analysis of nonrandomized observational studies has been the potential outcomes model. Utilization of this framework allows analysts to estimate average treatment effects. This article considers the situation in which high-dimensional covariates are present and revisits the standard assumptions made in causal inference. We show that by employing a flexible Gaussian process framework, the assumption of strict overlap leads to very restrictive assumptions about the distribution of covariates, results for which can be characterized using classical results from Gaussian random measures as well as reproducing kernel Hilbert space theory. In addition, we propose a strategy for data-adaptive causal effect estimation that does not rely on the strict overlap assumption. These findings reveal under a focused framework the stringency that accompanies the use of the treatment positivity assumption in high-dimensional settings.

模型报告的实际卡片作用

卡片 4 · direction

影响的输出:analysts should report diagnostics for overlap and positivity alongside the effect estimate

模型说明:This row's emphasis on the stringency of the positivity assumption in high-dimensional settings guided the choice to close the conclusion by directing attention to overlap and positivity diagnostics rather than to estimator performance.

无 Evidence

同一模型与写作位置 · 不提供检索文献片段 · 首次输出

本次未获偏好

Beyond the estimators covered here, the broader family of causal methods continues to expand, and readers should treat this tutorial as a starting point rather than an exhaustive survey. The reproducible code provided for each method is intended to lower the barrier to applying these approaches in practice, and we encourage readers to adapt it to their own data and research questions.

原卡片使用口径的记录

以下是此前仅比较“报告使用卡片且双方有正文”案例的诊断记录,口径与上方全样本 AI 评审不同。

模型盲评没有判定任一组更优。

查看模型评审原始理由(英文)

Order-swapped judges disagreed. Pass 1: Both outputs are usable continuations, but B better satisfies the task requirements. The draft discusses specific estimators (G-formula, IPTW, matching) and their behavior on well-balanced vs. unbalanced data, ending with a warning about positivity violations. Output B provides a natural, coherent paragraph that: (1) acknowledges the tutorial's scope limitation ('starting point rather than an exhaustive survey'), which connects to the prior sentence about matching strategies not discussed; (2) transitions to practical next steps with reproducible code, which fits the tutorial context. Output A, while topically relevant to positivity, is too short (one sentence) and reads more like a trailing clause than a complete paragraph. The task asks for 'one coherent academic paragraph,' and B delivers substantive paragraph-length content that bridges the technical discussion to practical implementation. A's brevity and somewhat abrupt diagnostic recommendation doesn't flow as naturally from the draft's closing emphasis on the RHC data's teaching purpose and the general warning about observational studies. Pass 2: Both outputs provide coherent continuations, but B is more useful and precisely targeted. The draft explicitly discusses that 'in most observational studies, data is not usually well balanced and there are potentially near violations of the positivity assumption that must always be checked.' Output B directly follows this thread by discussing the consequentiality of estimator choice in such settings and the need to report overlap/positivity diagnostics—this is grounded in the draft's actual content and concerns. Output A, while not unsupported, introduces new topics (reproducible code, exhaustive survey, starting point) that are not mentioned in the draft and represent a broader, more generic conclusion that doesn't continue the specific line of reasoning about balance, positivity, and estimator behavior in observational studies. The draft's paragraph builds from consistent results in well-balanced data to the more realistic, problematic case of poorly balanced data; B continues this logical arc while A pivots away to meta-commentary about the tutorial itself.

文献片段是输入材料;出现于此不代表输出使用了它,也不代表它能够支持全部主张。原文与检索片段经过截取;页面没有展示模拟分数或模拟 PDF。