Learn R Programming

ergm.ego (version 0.6.1)

control.simulate.ergm.ego: Control parameters for simulate.ergm.ego.

Description

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

Usage

control.simulate.ergm.ego(
  ppop.wt = c("round", "sample"),
  SAN.control = control.san(),
  simulate.control = 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'| w_i / w_\cdot\) 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 \(w_i\).

SAN.control

A list of control parameters for san constructed by control.ergm, called to construct a pseudopopulation network consistent with the data.

simulate.control

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

Not used at this time.

Value

A list with arguments as components.

See Also

control.simulate, control.san