The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
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 heter_endo_gmm, we assume that identity
and eligibility coincide, meaning that eligibility is determined by
identity (e.g., being Black or White). Specifically, we distinguish
between: - Within-group peer effects (theta
within): interactions between individuals sharing the same
identity. - Between-group peer effects (theta
between): interactions between individuals of different
identities.
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:
s : Proportion of eligible individuals in the group
(vector)YN : Average outcome for non-eligible
individuals in the group (vector)YE : Average outcome for eligible
individuals in the group (vector)D : Binary treatment indicator for the group
(vector)n_param : Number of parameters to estimate
(=5 by default or =3 for a restricted
model)delta, theta_within, and
theta_between with 5 parameters:This package return the estimated coefficients (and their p_values of ): - direct effect of treatment (delta) - intra group effect of treatment (theta_within) - inter group effect of treatment (theta_between) —
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.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.