Learn R Programming

ergm (version 2.4-2)

ergm.bridge.dindstart.llk: Bridge sampling to estiamte log-likelihood of an ERGM, using a dyad-independent ERGM as a staring point.

Description

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.

Usage

ergm.bridge.dindstart.llk(object, theta, nsteps = 20, dind = NULL, theta.dind = NULL, basis = NULL, llkonly = TRUE, ...)

Arguments

object
A model formula. See ergm for details.
basis
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 object with an overal density term (edges) added if not redundant.
theta.dind
Parameter configuration for the dyad-independent starting point. Defaults to the MLE of dind.
llkonly
Whether only the estiamted log-likelihood should be returned. (Defaults to TRUE.)
...
Further arguments to ergm.bridge.llr and simulate.formula.ergm.

Value

  • 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.dindThe log-likelihood of the dyad-independence model.
  • llkThe estimated log-likelihood.

References

Hunter, D. R. and Handcock, M. S. (2006) Inference in curved exponential family models for networks, Journal of Computational and Graphical Statistics.

See Also

ergm.bridge.llr, simulate.formula.ergm