Package: PartialNetwork 1.0.4
PartialNetwork: Estimating Peer Effects Using Partial Network Data
Implements IV-estimator and Bayesian estimator for linear-in-means Spatial Autoregressive (SAR) model (see LeSage, 1997 <doi:10.1177/016001769702000107>; Lee, 2004 <doi:10.1111/j.1468-0262.2004.00558.x>; Bramoullé et al., 2009 <doi:10.1016/j.jeconom.2008.12.021>), while assuming that only a partial information about the network structure is available. Examples are when the adjacency matrix is not fully observed or when only consistent estimation of the network formation model is available (see Boucher and Houndetoungan <https://ahoundetoungan.com/files/Papers/PartialNetwork.pdf>).
Authors:
PartialNetwork_1.0.4.tar.gz
PartialNetwork_1.0.4.tar.gz(r-4.5-noble)PartialNetwork_1.0.4.tar.gz(r-4.4-noble)
PartialNetwork_1.0.4.tgz(r-4.4-emscripten)PartialNetwork_1.0.4.tgz(r-4.3-emscripten)
PartialNetwork.pdf |PartialNetwork.html✨
PartialNetwork/json (API)
NEWS
# Install 'PartialNetwork' in R: |
install.packages('PartialNetwork', repos = 'https://cloud.r-project.org') |
Bug tracker:https://github.com/ahoundetoungan/partialnetwork/issues
Last updated 11 months agofrom:c7195c1a5f. Checks:1 OK, 2 WARNING. Indexed: no.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Mar 12 2025 |
R-4.5-linux-x86_64 | WARNING | Mar 12 2025 |
R-4.4-linux-x86_64 | WARNING | Mar 12 2025 |
Exports:dvMFfit.dnetworklogCpvMFmat.to.vecmcmcARDmcmcSARnorm.networkpeer.avgremove.idsrvMFsim.dnetworksim.IVsim.networksmmSARvec.to.mat
Dependencies:abindcodetoolsdigestdoParalleldoRNGforeachFormulaformula.toolsiteratorslatticeMatrixoperator.toolsRcppRcppArmadilloRcppEigenRcppNumericalRcppProgressrngtools
Citation
To cite package ‘PartialNetwork’ in publications use:
Boucher V, Houndetoungan A (2024). PartialNetwork: Estimating Peer Effects Using Partial Network Data. R package version 1.0.4, https://CRAN.R-project.org/package=PartialNetwork.
Corresponding BibTeX entry:
@Manual{, title = {PartialNetwork: Estimating Peer Effects Using Partial Network Data}, author = {Vincent Boucher and Aristide Houndetoungan}, year = {2024}, note = {R package version 1.0.4}, url = {https://CRAN.R-project.org/package=PartialNetwork}, }
Readme and manuals
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?PartialNetwork
See our vignette in pdf.