NEWS
bootStateSpace 1.0.4
Patch
- The package is now under the MIT license (was GPL (>= 3)).
- The percentile and bias-corrected confidence intervals use nBootstrap's sample quantiles in C++ (the arithmetic of
stats::quantile(type = 7)); the package now imports Rcpp and links to Rcpp and RcppArmadillo.
- Fixed
PBSSMFixed(), PBSSMVARFixed(), PBSSMOUFixed(), and PBSSMLinSDEFixed() failing with the error argument "fun" is missing when ncores > 1 on Windows (the socket cluster passed FUN to parallel::parLapply(); present since the first release, 1.0.1).
PBSSMFixed(), PBSSMVARFixed(), PBSSMOUFixed(), and PBSSMLinSDEFixed(): maxeval defaults to 10000L (was -1, no limit), so a bootstrap fit that does not converge stops after 10,000 evaluations instead of running without bound; converging fits are unchanged (help section "Optimizer cap").
PBSSMFixed(), PBSSMVARFixed(), PBSSMOUFixed(), and PBSSMLinSDEFixed() return exitflag, the optimizer's exit code for each bootstrap fit; print() and summary() report the number of fits that did not converge (for example, fits stopped by maxeval). The draws and the intervals are unchanged.
- Requires simStateSpace (>= 1.2.17); the copy of its long-format helper is refreshed (same output, faster for large data).
- Documentation: the README and the landing vignette have an Example (
PBSSMVARFixed()) and an Other Features table; the help pages of the bootstrap functions describe the parametric bootstrap, the sampling variance-covariance matrix, and the percentile and bias-corrected intervals; sectioned examples; the method pages cite the package paper.
- Tests: one test file per exported function, with the socket and fork paths on two cores; a results check of all exported functions and methods on fixed seeds (
.setup/tests-external/).
- Fixed the bootstrap fits failing ("cannot open the connection") when the path of the temporary folder contains, for example, "so" after another character or a folder name ending in "c": dynr edits the path of its model file with unescaped regular expressions. Each dynr model is now compiled in a folder of its own under
tempdir(), from a relative file name, and the folder is removed after the fit; the working directory is restored.
- The
PBSSMOUFixed() example uses delta_t = 1.0 (was 0.10), so its bootstrap fits converge.
- Minor edits to methods.
bootStateSpace 1.0.3 (2025-10-09)
Patch
- Added citation to Pesigan, I. J. A., Russell, M. A., & Chow, S.-M. (2025). Inferences and effect sizes for direct, indirect, and total effects in continuous-time mediation models. Psychological Methods. https://doi.org/10.1037/met0000779.
bootStateSpace 1.0.2 (2025-02-14)
Patch
- Added the
clean argument to the PBSSMFixed, PBSSMOUFixed, PBSSMLinSDEFixed, and PBSSMVARFixed functions.
bootStateSpace 1.0.1 (2025-01-22)
Patch