[statnet_help] weird number of edges when using simulate

Chen-Shuo Hong chenshuohong at umass.edu
Fri Aug 4 07:30:00 PDT 2023


Dear statnet users,

I have a question regarding the simulate function for tergm. I fitted a
tergm using a longitudinal network (2 waves). The models used both Form()
and Persist() with CMLE, and include exogenous (e.g., nodematch) and
endogenous terms (e.g., transitvieties, mutual, dgwdsp). The diagnosis
showed the model fits the data pretty well.

To obtain simulated wave 2 networks, I am using:

ans1tm1_sim_first <- simulate(...,
nsim = 1,
nw.start = "first",
output="final")

However, the resulting simulated wave 2 networks produced more isolates and
far less edges than observed wave 2 networks. I'm not entirely sure if this
is because there is an unexpected bug in this function or if because of any
other issues.

I also explicitly specified parameters in simulate() and closed one at a
time to test which parameter causes this issue. It turned out that
including dgwdsp seems to play a non-trivial role in reducing the number of
edges. When dgwdsp was retained, the number of edges became larger than the
observed and the simulated network was quite compact.

I am grateful for any insights you can provide.

Thank you,
Chen-Shuo

--
Chen-Shuo Hong
PhD Candidate in Sociology
University of Massachusetts - Amherst
chenshuohong at umass.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman13.u.washington.edu/pipermail/statnet_help/attachments/20230804/09691773/attachment.html>


More information about the statnet_help mailing list