Changelog
Source:NEWS.md
semmcci 1.1.7
Patch
- Documentation: the README and vignette cite Pesigan and Cheung (2024) with a linked DOI; the vignette math uses
\operatorname{}and\boldsymbol{};NEWS.mdbullets use-. -
MC(),MCMI(),MCFunc(), andMCGeneric()withdecomposition = "chol"use the eigenvalue decomposition whenchol()fails on a singular sampling variance-covariance matrix (for example, equality constraints); the tests of the equality-constrained model failed with newerlavaanand BLAS. - Lint: named arguments and
pkg::fn()calls in the R sources and tests;# nolintcomments name a rule and a reason. - Efficiency: new internal
.MCApply()runs the per-draw functions ofMC()(defined parameters) andMCStd()under onetryCatch(), with an exact per-draw fallback.MC()is about 2.4 times faster at R = 20000 for a model with defined parameters;MCStd()about 30% faster. Results are unchanged. - The percentile intervals use C++ quantiles (
.Quantile(), from nBootstrap 0.1.0), identical tostats::quantile(type = 7); semmcci now links toRcppandRcppArmadillo. - Internal helper copies refreshed from lavHelper 0.0.2, nBootstrap 0.1.0, and miHelper 0.1.0.
- Internal
.ThetaHatStarScreen()(used by betaMC through processLM) returns the counts of the screened draws as the attribute"screen": requested, retained, rejected, redraws, and exhausted (dropped afteriterfailed redraws). The redraws use the samepdandtolas the first pass. The draws are unchanged.
semmcci 1.1.3
CRAN release: 2023-10-14
Patch
- Minor edits to setting seed.
- Added the
MCGeneric()function.
semmcci 1.1.0
Minor
- Added the
MCMI()function.
semmcci 1.0.2
CRAN release: 2022-10-04
Patch
- Random variates from the multivatiate normal distribution are generated using the Cholesky decomposition of the sampling variance-covariance matrix. Eigen decomposition is used when Cholesky decomposition fails.
-
NAis returned if the calculation of the defined parameter fails inMC(). -
NAis returned if standardization fails inMCStd(). - Added methods.