Skip to content

bsts

0.9.11Package record

Bayesian Structural Time Series

5packages dependsuggested by 2
44.7Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Time series regression using dynamic linear models fit using MCMC. See Scott and Varian (2014) DOI:10.1504/IJMMNO.2014.059942, among many other sources.

Install

Health

CRAN checks
13OK
Slowest check: 7.4 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-30
  • NOTE12 OK, 1 NOTE2026-07-29
  • OK13 OK2026-06-09
Show 5 earlier changesHide 5 earlier changes
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK13 OK2026-05-22
  • ERROR12 OK, 1 ERROR2026-05-21
  • OK12 OK2026-04-25
  • NOTE11 OK, 3 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.9.11
READMENoVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
71includes a package overview page
Examples that run
94%48 run in a plain check · 3 never run
Exported functions with examples
74%
Documented parameters
87%
Return-value docs
90%
Help pages citing references
34%

Downloads

44.7K
CRAN downloads in the past year
Rank #1,531 · ~123/day · ~3.7K/mo
Daily download trend is not available in this view yet.
6.5K30 days
15.7K90 days
44.7K1 year
Compare downloads with other packages →
Also on2.2K r2u25 autocran9.8K conda_forge643 c2d4u

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing bsts adds 4 packages (4 with compiled code, 3.7 MB of source tarballs). Heaviest: Boom 2.5 MB, zoo 675 KB, xts 470 KB.

Depends (5)
Imports (0)
none
LinkingTo (1)
Suggests (1)
Enhances (0)
none
Reverse dependencies
5direct
1indirect
Depends 1 · Imports 4
Suggested by 2
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (1)
Author, Maintainer since 0.5.1 (2014)
Listed in earlier versions (1)
Scott
no longer listed · 0.9.11
Releases (20)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.9.11Latest
    record
    2025-09-05 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.9.10
    record
    2024-01-17 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.9.9
    record
    2022-11-07 · diff ↗
  • 0.9.8
    record
    2022-05-30 · diff ↗ ·
    added 5 exports
    mbsts, plot.mbsts, plot.mbsts.prediction, predict.mbsts, PlotMbstsSeriesMeans
  • R
    R 4.2.0 released · 2022-04-22
  • 0.9.7
    record
    2021-07-02 · diff ↗ ·
    removed 1 export
    mbsts
  • R
    R 4.1.0 released · 2021-05-18
  • 0.9.6
    record
    2021-04-07 · diff ↗
  • 0.9.5
    record
    2020-05-02 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.9.2
    record
    2019-09-22 · diff ↗
  • 0.9.1
    record
    2019-06-07 · diff ↗ ·
    added 1 export
    mbsts
Show 17 earlier eventsHide 17 earlier events
  • 0.9.0
    record
    2019-05-22 · diff ↗ ·
    added 8 exports
    AddSharedLocalLevel, dirm, DirmModelOptions, DynamicRegressionArOptions, DynamicRegressionHierarchicalRandomWalkOptions, DynamicRegressionRandomWalkOptions, LongToWide, WideToLong
  • R
    R 3.6.0 released · 2019-04-26
  • 0.8.0
    record
    2018-05-07 · diff ↗ ·
    removed 6 exports
    AddFixedDateHoliday, AddLastWeekdayInMonthHoliday, AddNamedHolidays, AddNthWeekdayInMonthHoliday, NamedHolidays, PlotHolidays
    added 24 exports
    AcfDist, AddHierarchicalRegressionHoliday, AddMonthlyAnnualCycle, AddRandomWalkHoliday, AddRegressionHoliday, AddStaticIntercept, DateRange, DateRangeHoliday, DateToPOSIX, DayPlot, FixedDateHoliday, LastWeekdayInMonthHoliday, MaxWindowWidth, MaxWindowWidth.default, MaxWindowWidth.DateRangeHoliday, MonthPlot, NamedHoliday, named.holidays, NthWeekdayInMonthHoliday, PlotHoliday, qqdist, weekday.names, YearMonToPOSIX, YearPlot
  • R
    R 3.5.0 released · 2018-04-23
  • 0.7.1
    record
    2017-05-28 · diff ↗ ·
    removed 1 export
    TimeSeriesBoxplot
  • R
    R 3.4.0 released · 2017-04-21
  • 0.7.0
    record
    2017-04-11 · diff ↗ ·
    removed 1 export
    pattern:^[^\\.]
    added 69 exports
    AddAr, AddAutoAr, AddDynamicRegression, AddFixedDateHoliday, AddGeneralizedLocalLinearTrend, AddLastWeekdayInMonthHoliday, AddLocalLevel, AddLocalLinearTrend, AddNamedHolidays, AddNthWeekdayInMonthHoliday, AddSeasonal, AddSemilocalLinearTrend, AddStudentLocalLinearTrend, AddTrig, AggregateTimeSeries, AggregateWeeksToMonths, bsts, bsts.mixed, bsts.prediction.errors, BstsOptions, CompareBstsModels, EstimateTimeScale, ExtendTime, GeometricSequence, GetFractionOfDaysInInitialMonth, GetFractionOfDaysInInitialQuarter, HarveyCumulator, HasDuplicateTimestamps, IsRegular, LastDayInMonth and 39 more
  • 0.6.5
    record
    2016-08-19 · diff ↗
  • 0.6.4
    record
    2016-08-03 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 0.6.3
    record
    2016-03-15 · diff ↗
  • 0.6.2
    record
    2015-07-20 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 0.6.1
    record
    2014-12-05 · diff ↗
  • 0.6.0
    record
    2014-12-03 · diff ↗
  • 0.5.1
    record
    2014-06-27
  • R
    R 3.1.0 released · 2014-04-10

Package metadata

First published
2014-06-27
Total releases
20 / 12 yrs
License
LGPL-2.1 | MIT + file LICENSE OSI · relicensed from LGPL-2.1 | file LICENSE in 0.9.8
Minimum R
≥ 4.5.0
Bundled data
92 KB / 7 files
Download size
298 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("bsts")
Scott, S. L. (2025). bsts: Bayesian Structural Time Series (Version 0.9.11) [Computer software]. https://doi.org/10.32614/CRAN.package.bsts

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for bsts version 0.9.11 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy