[statnet_help] statnet package: 'stergm'-code, but R calculates a TERGM

Martina Morris morrism at uw.edu
Wed Nov 15 12:30:43 PST 2023


Hi Marcel --

Thanks for reaching out! The tergm package had a major update a couple of
years ago, so some things have changed. Note that STERGMs are a subset of
TERGMs. So your model is a TERGM, just a specific type.

At the time that paper was written in 2016 the tergm package had more
limited functionality. As more functionality was added, the syntax had to
change. I believe the current package still allows the old tergm::stergm()
syntax for backwards compatibility for old scripts (@pavel can you confirm
this)? But we don't recommend using it; use the updated syntax for any new
work. The biggest difference you’ll notice is that this typically involves
more than one formula, and the formulas are specified using the new
temporal “operators” available since version 4.0 of the tergm package. If
your model is separable, the tergm package will recognize that and fit
accordingly.

We have a tutorial with examples of separable models on the Statnet
website: https://statnet.org/workshop-tergm/

Please make sure you have updated both R and all of your statnet packages
to the most recent versions. Then see if the tutorial gives you what you
need to make progress.

Feel free to reach out again if you have questions!

best,
Martina

On Wed, Nov 15, 2023 at 5:41 AM Marcel Dick <marcel.dick at smail.uni-koeln.de>
wrote:


> Dear statnet team, dear colleagues,

>

>

> My name is Marcel Dick and I am doing an external doctorate in social

> sciences at the University of Cologne. Among other things, I am

> working with R and your statnet package.

>

> I would like to investigate networks in school classes at two

> different points in time t1 and t2 using Separable Temporal

> Exponential Random Graphs (STERGMs). I used example 3 from the paper

> by Mr. Krivitksy and Mr. Goodreau of the statnet development team

> "STERGM - Separable Temporal ERGMs for modeling discrete relational

> dynamics with statnet" from 2016 (pp. 19-23). I have taken and adapted

> the code for the STERGM as shown in the example. The STERGM runs

> through, but R calculates a TERGM and also gives me such an output, so

> that I do not get separate information for a formation model and a

> dissolution model under 'summary()'. I have attached a corresponding

> screenshot.

>

> I have already talked to my supervisors but they are just as perplexed

> as I am as to why R calculates a TERGM although the command contains a

> STERGM and this code runs through without an error message. Is this

> perhaps a bug or is the problem already known? If so, how can I solve

> the problem so that R really calculates a STERGM?

>

> In the TERGM workshop on the statnet package I can only find a short

> appendix on STERGMS.

>

> Many thanks for your help!

>

>

> Best regards

> Marcel Dick

>

> ________________________________________

>

> Marcel Dick, M.Ed., M.A.

> ext. Promovend

>

> Universität zu Köln

> Humanwissenschaftliche Fakultät

> Department Erziehungs- und Sozialwissenschaften

> Lehrbereich Sozialwissenschaften mit den Schwerpunkten

> Politikwissenschaft, Soziologie und Ökonomische Bildung

> Lehrstuhl für Erziehungs- und Kultursoziologie / Soziologie

>

> E-Mail: marcel.dick at smail.uni-koeln.de

>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman13.u.washington.edu/pipermail/statnet_help/attachments/20231115/0dbdff5c/attachment.html>


More information about the statnet_help mailing list