← Back to home
Comparison · Infra & APIs

states vs stochvol

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

Shared themes:maintenance

states vs stochvol: at a glance

Featurestatesstochvol
SectorInfra & APIsInfra & APIs
Velocity score0.00.0
Sparks · 30d00
Top themespolitical-science, panel-data, country-codes, datasetsbayesian-inference, stochastic-volatility, mcmc, rcpp
Last editorial update42m ago2h ago
WebsiteVisit →Visit →

What is states?

State-panel tooling holding steady since its 2020 data and ergonomics release.

states supplies the Gleditsch & Ward and Correlates of War state lists and the tooling to turn them into country-year or country-month panels, with plot_missing() for coverage checks. The substantive work landed in 2020; the releases since are compatibility fixes against ggplot2, dplyr, readr and testthat. The most recent entry is a single test repair.

Read the full states trajectory →

What is stochvol?

A Bayesian volatility sampler in its maintenance decade, paying for its own speed

stochvol runs MCMC for stochastic volatility models, with a C++ sampler underneath an R interface. Five years of releases in this window contain no new models: the work is compiler and dependency compatibility, CRAN check notes, and a steady trickle of corrections to the sampler itself. Its methodological milestone, the Journal of Statistical Software paper, is recorded in a 2021 tag.

Read the full stochvol trajectory →

states vs stochvol: editorial side-by-side

S
states
INFRA · APIS
0.0

State-panel tooling holding steady since its 2020 data and ergonomics release.

◆ Current state

states supplies the Gleditsch & Ward and Correlates of War state lists and the tooling to turn them into country-year or country-month panels, with plot_missing() for coverage checks. The substantive work landed in 2020; the releases since are compatibility fixes against ggplot2, dplyr, readr and testthat. The most recent entry is a single test repair.

◆ Where it's heading

The package has reached the point where its own data and API are settled and the release trigger is upstream churn in the tidyverse. What movement there is goes toward making the two state lists interchangeable, with the microstates coding carried from G&W onto the COW data as the clearest example, rather than toward new datasets.

◆ Prediction

The next release is most likely another compatibility pass; a data refresh would be the signal that the package is active again.

S
stochvol
INFRA · APIS
0.0

A Bayesian volatility sampler in its maintenance decade, paying for its own speed

◆ Current state

stochvol runs MCMC for stochastic volatility models, with a C++ sampler underneath an R interface. Five years of releases in this window contain no new models: the work is compiler and dependency compatibility, CRAN check notes, and a steady trickle of corrections to the sampler itself. Its methodological milestone, the Journal of Statistical Software paper, is recorded in a 2021 tag.

◆ Where it's heading

This is what a finished computational package looks like. The formula interface arrived at 3.1.0 and nothing has been added since; what changes is the ground underneath — RcppArmadillo major versions, UBSan checks, error-handling conventions moving from Rf_error to Rcpp::stop for correct memory management. The recurring pattern worth watching is that several releases fix real errors in the sampler's proposal distributions, found by users and by CRAN's own instrumented checks rather than by the maintainer.

◆ Prediction

Nothing in these notes suggests new methodology. Expect the next release when RcppArmadillo or a CRAN check flavour forces one, and treat any bug report against the samplers as the more consequential event.

Alternatives to states and stochvol

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 states or stochvol.

See all states alternatives → · See all stochvol alternatives →

Recent activity from states and stochvol

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

  1. 5mo agostochvolSampler crash with constant parameters fixed, plus RcppArmadillo 15
  2. 0y agostatesplot_missing() test fixed for the next ggplot2
  3. 1y agostochvolTwo CRAN check notes cleared
  4. 1y agostochvolProposal variance corrected in the centered parameterisation
  5. 2y agostochvolCRAN stochvol 3.2.4
  6. 2y agostochvolRolling-window indexing and inverse gamma prior validation fixed
  7. 2y agostatesggplot2 and dplyr deprecation cleanup
  8. 2y agostatesBundled state data stripped to plain data frames
  9. 3y agostochvolCore C++ sampler routines exported for reuse
  10. 5y agostatesMicrostate coding for COW data and state_panel() shortcuts
  11. 7y agostatesSimpler defaults for state_panel() and plot_missing()

Frequently asked questions

What is the difference between states and stochvol?

Both compete on the same themes — maintenance — within Infra & APIs. states and stochvol 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 states better than stochvol?

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

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

What are the best alternatives to stochvol?

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