ergm.bridge.dindstart.llk {ergm} | R Documentation |
This function is a wrapper around ergm.bridge.llr
that uses a
dyad-independent ERGM as a starting point for bridge sampling to
estimate the log-likelihood for a given dyad-dependent model and
parameter configuration. The dyad-independent model may be specified
or can be chosen adaptively.
ergm.bridge.dindstart.llk(object, theta, nsteps = 20, dind = NULL, theta.dind = NULL, basis = NULL, llkonly = TRUE, ...)
object |
A model formula. See |
basis |
See |
theta |
A vector of coefficients for the configuration of interest. |
nsteps |
Number of geometric bridges to use. |
dind |
A one-sided formula with the dyad-independent model to use as a
starting point. Defaults to the dyad-independent terms found in the
formula |
theta.dind |
Parameter configuration for the dyad-independent starting
point. Defaults to the MLE of |
llkonly |
Whether only the estiamted log-likelihood should be returned. (Defaults to |
... |
Further arguments to |
If llkonly=TRUE
, returns the scalar
log-likelihood. Otherwise, returns a copy of the list returned by
ergm.bridge.llr
in addition to the following components:
llk.dind |
The log-likelihood of the dyad-independence model. |
llk |
The estimated log-likelihood. |
Hunter, D. R. and Handcock, M. S. (2006) Inference in curved exponential family models for networks, Journal of Computational and Graphical Statistics.
ergm.bridge.llr
, simulate.formula.ergm