<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<style>
    font{
        line-height: 1.6;
    }
    ul,ol{
        padding-left: 20px;
        list-style-position: inside;
    }
</style>
<div style="font-family:微软雅黑,Verdana,"Microsoft Yahei",SimSun,sans-serif;font-size:14px; line-height:1.6;">
    <div><div>
    <div>
        <font face="georgia, serif" style="color: rgb(34, 34, 34); font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);"><span style="color: rgb(0, 0, 0);">Hi all,</span><br></font><div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);"><font face="georgia, serif"><span style="color: rgb(35, 38, 41);">I use the ergm to model the formation of network. but it is always degeneracy. there are 43 nodes, </span>492<span style="color: rgb(35, 38, 41);"> edeges, </span>3562 triangles<span style="color: rgb(35, 38, 41);">. i use the code as follow:</span></font></div><div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);"><font face="georgia, serif"><i><br></i></font></div><div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);"><font face="georgia, serif"><i>ergm1<-ergm(net1~edges+<wbr>triangle,control=control.ergm(<wbr>seed=2345))</i><span style="color: rgb(35, 38, 41);"><br></span></font></div><div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);"><font face="georgia, serif"><i><br></i></font></div><div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);"><font face="georgia, serif"><span style="color: rgb(0, 0, 0);">The error message popppes up</span><span style="color: rgb(35, 38, 41);">: </span></font></div><div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);"><font face="georgia, serif"><span style="color: rgb(35, 38, 41);"><br></span></font></div><div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);"><font face="georgia, serif"><i>Model statistics ‘triangle’ are not varying. This may indicate that the observed data occupies an extreme point in the sample space or that the estimation has reached a dead-end configuration.</i><br></font></div><div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);"><font face="georgia, serif"><i><br></i></font></div><div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);"><font face="georgia, serif">I also try to use gwesp to solve <span style="color: rgb(35, 38, 41);">model degeneracy. the code as follow</span></font></div><div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);"><font face="georgia, serif"><span style="color: rgb(35, 38, 41);"><br></span></font></div><div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);"><font face="georgia, serif"><i>ergm1<-ergm(net1~edges+gwesp(<wbr>0.5, fixed = TRUE),control=control.ergm(<wbr>seed=2345))</i></font></div><div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);"><font face="georgia, serif"><i><br></i></font></div><div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);"><font face="georgia, serif">However, it doesn't work, either. A<span style="color: rgb(35, 38, 41);">nd the error as follows:</span><span style="color: rgb(35, 38, 41);"> </span></font></div><div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);"><font face="georgia, serif"><span style="color: rgb(35, 38, 41);"><br></span></font></div><div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);"><font face="georgia, serif"><i>Iteration 2 of at most 60:</i></font></div><font face="georgia, serif" style="color: rgb(34, 34, 34); font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);"><i>Error in ergm.MCMLE(init, nw, model, initialfit = (initialfit <- NULL),  :<br>  Unconstrained MCMC sampling did not mix at all. Optimization cannot continue.<br>In addition: Warning message:<br>In ergm_MCMC_sample(s, control, theta = mcmc.init, verbose = max(verbose -  :<br>  Unable to reach target effective size in iterations alotted.</i></font><div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);"><font face="georgia, serif"><i><br></i></font><div><font face="georgia, serif"><span style="color: rgb(35, 38, 41);">I want to know is there </span> <span style="color: rgb(0, 0, 0);">any solution to fix this error?</span> </font></div><div><span style="color: rgb(35, 38, 41);"><font face="georgia, serif">Thank you very much!</font></span><br></div></div><div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);"><br></div><span style="font-family: Arial, Helvetica, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);"><font face="georgia, serif">Best,</font></span><br style="font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; font-family: 'Microsoft YaHei'; background-color: rgb(255, 255, 255);"><font face="georgia, serif" style="color: rgb(34, 34, 34); font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);"><span style="color: rgb(0, 0, 0);">Longxia Huo</span><br style="color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">Ph.D. Student</span></font><span>
            
        </span>
    </div>
    <div>
        <span>
            <br>
        </span>
    </div>
    <div id="ntes-pcmac-signature" style="font-family:'微软雅黑'">
        
        <div style="font-size:14px; padding: 0;  margin:0;">

        </div>
    </div>
</div></div><!--😀-->
</div>
</body>
</html>