[statnet_help] Question about using constraints in ergm
Jacob Young
Jacob.Young.1 at asu.edu
Sat Jul 29 11:37:03 PDT 2023
Hi all,
I am estimating a model to assess whether the effect of a variable differs across two networks. Specifically, whether a nodeifactor() term for a variable “white” (a binary White/Non-white node covariate). Here is a simple model:
ergm(
mynet
~ edges + mutual + nodeifactor( "white" ) # here is the model over both networks
+ S(
~ edges + mutual + nodeifactor( "white" )
~ ( block == 1 ), # here is the constraints over the first network (i.e. block == 1)
constraints = ~ blocks( "block", levels2 = c( 2, 3 ) )
)
My question is this: when I estimate the subgraph portion with S(, do I need to include the edges and mutual terms if I am only interested in the nodeifactor( "white" ) term?
Please let me know if this question makes sense. Thanks!
Jacob Young<https://urldefense.com/v3/__https:/jacobtnyoung.github.io/__;!!IKRxdwAv5BmarQ!fqLVLF3BCyy5ugkZ-qzDMnh1UexUEvlbM3sKV55pnP36VE1fwhB9906Cx5mulWUssxqdrCD3LDW7NjBYKNl_JYf-kGsUbys$>, PhD
Associate Professor | School of Criminology and Criminal Justice
Director of Curriculum | Institute for Social Science Research
Watts College of Public Service & Community Solutions
Arizona State University
411 N. Central Ave., Ste. 600
Phoenix, AZ 85004
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman13.u.washington.edu/pipermail/statnet_help/attachments/20230729/a6454cb7/attachment.html>
More information about the statnet_help
mailing list