Stata tip 146: Using margins after a Poisson regression model to estimate the number of events prevented by an intervention

IF 3.2 2区 数学 Q1 SOCIAL SCIENCES, MATHEMATICAL METHODS
M. Falcaro, R. Newson, P. Sasieni
{"title":"Stata tip 146: Using margins after a Poisson regression model to estimate the number of events prevented by an intervention","authors":"M. Falcaro, R. Newson, P. Sasieni","doi":"10.1177/1536867X221106437","DOIUrl":null,"url":null,"abstract":"After fitting a Poisson regression model to evaluate the effect of an intervention in a cohort study, one might be interested in estimating the number of events prevented by the intervention (assuming the observed associations are causal). This can be derived as the difference in the intervention group between the predicted number of events under the counterfactual (no intervention) and the factual (intervention) scenarios. One could use the predict command to obtain the predicted number of events under the two scenarios and then sum up the differences, but this approach would not be conve-nient for several reasons. One would need to change the intervention variable to get the counterfactual predicted values, and the confidence intervals would not be readily available ( bootstrap or jackknife could be used, but this could be particularly time consuming if the dataset is large). We here suggest the margins command. Its use, however, is not straight-forward for our specific problem margins computes observation then the these","PeriodicalId":51171,"journal":{"name":"Stata Journal","volume":null,"pages":null},"PeriodicalIF":3.2000,"publicationDate":"2022-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Stata Journal","FirstCategoryId":"100","ListUrlMain":"https://doi.org/10.1177/1536867X221106437","RegionNum":2,"RegionCategory":"数学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"SOCIAL SCIENCES, MATHEMATICAL METHODS","Score":null,"Total":0}
引用次数: 1

Abstract

After fitting a Poisson regression model to evaluate the effect of an intervention in a cohort study, one might be interested in estimating the number of events prevented by the intervention (assuming the observed associations are causal). This can be derived as the difference in the intervention group between the predicted number of events under the counterfactual (no intervention) and the factual (intervention) scenarios. One could use the predict command to obtain the predicted number of events under the two scenarios and then sum up the differences, but this approach would not be conve-nient for several reasons. One would need to change the intervention variable to get the counterfactual predicted values, and the confidence intervals would not be readily available ( bootstrap or jackknife could be used, but this could be particularly time consuming if the dataset is large). We here suggest the margins command. Its use, however, is not straight-forward for our specific problem margins computes observation then the these
Stata提示146:使用泊松回归模型后的余量来估计干预措施阻止的事件数量
在对泊松回归模型进行拟合以评估队列研究中干预措施的效果后,人们可能有兴趣估计干预措施阻止的事件数量(假设观察到的关联是因果关系)。这可以推导为干预组在反事实(无干预)和事实(干预)情景下预测的事件数量之间的差异。可以使用预测命令来获得两种情况下的预测事件数,然后总结差异,但由于几个原因,这种方法并不方便。需要更改干预变量以获得反事实预测值,并且置信区间不容易获得(可以使用bootstrap或jackknife,但如果数据集很大,这可能特别耗时)。我们建议使用margins命令。然而,对于我们的特定问题,它的使用并不是直接的——裕度计算观测值,然后这些
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Stata Journal
Stata Journal 数学-统计学与概率论
CiteScore
7.80
自引率
4.20%
发文量
44
审稿时长
>12 weeks
期刊介绍: The Stata Journal is a quarterly publication containing articles about statistics, data analysis, teaching methods, and effective use of Stata''s language. The Stata Journal publishes reviewed papers together with shorter notes and comments, regular columns, book reviews, and other material of interest to researchers applying statistics in a variety of disciplines.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信