/represent

Uses the methodology developed in Aronow and Samii (2016): "Does Regression Produce Representative Estimates of Causal Effects?. American Journal of Political Science 60 (1):250-267." to compute the effective regression weights, and performs diagnostics for these regression weights.

Primary LanguageStata

represent

This repository contains the command represent for Stata, which estimates effective regression weights as described in Aronow and Samii (2016), and performs diagonistics over these weights.

Analyzing these regression weights can be important because with conventional estimation practices for observational studies the estimate of a causal effect of a treatment may fail to characterize how effects operate in the population of interest. Causal effects estimated via multiple regression differentially weight each unit's contribution. The "effective sample" that regression uses to generate the estimate may bear little resemblance to the population of interest, and the results may be non-representative in a manner similar to what quasi-experimental methods or experiments with convenience samples produce.

This program estimates the "multiple regression weights", and provides diagnostics using distributional statistics, Lorenz curves, and cloropeth maps. These diagnostics allow one to study the effective sample, and help to determine if a group of observations (for example a country), is driving the effect of the treatment.

Requirements: reghdfe, ineqdeco, shp2dta, spmap.

To install the package and update it the following command can be used in Stata:

net install represent, from (https://raw.githubusercontent.com/cfbalcazar/represent/main/represent/) replace force all

Improvements to the code are welcomed.

Keywords: effective weights ; effective regression weights