[statnet_help] ego.ergm popsize
Michał Bojanowski
michal2992 at gmail.com
Thu Nov 23 06:13:05 PST 2023
Hello Carine,
Can you please send the exact offending call that is triggering the error
together with the output of calling summary() on your data object?
In general, population size (as opposed to the pseudo-population size)
should correspond to the size of the population network (which is not
observed in its entirety) you want to make inferences about and from which
you sampled the egos. This inference is the main goal of the model
implemented in ergm.ego. If such a population network does not exist or is
hard to conceive as a theoretical device it might be difficult to interpret
(some of) the results. What's the purpose of your analysis?
Best,
Michał
On Thu, Nov 23, 2023 at 2:51 PM Carine Pachoud <carine.pachoud at hotmail.fr>
wrote:
> 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://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>
> _______________________________________________
> statnet_help mailing list
> statnet_help at u.washington.edu
> http://mailman13.u.washington.edu/mailman/listinfo/statnet_help
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman13.u.washington.edu/pipermail/statnet_help/attachments/20231123/82137b95/attachment.html>
More information about the statnet_help
mailing list