Function to estimate the transformation parameters for adjusting the pseudolikelihood function.
ergmAPL(
formula,
aux.iters = NULL,
n.aux.draws = NULL,
aux.thin = NULL,
ladder = NULL,
estimate = c("MLE", "CD"),
seed = 1,
...
)
formula; an ergm
formula object,
of the form <network> ~ <model terms>
where <network> is a network
object
and <model terms> are ergm-terms
.
count; number of auxiliary iterations used for drawing the first network from the ERGM likelihood. See control.simulate.formula
.
count; Number of auxiliary networks drawn from the ERGM likelihood. See control.simulate.formula
.
count; Number of auxiliary iterations between network draws after the first network is drawn. See control.simulate.formula
.
count; Length of temperature ladder (>=3).
If "MLE" (the default), then an approximate maximum likelihood estimator is returned. If "CD" , the Monte-Carlo contrastive divergence estimate is returned. See ergm
.
integer; seed for the random number generator. See set.seed
.
Additional arguments, to be passed to the ergm function. See ergm
.
Bouranis, L., Friel, N., & Maire, F. (2018). Bayesian model selection for exponential random graph models via adjusted pseudolikelihoods. Journal of Computational and Graphical Statistics, 27(3), 516-528. https://arxiv.org/abs/1706.06344