Econometrics of Network Data
Overview
Simulating and estimating peer effect models and network formation models. The class of peer effect models includes linear-in-means models (Lee, 2004; doi:10.1111/j.1468-0262.2004.00558.x), Tobit models (Xu and Lee, 2015; doi:10.1016/j.jeconom.2015.05.004), and discrete numerical data models (Houndetoungan, 2025; doi:10.48550/arXiv.2405.17290). The network formation models include pair-wise regressions with degree heterogeneity (Graham, 2017; doi:10.3982/ECTA12679) and exponential random graph models (Mele, 2017; doi:10.3982/ECTA10400).
- In
homophili.fe, elements in the estimate and gradient vectors are now labelled. - The summary method for
cdnetandsartno longer displays marginal effects. - The
meffectsmethod has been added and can be applied to the outputs ofcdnetandsart. This method computes direct, indirect, and total marginal effects.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
- NOTE12 OK, 2 NOTE2026-04-22
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
Show 3 earlier changesHide 3 earlier changes
- NOTE12 OK, 2 NOTE2026-04-10
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-09
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 20includes a package overview page
- Examples that run
- 31%4 run in a plain check · 9 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 87%
- Documented parameters
- 96%
- Return-value docs
- 100%
- Help pages citing references
- 40%
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 8
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Forks over time
Issues over time
PRs over time
Commits over time
5 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/ahoundetoungan/cdatanet on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2025-06-10
Dependencies
Installing CDatanet adds 16 packages (6 with compiled code, 5.7 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppEigen 1.7 MB, RcppArmadillo 1.0 MB.
Code & Tests
People & History
Maintainer since 0.0.1 (2021)
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 2.2.2Latest
- RR 4.5.0 released · 2025-04-11
- 2.2.12025-01-07 · diff ↗
- 2.2.02024-05-14 · diff ↗ ·
added 7 exports
mat.to.vec, norm.network, peer.avg, remove.ids, simcdEy, simnetwork, vec.to.mat - RR 4.4.0 released · 2024-04-24
- 2.1.32024-03-10 · diff ↗ ·
removed 2 exports
homophily, homophily.FEadded 3 exports
homophili.data, homophily.fe, homophily.re - 2.1.22023-08-12 · diff ↗
- 2.1.12023-05-24 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 2.1.02023-03-12 · diff ↗
- 2.0.32022-11-16 · diff ↗
- unarchivedReturned to CRAN2022-11-14
- 2.0.22022-11-14 · diff ↗
- archivedRemoved from CRAN2022-11-02issues were not corrected in time
- 2.0.1
Show 5 earlier eventsHide 5 earlier events
- RR 4.2.0 released · 2022-04-22
- 1.0.12022-04-05 · diff ↗ ·
removed 7 exports
CDnetNPL, SARML, SARTML, netformation, simCDnet, simSARnet, simTobitnetadded 7 exports
cdnet, homophily, sar, sart, simcdnet, simsar, simsart - RR 4.1.0 released · 2021-05-18
- 0.0.12021-02-17
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2021-02-17
- Total releases
- 12 / 5 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.5.0
- Download size
- 104 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("CDatanet")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.