control.simulate.ergm.ego function

Control parameters for simulate.ergm.ego().

Control parameters for simulate.ergm.ego().

Constructs and checks the list of control parameters for simulation by simulate.ergm.ego().

control.simulate.ergm.ego( ppop.wt = c("round", "sample"), SAN = control.san(), simulate = control.simulate(), ... )

Arguments

  • ppop.wt: Because each ego must be represented in the pseuodopopulation network an integral number of times, if the sample is weighted (or the target N|N'| calculated from ppopsize and ppopsize.mul is not a multiple of the sample size), it may not be possible, for a finite N|N'| to represent each ego exactly according to its relative weight, and ppop.wt controls how the fractional egos are allocated:

    • "round": (default) Rather than treating ppopsize as a hard setting, calculate Nwi/w|N'| w_i / w_\cdot for each ego ii and round it to the nearest integer. Then, the N|N'| actually used will be the sum of these rounded freqencies.
    • "sample": Resample in proportion to wiw_i.
  • SAN: A list of control parameters for san()

    constructed by control.ergm(), called to construct a pseudopopulation network consistent with the data.

  • simulate: A list of control parameters for simulate.formula() constructed by control.simulate(), called to simulate from the model fit.

  • ...: Not used at this time.

Returns

A list with arguments as components.

See Also

control.simulate, control.san

Author(s)

Pavel N. Krivitsky

  • Maintainer: Pavel N. Krivitsky
  • License: GPL-3 + file LICENSE
  • Last published: 2025-02-12