Skip to content

ergm model running problems after update of the R version #425

@tmorguet

Description

@tmorguet

Dear authors of the ergm package,

we have enthusiastically used your ergm package in R version 3.6.2 of 19/10/20 and RStudio version 1.2.5033 for our empirical studies and gained valuable insights.

In our most comprehensive ergm model including structural effects (~edges+mutual+gwidegree+gwodegree+gwesp+gwdsp), actor relation effects (+absdiff("")+nodeocov("")+nodeicov("")+nodematch("")), and control=control.ergm(MCMC.burnin = 40000, MCMC.samplesize = 4000, MCMC.interval = 4000, MCMLE.maxit = 21)), the step length converged twice after 16 iterations and the run time is 1.2 hours.
Unfortunately, after an update of R to version 4.1.2 it happened that the model did not start the first iteration despite it started the estimation. The same was the case when testing the codes on other computers with R versions 4.1.0 and 4.1.2.

Do you perhaps have an explanation why the estimation of our comprehensive ergm model does not run anymore or a hint what to consider when updating R regarding the ergm package? Does the ergm code have to be adapted in any way to run on newer R versions without problems?

The reason why we have to use a current R version is the desire to calculate further analyses based on our ergm models, specifically multilevel ergms (package mlergm), process analyses for ergms (package ergMargins), and frailty ergms (package fergm). Any additional advice on what to look for technically when calculating these models?

Any feedback would be greatly appreciated!

@handcock @drh20drh20 @CarterButts @sgoodreau @krivit @martinamorris

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions