NEWS
metaDyn 1.0.5
Patch
- Requires fitVARMxID 1.0.7 (boundary solutions,
nd_tol,
and the OpenMx check),
installed from GitHub (Remotes: jeksterslab/[email protected])
until it is on CRAN. The tag keeps fitVARMxID 1.1.0, whose new
argument names metaDyn 1.0.5 does not use yet, from being installed.
Meta(), MetaVARMx(), and the summary(), confint(), and
extract() methods stop with a clear message
when OpenMx is loaded but not attached
(for example, metaDyn::Meta() without library(metaDyn)):
OpenMx evaluates the covariance algebras (mxRobustLog())
from the search path, so the Wald and Monte Carlo intervals
failed with could not find function "mxRobustLog".
- The convergence check of
Meta() and MetaVARMx() also accepts a fit
whose largest absolute gradient is above 1e-2
when the improvement in -2LL that a Newton step would still make
is below 1e-4 (mxHelper 0.0.4).
Fits with a heterogeneity variance near zero
no longer go through needless rescue passes
and are no longer flagged as not converged at the optimum.
Meta() and MetaVARMx() return criterion:
the test that accepted the fit ("gradient" or "newton"),
NA when the fit did not converge.
metaDyn 1.0.4.9002
Patch
- Latest development version.
Meta() and MetaVARMx() now return converged
(whether the Stage 2 model converged)
and v_adjusted
(which sampling covariance matrices were replaced using Matrix::nearPD()).
converged() (re-exported from fitVARMxID) has a method for
metadynmeta objects;
print() and summary() add a note
when the fit did not converge or any matrix was replaced.
Meta() checks its input and stops with a clear message
when y, v, x, or z have inconsistent lengths or dimensions,
or v is not symmetric.
check_estimates = TRUE replaces a sampling covariance matrix
only when it is not positive definite relative to its own scale
(smallest eigenvalue at most 1e-8 times the largest),
instead of using an absolute threshold of 1e-6.
MetaVARMx() matches x and z to persons by ID when they are named
and checks their length when they are not;
it no longer calls unexported functions of fitVARMxID.
seed no longer changes the random number state of the session:
the state is restored on exit. Results for a given seed are unchanged.
extract() accepts only one what from the matrices it returns
and gives a clear error otherwise.
confint() selects the interval columns by name;
print() passes ncores and returns its input invisibly.
- Monte Carlo confidence intervals are about 100 to 200 times faster
with the same results: the targets are compiled once
from the model's matrices and algebras and evaluated in R for each draw,
instead of preparing the OpenMx model for every target and every draw.
A model the compiler does not handle (for example, with submodels)
uses the previous evaluation, with a message.
The results carry the attribute
mc: the evaluation used,
the draws that failed per target with the first error,
and the negative eigenvalues of the parameter covariance matrix
set to zero for the draws.
A warning is given when that matrix is not positive semidefinite
beyond round-off; summary(ci_type = "mc") keeps the attribute.
Meta() and MetaVARMx() warn when the parameters may not be
estimable from the data
(more free parameters than observed values,
or a random-effects model with too few units
for the between-unit covariance)
and return parameters (the counts).
Meta() and MetaVARMx() return tau_sqr_boundary
(the smallest eigenvalue of tau_sqr and the variances near zero)
and admissible
(every estimate, standard error, and Wald limit is finite);
print() and summary() add notes on them.
metaDyn 1.0.4 (2026-09-05)
Patch
- Improved convergence assessment and Hessian-rescue behavior, including more robust selection of the best candidate fit.
- Treats lower-bound solutions for softplus covariance-diagonal parameters as admissible rather than automatically classifying them as convergence failures.
- Hardened parameter-bound detection, nudging, and bound relaxation.
metaDyn 1.0.3 (2026-08-02)
Patch
- Revised the model-implied mean vector and covariance matrix for distal-outcome models so that distal outcomes are predicted by latent effect sizes rather than observed effect-size estimates.
- Added support for treating covariates as either fixed definition variables or stochastic variables modeled jointly with effect sizes and distal outcomes.
- Added Monte Carlo method confidence intervals.
metaDyn 1.0.1 (2026-03-24)
Patch
metaDyn 1.0.0
Patch