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′∣ calculated from ppopsize and ppopsize.mul is not a multiple of the sample size), it may not be possible, for a finite ∣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 ∣N′∣wi/w⋅ for each ego i and round it to the nearest integer. Then, the ∣N′∣ actually used will be the sum of these rounded freqencies.
"sample": Resample in proportion to wi.
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.