Some code (to use with caution, some parts have not been checked since several years and may contain mistakes):
R code (highly based on a discontinued R package, EASI) to estimate an EASI demand system with an add-hoc correction for censoring à la Shonkwiler & Yen, which I used in the fourth chapter of my PhD thesis: https://github.com/MathieuLambotte/EASI-Demand-System
Replication package for "Peer Effects in Binary Outcomes: Strategic Complementarity and Taste for Conformity with Endogenous Networks": http://dx.doi.org/10.15456/jae.2025086.1303778166