ergm.bridge.llr uses bridge sampling with geometric spacing to
estimate the difference between the log-likelihoods of
two parameter vectors for an ERGM via repeated calls to
simulate.formula.ergm.ergm.bridge.0.llk is a convenience wrapper around ergm.bridge.llr: returns the
log-likelihood of configuration `theta' relative to the reference
measure. That is, the configuration with theta=0 is defined as
having log-likelihood of 0
See also ergm.bridge.dindstart.llk to use dyad-independent ERGM as a staring point.
ergm.bridge.llr(object,
response=NULL,
constraints=~.,
from,
to,
basis=NULL,
verbose=FALSE,
...,
llronly=FALSE,
control=control.ergm.bridge())
ergm.bridge.0.llk(object,
response=response,
coef,
...,
llkonly=TRUE,
control=control.ergm.bridge())ergm for details.ergm for more informationnetwork object to start
the Markov chain. If omitted, the default is the left-hand-side of
the object.ergm.bridge.llr and simulate.formula.ergm.control.ergm.bridge for details.llronly=TRUE, returns the scalar
log-likelihood-ratio. Otherwise, returns a list with the following components:nsteps
bridges.simulate.formula.ergm, ergm.bridge.dindstart.llk