{"id":631,"date":"2011-03-24T16:47:10","date_gmt":"2011-03-24T20:47:10","guid":{"rendered":"https:\/\/cyrussamii.com\/?p=631"},"modified":"2011-03-24T16:49:45","modified_gmt":"2011-03-24T20:49:45","slug":"technical-imputation-ipw-causal-inference-snowden-et-al-2011-with-disc","status":"publish","type":"post","link":"https:\/\/cyrussamii.com\/?p=631","title":{"rendered":"(technical) imputation, ipw, causal inference (Snowden et al, 2011, with disc)"},"content":{"rendered":"<p>In the advance access pages of the American Journal of Epidemiology, Jonathan M. Snowden, Sherri Rose, and Kathleen M. Mortimer have a nice tutorial on what they refer to as &#8220;G-computation&#8221; for causal inference with observational data (<a href=\"http:\/\/aje.oxfordjournals.org\/content\/early\/2011\/03\/15\/aje.kwq472.full.pdf?keytype=ref&#038;ijkey=tzpBObLS6tSD5hf\">ungated link<\/a>).  An average causal effect for a binary treatment can be defined as the average of individual level differences between the outcome that obtains when one is in treatment versus in control.  Because people are either in treatment or control, one of these two &#8220;potential&#8221; outcomes is unobserved, or missing (within subjects designs do not overcome this, because the ordering of treatment assignment is itself another dimension of treatment).  Given this &#8220;missing data&#8221; problem, G-computation refers to fitting models to available data that allow you to impute (i.e., predict) unobserved counterfactual values.  You can then use this complete set of counterfactual values to estimate various types of causal effects.  The idea isn&#8217;t so new or groundbreaking, but many theoretical insights have been elucidated only recently.  Snowden et al&#8217;s presentation focuses on effects that average over the entire population.  <\/p>\n<p>These authors don&#8217;t cite it in their paper, but I think the most sophisticated application of this approach for a cross-sectional study is Jennifer Hill&#8217;s &#8220;Bayesian Nonparametric Modeling for Causal Inference&#8221; study (<a href=\"http:\/\/pubs.amstat.org\/doi\/abs\/10.1198\/jcgs.2010.08162?journalCode=jcgs\">gated link<\/a>).  Hill uses the magical BART algorithm to fit a response surface and generate the imputations, from which various flavors of causal effect might be constructed (okay, full disclosure&#8212;Hill was one of my grad school teachers, but hey, BART <em>is<\/em> pretty cool).  I understand that there has been a fair amount of application, at least beta-testing, of such counter-factual imputation methods in longitudinal studies as well, although I don&#8217;t have references handy.  <\/p>\n<p>This approach is especially appealing when you anticipate lots of measurable effect modification that you want to average-over in order to get average treatment effects.  Actually, I think Snowden et al&#8217;s article does a good job of demonstrating how in some cases, it&#8217;s not classic confounding and omitted variable bias per se that is the major concern, but rather effect modification and effect heterogeneity (i.e., interaction effects) associated with variables that also affect treatment assignment.  Traditional regression is clumsy in dealing with that.  As far as I know conventional social science teaching, rooted as it is in constant effects models, does not have a catchy name for this kind of bias; maybe we can call it &#8220;heterogeneity bias.&#8221;  Another thing that makes this kind of bias special relative to the usual kinds of confounding is that, as far as I understand, imputation-based strategies (like g-computation) that try to correct for it may in fact take advantage of measured heterogeneity associated with <em>post<\/em>-treatment variables.  That is one of the reasons that these methods have appeal for longitudinal studies.  (On this point, I&#8217;ll refer you to a little tutorial that I&#8217;ve written on a related set of methods&#8212;augmented inverse propensity weighting for attrition and missing data problems (<a href=\"http:\/\/www.columbia.edu\/~cds81\/docs\/methods\/samii10_weighting100818.pdf\">link<\/a>).)<\/p>\n<p>Stijn Vansteelandt and Niels Keiding provide an invited commentary (<a href=\"http:\/\/aje.oxfordjournals.org\/content\/early\/2011\/03\/15\/aje.kwq474.full.pdf+html\">gated link<\/a>) on Snowden et al&#8217;s paper, and they make some really interesting points that I wanted to highlight.  First, they note that imputation based strategies such as g-computation have a long history in association with the concept of &#8220;standardization.&#8221;  More importantly are two points that they make later in their commentary.  First is a point that Vansteelandt has made elsewhere, discussing the similarities and differences between imputation\/standardization and inverse probability weighting:<\/p>\n<blockquote><p>The IPTW [inverse probability of treatment] approach is not commonly<br \/>\nused in practice because of the traditional reliance on out-<br \/>\ncome-regression-based analyses, which tend to give more<br \/>\nprecise estimates. Its main virtue comes when the con-<br \/>\nfounder distribution is very different for the exposed and<br \/>\nunexposed subjects (i.e., when there is near violation of the<br \/>\nassumption of the experimental treatment assignment), for<br \/>\nthen the predictions made by the G-computation approach<br \/>\nmay be prone to extrapolate the association between out-<br \/>\ncome   and   confounders   from   exposed   to   unexposed<br \/>\nsubjects, and vice versa. The ensuing extrapolation uncer-<br \/>\ntainty is typically not re\ufb02ected in con\ufb01dence intervals for<br \/>\nmodel-based standardized effect measures based on tradi-<br \/>\ntional  outcome  regression  models,  and  thus  the  IPTW<br \/>\napproach may give a more honest re\ufb02ection of the overall<br \/>\nuncertainty (provided that the uncertainty resulting from<br \/>\nestimation of the weights is acknowledged) (19). A further<br \/>\nadvantage of the IPTW approach is that it does not re-<br \/>\nquire modeling exposure effect modi\ufb01cation by covariates<br \/>\nand may thus ensure a valid analysis, even when effect<br \/>\nmodi\ufb01cation is ignored.<\/p><\/blockquote>\n<p>\nI think this is an exceptionally important point, making clear that the apparent &#8220;inefficiency&#8221; of IP(T)W relative to imputation based methods is, in some sense, illusory.  Vansteelandt and Keiding also discuss one approach to combining imputation and IPW in order to get the best of both worlds:<\/p>\n<blockquote><p>We here propose a compromise that combines the bene\ufb01ts of G-computation\/<br \/>\nmodel-based standardization and of the IPTW approach. Its<br \/>\nimplementation is not more dif\ufb01cult than the implementa-<br \/>\ntion of these other approaches. As in the IPTW approach,<br \/>\nthe \ufb01rst step involves \ufb01tting a model of the exposure on<br \/>\nrelevant covariates; this would typically be a logistic re-<br \/>\ngression model. The \ufb01tted values from this model express<br \/>\nthe probability of being exposed and are commonly called<br \/>\n\u2018\u2018propensity scores.\u2019\u2019 They are used to construct a weight<br \/>\nfor each subject, which is 1 divided by the propensity score<br \/>\nif the subject is exposed and 1 divided by 1 minus the pro-<br \/>\npensity score if the subject is unexposed. The second step<br \/>\ninvolves \ufb01tting a model, the Q-model, for the outcome on<br \/>\nthe exposure and relevant covariates but using the afore-<br \/>\nmentioned  weights  in  the  \ufb01tting  procedure  (e.g.,  using<br \/>\nweighted  least  squares  regression).  Once  estimated,  the<br \/>\nimplementation detailed in the article by Snowden et al.<br \/>\n(4) is followed; that is, counterfactual outcomes are pre-<br \/>\ndicted for each observation under each exposure regimen<br \/>\nby plugging a 1 and then subsequently a 0 into the<br \/>\n\ufb01tted regression model to obtain predicted counterfactual<br \/>\noutcomes. Finally, differences (or ratios) between the aver-<br \/>\nage  predicted  counterfactual  outcomes  corresponding  to<br \/>\ndifferent exposure regimens are calculated to arrive at a stan-<br \/>\ndardized mean difference (or ratio) (see reference 19 for<br \/>\na  similar  implementation  in  the  context  of  attributable<br \/>\nfractions). We refer to this compromise approach as doubly robust<br \/>\nstandardization. Here, the name doubly robust expresses<br \/>\nthat  doubly  robust  standardized  effect  measures  have  2<br \/>\nways to give the right answer: when either the Q-model<br \/>\nor the propensity score model is correctly speci\ufb01ed, but<br \/>\nnot necessarily both. <\/p><\/blockquote>\n<p>\nThis approach has been demonstrated elsewhere&#8212;e.g. a recent paper by Vansteelandt and co-authors in the journal <em>Methodology<\/em> (<a href=\"http:\/\/biblio.ugent.be\/input\/download?func=downloadFile&#038;fileOId=1073699&#038;recordOId=1073694\">ungated version<\/a>, <a href=\"http:\/\/www.psycontent.com\/content\/l8128jx636738435\/\">gated published<\/a>).  I am intrigued by this because it differs from the manner in which I have implemented doubly robust estimators that combine weighting and imputation (again, see <a href=\"http:\/\/www.columbia.edu\/~cds81\/docs\/methods\/samii10_weighting100818.pdf\">link<\/a>).  I wonder if there is a difference in practice.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the advance access pages of the American Journal of Epidemiology, Jonathan M. Snowden, Sherri Rose, and Kathleen M. Mortimer have a nice tutorial on what they refer to as &#8220;G-computation&#8221; for causal inference with observational data (ungated link). An average causal effect for a binary treatment can be defined as the average of individual &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/cyrussamii.com\/?p=631\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;(technical) imputation, ipw, causal inference (Snowden et al, 2011, with disc)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-631","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/cyrussamii.com\/index.php?rest_route=\/wp\/v2\/posts\/631","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cyrussamii.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cyrussamii.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cyrussamii.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cyrussamii.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=631"}],"version-history":[{"count":6,"href":"https:\/\/cyrussamii.com\/index.php?rest_route=\/wp\/v2\/posts\/631\/revisions"}],"predecessor-version":[{"id":637,"href":"https:\/\/cyrussamii.com\/index.php?rest_route=\/wp\/v2\/posts\/631\/revisions\/637"}],"wp:attachment":[{"href":"https:\/\/cyrussamii.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=631"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cyrussamii.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=631"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cyrussamii.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=631"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}