[statnet_help] MCMC sampling did not mix at all
陈博川
chenbc20 at mails.tsinghua.edu.cn
Mon Apr 10 10:18:54 PDT 2023
Dear Statnet developer:
Thanks for your time!
I am encountering a problem of my model, which yesterday Prof. Handcock told me to replace ergm with ergm.tepered:
"gw1_help <- ergm.tapered(supnet ~ edges + nodefactor("work") + nodefactor("income") + nodefactor("edu") + nodefactor("religious") + nodefactor("gender") + nodecov("age") + edgecov(sup_loca2_net,"distance") + edgecov(kin_sup,"kinweight") + gwidegree(.1, T) + gwesp(.1, T) + gwdsp(.1, T), control = control.ergm.tapered(MCMC.samplesize = 1e+5, MCMC.burnin = 1e+6, MCMC.interval = 1000, seed = 567), eval.loglik = T, verbose = T)"
I couldn't run this model on my macbookpro ( intel 4-core 16ram), so I put this code on an online platform, which is Chinese version of Colab. I used 8-core 32G CPU to run my code, and it stuck at 48th iteration. I don't know what I should do to make it work. My network isn't very large, which nodes are around 300 and edges are less than 1000.
After I wrote the first email, the model reported the error says:
"Unconstrained MCMC sampling did not mix at all. Optimization cannot continue"
and I also put the screenshot in the appendix. Please help me out with this problem! I have been suffered soooo much with this model issue. Thank you so much!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman13.u.washington.edu/pipermail/statnet_help/attachments/20230411/f99c2547/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ??2023-04-11 01.17.03.png
Type: image/png
Size: 224132 bytes
Desc: not available
URL: <http://mailman13.u.washington.edu/pipermail/statnet_help/attachments/20230411/f99c2547/attachment.png>
More information about the statnet_help
mailing list