← Back to home
Comparison · Infra & APIs

modsem vs PINstimation

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

modsem vs PINstimation: at a glance

FeaturemodsemPINstimation
SectorInfra & APIsInfra & APIs
Velocity score0.00.0
Sparks · 30d00
Top themesstructural-equation-modeling, latent-interactions, lms-estimator, mplus-interopmarket-microstructure, finance, informed-trading, r-package
Last editorial update2h ago45m 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 PINstimation?

A market-microstructure toolkit that keeps adding estimators as the papers land.

PINstimation estimates probability-of-informed-trading models — PIN, multilayer PIN, adjusted PIN and VPIN — from trade and quote data, and handles the trade classification and aggregation that feeds them. The current 0.2.0 adds ivpin(), a maximum-likelihood variant of VPIN from Ke and Lin (2017). The package's early history is compressed into a single hour of backfilled tags in October 2022, so version order there does not track release order.

Read the full PINstimation trajectory →

modsem vs PINstimation: 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.

P
PINstimation
INFRA · APIS
0.0

A market-microstructure toolkit that keeps adding estimators as the papers land.

◆ Current state

PINstimation estimates probability-of-informed-trading models — PIN, multilayer PIN, adjusted PIN and VPIN — from trade and quote data, and handles the trade classification and aggregation that feeds them. The current 0.2.0 adds ivpin(), a maximum-likelihood variant of VPIN from Ke and Lin (2017). The package's early history is compressed into a single hour of backfilled tags in October 2022, so version order there does not track release order.

◆ Where it's heading

Each release tracks the literature: a Bayesian PIN estimator from Griffin et al., an improved VPIN from Ke and Lin, initial-parameter generation realigned to Ersan and Ghachem. The other steady thread is data handling — matrix inputs so the estimators compose with rolling windows, user-specified aggregation frequencies, and now quote leads as well as lags. The three-year gap between 0.1.2 and 0.2.0 makes this a slow, publication-paced package rather than an actively developed one.

◆ Prediction

On this pattern the next release adds whatever estimator the authors publish next, since two of the three feature releases here implement a specific paper. Nothing in the entries points to a change in the package's structure.

Alternatives to modsem and PINstimation

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 PINstimation.

See all modsem alternatives → · See all PINstimation alternatives →

Recent activity from modsem and PINstimation

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. 6mo agomodsemSecondary pruning and a forward-difference Hessian mode
  7. 8mo agoPINstimationPINstimation 0.2.0
  8. 3y agoPINstimationPINstimation v0.1.2
  9. 3y agoPINstimationPINstimation v0.1.1
  10. 3y agoPINstimationPINstimation v0.0.1-beta
  11. 3y agoPINstimationPINstimation v0.1.0

Frequently asked questions

What is the difference between modsem and PINstimation?

They serve adjacent needs but don't currently overlap on shipped themes. modsem and PINstimation 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 PINstimation?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. modsem and PINstimation 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 PINstimation?

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