{"id":638,"date":"2011-04-08T13:29:01","date_gmt":"2011-04-08T17:29:01","guid":{"rendered":"https:\/\/cyrussamii.com\/?p=638"},"modified":"2011-06-20T18:57:26","modified_gmt":"2011-06-20T22:57:26","slug":"technical-comparing-neyman-heteroskedastic-robust-variance-estimators","status":"publish","type":"post","link":"https:\/\/cyrussamii.com\/?p=638","title":{"rendered":"(technical) comparing neyman &#038; heteroskedastic robust variance estimators"},"content":{"rendered":"<p>Here (<a href=\"https:\/\/cyrussamii.com\/wp-content\/uploads\/2011\/04\/HRV_NV.pdf\">link<\/a>) is a note working through some algebra for comparing the following:<\/p>\n<ol>\n<li>The Neyman &#8220;conservative&#8221; estimator for the variance of the difference-in-means estimator for the average treatment effect.  This estimator is derived by applying sampling theory to the case of a randomized experiment on a fixed population or sample.  Hardcore experimentalists might insist on using this estimator to derive the standard errors of a treatment effect estimate from a randomized experiment.  This is also known as the conservative &#8220;randomization inference&#8221; based variance estimator.\n<li> The Huber-White heteroskedasticity robust variance estimator for the coefficient from a regression of an outcome on a binary treatment variable.  This is a standard-use estimator for obtaining standard errors in contemporary econometrics.  Taking from Freedman&#8217;s famous words, though, &#8220;randomization does not justify&#8221; this estimator.\n<\/ol>\n<p>If you work through the algebra some more, you will see that they are equivalent in balanced experiments, but not quite equivalent otherwise.<\/p>\n<p>This post is part of a series of little explorations I&#8217;ve been doing into variance estimators for treatment effects.  See also <a href=\"https:\/\/cyrussamii.com\/?p=61\">here<\/a>, <a href=\"https:\/\/cyrussamii.com\/?p=341\">here<\/a>, and <a href=\"https:\/\/cyrussamii.com\/?p=567\">here<\/a>.<\/p>\n<p>UPDATE 1 (4\/8\/11): A friend notes also that under a balanced design, the homoskedastic OLS variance estimator is also algebraically equivalent.  When the design is not balanced, the homoskedastic and heteroskedastic robust estimators can differ quite a bit, with the latter being closer to the Neyman estimator, but still not equivalent to the Neyman estimator due to the manner in which treated versus control group residuals are weighted.<\/p>\n<p>UPDATE 2 (4\/12\/11): The attached note is updated to carry through the algebra showing that the difference between the two estimators is very slight.  <\/p>\n<p>UPDATE 3 (4\/12\/11): A reader pointed out via email that this version of the heteroskedasticity robust estimator is known as &#8220;HC1&#8221;, and that Angrist and Pischke (2009) have a discussion of alternative forms (see Ch. 8, especially p. 304).  From Angrist and Pischke&#8217;s presentation, we see that HC2 is exactly equivalent to the Neyman conservative estimator, and this estimator is indeed available in, e.g., Stata.<\/p>\n<p><del datetime=\"2011-06-20T22:57:06+00:00\">UPDATE 4 (4\/12\/11): Another colleague pointed out (don&#8217;t you love these offline comments?) that the Neyman conservative estimator typically carries an N\/(N-1) finite sample correction premultiplying the expression shown in the note, in which case even in a balanced design, the estimators differ on the order of 1\/(N-1).  <\/del> Later discovered that this was not true.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here (link) is a note working through some algebra for comparing the following: The Neyman &#8220;conservative&#8221; estimator for the variance of the difference-in-means estimator for the average treatment effect. This estimator is derived by applying sampling theory to the case of a randomized experiment on a fixed population or sample. Hardcore experimentalists might insist on &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/cyrussamii.com\/?p=638\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;(technical) comparing neyman &#038; heteroskedastic robust variance estimators&#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-638","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/cyrussamii.com\/index.php?rest_route=\/wp\/v2\/posts\/638","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=638"}],"version-history":[{"count":12,"href":"https:\/\/cyrussamii.com\/index.php?rest_route=\/wp\/v2\/posts\/638\/revisions"}],"predecessor-version":[{"id":838,"href":"https:\/\/cyrussamii.com\/index.php?rest_route=\/wp\/v2\/posts\/638\/revisions\/838"}],"wp:attachment":[{"href":"https:\/\/cyrussamii.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=638"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cyrussamii.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=638"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cyrussamii.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=638"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}