The package “Heterogeneous Peer Effects” aims to estimate individual responses within groups. Our contribution to the standard linear-in-means model is that we allow individuals to respond differently to the outcomes of their peers depending on both their identity and eligibility for treatment.
In the function ortho_heter_endo_gmm, we assume that
identity and eligibility do not coincide, meaning that eligibility is
orthogonal to identity. For instance, in the context of Progresa, we may
assume that boys (resp. girls) are more influenced by the actions of
their male (resp. female) peers than by their female (resp. male) peers.
Gender, which is the relevant identity for social interactions, is
orthogonal to being eligible for Progresa, since eligibility is only
based on household income. Specifically, we distinguish between:
Here, we estimate four parameters: - theta_within for
identity 1 (e.g., male) - theta_within for identity 2
(e.g., female) - theta_between from male to female -
theta_between from female to male
We propose a simple methodology to identify and estimate the model using partial population experiments, where only a subset of individuals within a group is eligible for treatment, and the proportion of eligible individuals varies across groups. The estimation procedure relies on the Generalized Method of Moments (GMM).
Our method is based on the following key assumptions:
To apply this methodology, the data must meet the following criteria:
The analysis is conducted at an aggregate level, considering average outcomes within each group.
To estimate the model, the following variables are required:
YM: Average outcome for male individuals within a group
(vector)YF: Average outcome for female individuals within a
group (vector)D: Group binary treatment indicator (vector)sM: Share of male individuals in the group
(vector)sEM: Share of eligible male individuals in the group
(vector)sEF: Share of eligible female individuals in the group
(vector)delta, theta_within, and
theta_between:This package return the estimated coefficients (and their p_values of ): - direct effect of treatment (delta) - intra group effect of treatment on male (theta_within_M) - intra group effect of treatment on female (theta_within_F) - inter group effect of treatment from male to female (theta_between_F_M) - inter group effect of treatment from female to male (theta_between_M_F)
This package provides a flexible and robust framework for estimating heterogeneous peer effects in grouped data, making it applicable to various empirical settings, such as education, labor markets, and social networks.