ergmm
fitting. Typically only used when calling ergmm. It is used to
set parameters that affect the sampling but do not affect the posterior distribution.control.ergmm(sample.size=4000,
burnin=10000,
interval=10,
threads=1,
kl.threads=1,
mle.maxit=100,
Z.delta=0.6,
RE.delta=0.6,
group.deltas=0.4,
pilot.runs=4,
pilot.factor=0.8,
pilot.discard.first=0.5,
target.acc.rate=0.234,
backoff.threshold=0.05,
backoff.factor=0.2,
accept.all=FALSE,
store.burnin=FALSE,
refine.user.start=TRUE)snowFT is used to take
advantage of any multiprocessing or distributed computing
capabilities that may be available. CZ.delta, RE.delta, and
group.deltas are reevaluated. If set to 0<0 to disable this behavior.TRUE, the samples from the burnin are
also stored and returned, to be used in MCMC diagnostics.TRUE, the values passed to
ergmm in the user.start argument can be updated by the mode-finding algorithm.ergmmdata(sampson)
## Shorter run than default.
samp.fit<-ergmm(samplike~euclidean(d=2,G=3)+rreceiver,
control=ergmm.control(burnin=1000,sample.size= 2000,interval=5))Run the code above in your browser using DataLab