[statnet_help] ego.ergm popsize

Carine Pachoud carine.pachoud at hotmail.fr
Thu Nov 23 05:50:55 PST 2023


Dear ERGM users,

I previously worked with ERGM on complete networks. Today I am dealing with an egocentric network and the package ego.ergm. I have 55 nodes et 274 edges. I do not know the size of the population.

It's certainly a very simple adjustment to make but I'm stuck on the population size. When I want to run my model, I get the following error message:


Error in if (ppopsize < sampsize && !is.data.frame(control$ppopsize)) warning("Using a smaller pseudopopulation size than sample size usually does not make sense.") else if (ppopsize == :
missing value where TRUE/FALSE needed

I tried to fix the ppopsize with control = control.ergm.ego(ppopsize=1000) and also to fix the popsize (popsize=N, control=snctrl(ppopsize=N)), based on your tutorials, but I still have this error message.

Could you help me ?

thanks a lot!

best regards,
Carine Pachoud


[https://s-install.avcdn.net/ipm/preview/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif]<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Sans virus.www.avast.com<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman13.u.washington.edu/pipermail/statnet_help/attachments/20231123/6e6dfabb/attachment.html>


More information about the statnet_help mailing list