From 1eb42739f9343e51eed5f928772bddc128125c27 Mon Sep 17 00:00:00 2001
From: "Pavel N. Krivitsky"
Date: Wed, 31 Jan 2024 12:11:17 +1100
Subject: [PATCH] Missing data MCMLE now defaults to using variance-based
constrained sample.
---
DESCRIPTION | 2 +-
R/control.ergm.R | 4 ++--
man/control.ergm.Rd | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/DESCRIPTION b/DESCRIPTION
index a2ae5dec5..ffc783516 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -1,5 +1,5 @@
Package: ergm
-Version: 4.6-7316
+Version: 4.6-7317
Date: 2024-01-31
Title: Fit, Simulate and Diagnose Exponential-Family Models for Networks
Authors@R: c(
diff --git a/R/control.ergm.R b/R/control.ergm.R
index d7bf46212..030d7ae3c 100644
--- a/R/control.ergm.R
+++ b/R/control.ergm.R
@@ -295,7 +295,7 @@
#' `obs.MCMC.mul`.
#'
#' Lastly, if `MCMLE.effectiveSize` is not NULL but
-#' `obs.MCMLE.effectiveSize`, the constrained sample's target
+#' `obs.MCMLE.effectiveSize` is, the constrained sample's target
#' effective size is set adaptively to achieve a similar precision
#' for the estimating functions as that achieved for the
#' unconstrained.
@@ -603,7 +603,7 @@ control.ergm<-function(drop=TRUE,
MCMLE.density.guard.min=10000,
MCMLE.density.guard=exp(3),
MCMLE.effectiveSize=64,
- obs.MCMLE.effectiveSize=NVL3(MCMLE.effectiveSize, .*obs.MCMC.mul),
+ obs.MCMLE.effectiveSize=NULL,
MCMLE.interval=1024,
MCMLE.burnin=MCMLE.interval*16,
MCMLE.samplesize.per_theta=32,
diff --git a/man/control.ergm.Rd b/man/control.ergm.Rd
index 5436c09e4..da8427da3 100644
--- a/man/control.ergm.Rd
+++ b/man/control.ergm.Rd
@@ -94,7 +94,7 @@ control.ergm(
MCMLE.density.guard.min = 10000,
MCMLE.density.guard = exp(3),
MCMLE.effectiveSize = 64,
- obs.MCMLE.effectiveSize = NVL3(MCMLE.effectiveSize, . * obs.MCMC.mul),
+ obs.MCMLE.effectiveSize = NULL,
MCMLE.interval = 1024,
MCMLE.burnin = MCMLE.interval * 16,
MCMLE.samplesize.per_theta = 32,
@@ -488,7 +488,7 @@ corresponding \code{obs} parameters are set to them multiplied by
\code{obs.MCMC.mul}.
Lastly, if \code{MCMLE.effectiveSize} is not NULL but
-\code{obs.MCMLE.effectiveSize}, the constrained sample's target
+\code{obs.MCMLE.effectiveSize} is, the constrained sample's target
effective size is set adaptively to achieve a similar precision
for the estimating functions as that achieved for the
unconstrained.}