Replies: 5 comments 2 replies
-
Can I upvote this? I have similar-sounding problems, but it seems to be network dependent. I can run the above ERGM on a GNM random graph, but a seemingly similar model on a smaller network with many isolated nodes can fail (see below). Do you have isolated nodes or a very heterogeneous degree distribution? I have worked around this problem before using the gwesp term, below, in case that helps.
|
Beta Was this translation helpful? Give feedback.
-
Thank you for your reply. YEAH! your codes give me some advice ,I will check my commands |
Beta Was this translation helpful? Give feedback.
-
You are using an edge-triangle model. This model is quite famously degenerate; as a result, the model is failing to converge. The hanging you are experience is an indicator of this non-convergence. The fix in this case is to be more careful of the models you are using, and to ensure that your specification is appropriate; there is no way around reading the literature on this, but running pilot simulations at the MPLE can often give you a pretty good indication of whether the model is going to be stable or not. There are other useful schemes for diagnosing a slowly mixing model in the statnet ergm tutorials on the statnet web site, so I would also check those out. Finally, I will also note that the current convergence detection scheme is in my experience a bit finicky, and you may need to work around it. Using the "Hotelling" convergence criterion in the Also, you should probably direct questions regarding model fitting to the statnet help list, since this is for bug reports. This doesn't seem to be a bug, just the usual behavior of that model. |
Beta Was this translation helpful? Give feedback.
-
Seems not to be a bug, just slow convergence with a known degenerate model. But it would be good to improve convergence with the new criterion, regardless, and perhaps provide more explicit tracking messages. |
Beta Was this translation helpful? Give feedback.
-
ok , thank you very much, your suggestions are so great, it's help me a lot , I will read the tutorials right now and remember all of your tips! |
Beta Was this translation helpful? Give feedback.
-
The network I built is 120 nodes and 1650 edges. When I execute the command: "fit<- ergm(model ~ edges + triangle)", it has been stuck in the iteration 3~7 times during the iteration process, and does not enter the next iteration for a long time. How can I solve this problem?
Beta Was this translation helpful? Give feedback.
All reactions