NEWS
CDatanet 2.2.2 (2025-11-09)
- In
homophili.fe, elements in the estimate and gradient vectors are now labelled.
- The summary method for
cdnet and sart no longer displays marginal effects.
- The
meffects method has been added and can be applied to the outputs of cdnet and sart.
This method computes direct, indirect, and total marginal effects.
CDatanet 2.2.1 (2025-01-07)
- Added the Newton–Raphson method for estimating the homophily model.
CDatanet 2.2.0 (2024-05-14)
- Following the revision of the paper Count Data Model with Social Interaction under Rational Expectations,
cdnet now allows heterogeneity in peer effects. For example, peer effects can be estimated separately for groups such as Blacks and Whites, or Girls and Boys.
cdnet now also allows heterogeneity in the cut-points. The cost function in the utility function is nonparametric and depends on characteristics X such as gender, race, etc.
CDatanet 2.1.3 (2024-03-09)
homophily has been changed to homophily.re for the random effect models.
homophily.FE has heen changed to homophily.fe.
- Random effects in
homophily.re can be one side or two sides.
- Fixed effects in
homophily.fe can be one side or two sides.
- Symmetric network models are included in
homophily.re.
- Symmetric network models are included in
homophily.fe.
- The function
homophili.data is added to convert data between directed network models and symmetric network models.
CDatanet 2.1.2 (2023-08-11)
- I address the problem of single-agent subnetwork.
- AIC and BIC are added to the output of cdnet. They can be used to choose Rbar.
CDatanet 2.1.1 (2023-05-24)
Fixed effect is allowed in the model SAR.
CDatanet 2.1.0 (2023-03-12)
R defaulted to C++11 in R 4.0.0, to C++14 in R 4.2.0 and to C++17.
CDatanet 2.0.3 (2022-11-16)
Note and Warning found in the check for MACOS have been fixed.
CDatanet 2.0.1 (2022-10-18)
This version follows the major revision of the paper in September 2022.
- The count data model includes a more flexible specification. Especially, it is possible to assume that the cut points are not equally spaced for large values of the dependent variable.
- I also implement a network formation model with degree heterogeneity as fixed effects (see Yan et al., 2019).
- Models under incomplete information are now estimated using LBFGS algorithm of the package RcppNumerical. Thus, the optimization is performed in C++ and is very fast compared to the version 1.0.1.
CDatanet 1.0.1 (2022-04-05)
The new version follows the major revision of the paper in April 2022
- The count data model has changed. It is now possible to have several gamma parameters instead of gamma = 1 as assumed in the previous version.
- In the count data model identification, sigma is now set to 1, because there are several gamma's.
- The network formation model now includes two unobserved effects instead of one.
Some function name has changed
SARML has been replaced by sar.
SARTML has been replaced by sart.
CDnetNPL has been replaced by cdnet.
simSARnet has been replaced by simsar.
simTobitnet has been replaced by simsart.
simCDnet has been replaced by simcdnet.
netformation has been replaced by homophily.
SART model under rational expectations
It is now possible to estimate the SART model under rational expectations. In the previous version, the SART model is only available under complete information.