← Back to home
Comparison · Infra & APIs

modsem vs samplr

A side-by-side editorial comparison of modsem and samplr — release velocity, themes, recent moves, and the top alternatives to consider.

modsem vs samplr: at a glance

Featuremodsemsamplr
SectorInfra & APIsInfra & APIs
Velocity score0.00.0
Sparks · 30d00
Top themesstructural-equation-modeling, latent-interactions, lms-estimator, mplus-interopcognitive-science, sampling-algorithms, mcmc, dormant
Last editorial update1h ago47m ago
WebsiteVisit →Visit →

What is modsem?

modsem is grinding latent interaction models toward Mplus parity, one estimator at a time.

modsem fits interaction and quadratic effects between latent variables in R, offering both product-indicator approaches (modsem_pi) and distribution-analytic ones (modsem_da, covering LMS and QML). Releases land roughly monthly and are dense pull-request lists. The recent line is dominated by the LMS approach: gradient refactors, parallel E-steps, composite construct support, and careful handling of residual covariances between latent variables.

Read the full modsem trajectory →

What is samplr?

A cognitive-science sampling package ships once, then goes quiet for eighteen months

samplr compares human performance against sampling algorithms, giving cognitive scientists the MCMC machinery to test whether people behave like samplers. Its entire public history is three releases: a 1.0.0 in August 2024, a floating-point fix eighteen seconds later, and then nothing until a February 2026 patch. The release notes are unusually thin even by CRAN standards.

Read the full samplr trajectory →

modsem vs samplr: editorial side-by-side

M
modsem
INFRA · APIS
0.0

modsem is grinding latent interaction models toward Mplus parity, one estimator at a time.

◆ Current state

modsem fits interaction and quadratic effects between latent variables in R, offering both product-indicator approaches (modsem_pi) and distribution-analytic ones (modsem_da, covering LMS and QML). Releases land roughly monthly and are dense pull-request lists. The recent line is dominated by the LMS approach: gradient refactors, parallel E-steps, composite construct support, and careful handling of residual covariances between latent variables.

◆ Where it's heading

Two things are being closed at once. The modelling gap — composites and formative constructs, categorical estimators, residual covariances in every direction, multigroup and clustered designs — brings modsem toward what commercial Mplus users expect, and the package's Mplus bridge is maintained alongside it, now with unique file IDs and a cleanup argument. The performance gap is the other: memoised H0, parallel E-step, optimized gradients and Hessians for both LMS and QML, all aimed at the distribution-analytic estimators that are expensive by construction. Convention borrowing from lavaan continues in message formatting and standard-error defaults.

◆ Prediction

The 1.0.20 and 1.0.21 releases both spent effort on residual covariances between endogenous and exogenous latent variables across estimation, prediction and standardization, and that thread has not obviously closed. The arrival of a second contributor moving MplusAutomation to Suggests suggests dependency trimming continues.

S
samplr
INFRA · APIS
0.0

A cognitive-science sampling package ships once, then goes quiet for eighteen months

◆ Current state

samplr compares human performance against sampling algorithms, giving cognitive scientists the MCMC machinery to test whether people behave like samplers. Its entire public history is three releases: a 1.0.0 in August 2024, a floating-point fix eighteen seconds later, and then nothing until a February 2026 patch. The release notes are unusually thin even by CRAN standards.

◆ Where it's heading

The feed shows a package that shipped and stopped. The 2024 tags were both created in one sitting and say almost nothing; the 2026 release is a row-count bug in Mean_Variance() bundled with citation metadata, a dropped dependency and http-to-https link fixes — the housekeeping profile of a package being kept alive for the paper that cites it rather than actively developed.

◆ Prediction

Adding citation information to the README is usually the move of a maintainer expecting the package to be referenced rather than extended. On this cadence the next release is more likely another CRAN-hygiene patch than new algorithms; there is not enough in these notes to say otherwise.

Alternatives to modsem and samplr

Other Infra & APIs products tracked by Sparkpulse, ranked by recent ship velocity. Each card links to a full editorial trajectory and lets you pivot into a head-to-head comparison with either modsem or samplr.

See all modsem alternatives → · See all samplr alternatives →

Recent activity from modsem and samplr

Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.

  1. 1mo agomodsemUnique Mplus file IDs, cleanup argument, LMS gradient refactor
  2. 2mo agomodsemComposite constructs for LMS, plus MC-LMS-CAT and MC-QML-CAT
  3. 3mo agomodsemPrint spacing and a partial-match fix in getSortedEtas()
  4. 4mo agomodsemCategorical argument for Mplus; partial support for the <~ operator
  5. 5mo agomodsemConsistent three-way interaction estimates with rcs=TRUE
  6. 5mo agosamplrMean_Variance() row count corrected after eighteen months
  7. 6mo agomodsemSecondary pruning and a forward-difference Hessian mode
  8. 1y agosamplrFloating point comparison fix
  9. 1y agosamplrsamplr 1.0.0

Frequently asked questions

What is the difference between modsem and samplr?

They serve adjacent needs but don't currently overlap on shipped themes. modsem and samplr are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is modsem better than samplr?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. modsem and samplr are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). For your specific use case, the alternatives sections above list other Infra & APIs products to evaluate alongside.

What are the best alternatives to modsem?

Top modsem alternatives in Infra & APIs are ranked by recent ship velocity. Browse the "modsem alternatives" section above for the current picks, or visit /alternatives/modsem for the full list with editorial commentary on each.

What are the best alternatives to samplr?

Top samplr alternatives in Infra & APIs are ranked by recent ship velocity. Browse the "samplr alternatives" section above for the current picks, or visit /alternatives/samplr for the full list with editorial commentary on each.