Description Usage Arguments Details Value References
View source: R/mod.edgescorr.R
Adjusts the edges coefficients in a dynamic network model to preserve the mean degree.
1 | edges_correct_het(dat, at)
|
dat |
Master data list object of class |
at |
Current time step. |
In HIV/STI modeling, there is typically an assumption that changes in population size do not affect one's number of partners, specified as the mean degree for network models. A person would not have 10 times the number of partners should he move from a city 10 times as large. This module uses the adjustment of Krivitsky et al. to adjust the edges coefficients on the three network models to account for varying population size in order to preserve that mean degree.
The network model parameters stored in dat$nwparam
are updated.
Krivitsky PN, Handcock MS, and Morris M. "Adjusting for network size and composition effects in exponential-family random graph models." Statistical Methodology. 2011; 8.4: 319-339.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.