Interaction terms using operators: what do they do, and what should they do? #623
Replies: 3 comments 2 replies
-
|
Pavel's initial comment (from email):
|
Beta Was this translation helpful? Give feedback.
-
|
If I'm following the change statistic logic correctly, a new tie between dyad(i,j) should change the mean degree for the group levels for both i's group and j's group, which may be the same (k) or different groups (k, l). So it seems like the change statistic should contribute either one value (if both are from group k), or two separate values (if they're from different groups). In any case, I think the question is whether the change stat, as currently defined: A somewhat related question - the |
Beta Was this translation helpful? Give feedback.
-
That would be great. I'll file an issue in the And I agree that the defn of an interaction needs to be universal and consistent. My intuition about what interaction terms do is mostly drawn from the OLS context, not GLMs, so I'd need to think on that a bit more. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Context: Hoping to use the
summary()function to calculate mean degree by group.The term operators in ergm 4 include an "interaction" operator (demonstrated in the Advanced ERGM workshop, section 4.4).
I was hoping to use this to calculate the mean degree by group in a summary call:
summary(nw ~ meandeg*nodefactor("Attribute", levels=T). But this doesn't produce the expected result. Reprex below.Beta Was this translation helpful? Give feedback.
All reactions