An R package for estimating Peer Effects Using Partial Network Data

The PartialNetwork package includes all functions for the replication of the results in Boucher and Houndetoungan (2023). The exact replication codes are located in the folder test. Below, we also provide detailed examples on how to use the estimators described in the paper.

Installation

CRAN version

PartialNetwork can be directly installed from CRAN.

install.packages("PartialNetwork")

GitHub version

It may be possible that we updated the package without submitting the new version to CRAN. The latest version (but not necessary stable) of PartialNetwork can be installed from this GitHub repos.

remotes::install_github("ahoundetoungan/PartialNetwork", build_vignettes = TRUE)

How to use the PartialNetwork package?

See our vignette in pdf.