<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Sarah, based on your description it sounds like all you need
      is a term in your model: nodematch("village")</p>
    <p>Best,</p>
    <p>Steve</p>
    <p><br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 8/1/2022 2:26 PM, Sarah Piombo
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CADHiL-OvdotkWwkNi9+kKxu6djb_u+d-0cjZou63Quq3afARGw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hi,
        <div><br>
        </div>
        <div>I have a question about the best way to specify ERGM
          constraints for my data. </div>
        <div>I have a network of ~1500 nodes and 8500 edges. </div>
        <div>The individuals live in 8 different villages, ~7000 edges
          are within villages while 1500 edges are between villages.</div>
        <div>I initially used a block diagonal model to only allow edges
          within the same village and this worked great, but without
          that constraint I have difficulty getting the model to
          converge with dyad dependent terms.</div>
        <div>Ideally I would like the between village ties to be
          possible but less probable than the within village ties. </div>
        <div>1. What is the best way to do this? Is it possible with the
          blocks operator or another approach?</div>
        <div>2. Any other suggestions or considerations (should I
          consider using ergm.multi?)</div>
        <div>Any help or advice would be much appreciated. Thank you!</div>
        <div>
          <div><br>
          </div>
          -- <br>
          <div dir="ltr" class="gmail_signature"
            data-smartmail="gmail_signature">
            <div dir="ltr">
              <div dir="ltr">
                <div dir="ltr">
                  <div dir="ltr"
style="margin:0px;padding:0px;border:0px;font-stretch:inherit;line-height:inherit;vertical-align:baseline"><font
                      face="arial, helvetica, sans-serif"
                      color="#000000"><b>Sarah Piombo, PhD(c), MPH</b></font></div>
                  <div
style="margin:0px;padding:0px;border:0px;font-stretch:inherit;line-height:inherit;vertical-align:baseline"><font
                      face="arial, helvetica, sans-serif"
                      color="#000000">Doctoral Candidate</font></div>
                  <div dir="ltr"
style="margin:0px;padding:0px;border:0px;font-stretch:inherit;line-height:inherit;vertical-align:baseline">
                    <p
style="margin-top:0px;margin-bottom:0px;font-family:Arial,Helvetica,sans-serif"><span
style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif">Department
                        of Population and Public Health Sciences</span><font
                        face="arial, helvetica, sans-serif"
                        color="#000000"><br>
                      </font></p>
                    <p
style="margin-top:0px;margin-bottom:0px;font-family:Arial,Helvetica,sans-serif"><font
                        face="arial, helvetica, sans-serif"
                        color="#000000">Keck School of Medicine | </font><span
style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif">University
                        of Southern California</span></p>
                    <p style="margin-top:0px;margin-bottom:0px"><font
                        face="arial, helvetica, sans-serif"
                        color="#000000"><a
                          href="https://sarahpiombo.com" target="_blank"
                          moz-do-not-send="true"
                          class="moz-txt-link-freetext">https://sarahpiombo.com</a></font></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
statnet_help mailing list
<a class="moz-txt-link-abbreviated" href="mailto:statnet_help@u.washington.edu">statnet_help@u.washington.edu</a>
<a class="moz-txt-link-freetext" href="http://mailman13.u.washington.edu/mailman/listinfo/statnet_help">http://mailman13.u.washington.edu/mailman/listinfo/statnet_help</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
*****************************************************************
Steven M. Goodreau / Professor / Dept. of Anthropology
(STEE-vun GOOD-roe) / he-him (universal they also good)
Physical address: Denny Hall M236
Mailing address: Campus Box 353100 / 4216 Memorial Way NE
Univ. of Washington / Seattle WA 98195
stəx̌ʷugʷił, dzidzəlalič, x̌ʷəlč
1-206-685-3870 (phone) /1-206-543-3285 (fax)
<a class="moz-txt-link-freetext" href="https://faculty.washington.edu/goodreau">https://faculty.washington.edu/goodreau</a>
*****************************************************************</pre>
  </body>
</html>