Skip to contents

Saqrlab 0.4.0

Saqrlab is now simulation-only: network estimation code (build_network, bootstrap_network, permutation_test, temporal_network, mlvar, GIMME, MCML, higher-order networks, etc.) has moved to the sibling package Nestimate. This release focuses the package on synthetic-data generation with known ground truth.

New Features

Unified saqr_sim interface

  • New saqr_sim S3 class wraps every numerical simulator’s output with a consistent $data / $params / $type / $seed interface, plus [, as.data.frame(), head(), tail(), dim(), names(), str(), print(), and summary() methods. $data / $params access is backward-compatible.
  • simulate() — single dispatcher that routes a type string to the matching explicit-parameter simulator.
  • list_simulators() — catalogs the available simulation types as a data.frame.
  • validate_recovery() — compares a method’s point estimates to the known true params, returning a tidy per-parameter recovery table (absolute/relative error and a within-tolerance flag).

Explicit-parameter simulators

New simulation modules

  • inject_missingness() — adds MCAR, MAR, or MNAR missingness to any simulated data frame at a controlled rate.
  • simulate_mlm() and simulate_growth() — multilevel and latent-growth / longitudinal data from explicit fixed effects and variance components.
  • simulate_irt() — item response theory data (1PL/2PL/3PL) from explicit item parameters and latent abilities.
  • simulate_survival() — time-to-event data with explicit hazard, covariate effects, and censoring.
  • simulate_hmm() — hidden Markov model sequences from explicit emission and transition probabilities.

Scenario presets

Testing

  • Added a cross-package fixture-contract test that guards the simulation output contract relied on by downstream packages.

Bug Fixes

Saqrlab 0.1.0

Initial release of Saqrlab - Simulation and Analysis Tools for Temporal Network Analysis.

New Features

Data Simulation

Network Generation

Model Fitting

Network Comparison

Batch Processing

Bootstrap & Simulation Studies

Learning States

Utilities

Improvements

  • Standardized parameter names across all functions
  • use_learning_states = TRUE as default for realistic educational simulations
  • Parallel processing support via future and future.apply
  • Progress reporting with progressr

Dependencies

  • Core: tna, seqHMM
  • Data manipulation: dplyr, tidyr
  • Parallel processing: parallel, future, future.apply
  • Utilities: progressr, lhs