- formula
an ERGM formula.
- constraints
A formula specifying one or more constraints
on the support of the distribution of the networks being modeled. Multiple constraints
may be given, separated by “+” and “-” operators. See
ergmConstraint
for the detailed explanation of
their semantics and also for an indexed list of the constraints visible to the ergm package.
The default is to have no constraints except those provided through
the ergmlhs
API.
Together with the model terms in the formula and the reference measure, the constraints
define the distribution of networks being modeled.
It is also possible to specify a proposal function directly either
by passing a string with the function's name (in which case,
arguments to the proposal should be specified through the
MCMC.prop.args
argument to the relevant control function, or
by giving it on the LHS of the hints formula to MCMC.prop
argument to the control function. This will override
the one chosen automatically.
Note that not all possible combinations of constraints and reference
measures are supported. However, for relatively simple constraints
(i.e., those that simply permit or forbid specific dyads or sets of
dyads from changing), arbitrary combinations should be possible.
- estimate
One of "EGMME" for Equilibrium Generalized Method of Moments
Estimation, based on a single network with some temporal information and
making an assumption that it is a product of a TERGM process running to its
stationary (equilibrium) distribution; "CMLE" for Conditional Maximum
Likelihood Estimation, modeling a transition between two networks, or
"CMPLE" for Conditional Maximum PseudoLikelihood Estimation, using MPLE
instead of MLE. CMPLE is extremely inaccurate at this time.
- times
For CMLE and CMPLE estimation, times or indexes at
which the networks whose transition is to be modeled are
observed. This argument is mandatory if nw
is a
networkDynamic
and defaults to 1:length(nw)
(all
transitions) if nw
is a network.list
or a
list
. Ignored when estimating EGMME or if LHS is already a
NetSeries
. Note that at this time, the selected time points
will be treated as temporally adjacent. Irregluarly spaced time
series are not supported at this time.
- offset.coef
Numeric vector to specify offset parameters.
- targets
One-sided ergm()
-style formula specifying
statistics whose moments are used for the EGMME. Unused for CMLE and CMPLE.
Targets is required for EGMME estimation. It may contain any valid ergm
terms. Any offset terms are used only during the
preliminary SAN run; they are removed automatically for the EGMME proper.
If targets
is specified as a character
(one of "formation"
and "dissolution"
) then
the function .extract.fd.formulae()
is used to determine the
corresponding formula; the user should be aware of its behavior and limitations.
- target.stats
A vector specifying the values of the targets
statistics that EGMME will try to match. Defaults to the statistics of
nw
. Unused for CMLE and CMPLE.
- SAN.offsets
Offset coefficients (if any) to use during the SAN run.
- eval.loglik
Whether or not to calculate the log-likelihood
of a CMLE TERGM fit. See ergm()
for details. Can be
set globally via option(tergm.eval.loglik=...)
, falling back to
getOption("ergm.eval.loglik")
if not set.
- control
A list of control parameters for algorithm tuning.
Constructed using control.tergm()
.
- verbose
A logical or an integer to control the amount of
progress and diagnostic information to be printed. FALSE
/0
produces minimal output, with higher values producing more
detail. Note that very high values (5+) may significantly slow
down processing.
- ...
Additional arguments, to be passed to lower-level functions.
- basis
optional network data overriding the left hand side of formula