Skip to content

CausalMBSTS

0.1.1

MBSTS Models for Causal Inference and Forecasting

0packages depend
3.1Kdownloads / year
74.8%test coverage
0/13checks pass

Overview

About
Maintained by Fiammetta MenchettiFirst published 2020-11-032 releasesCRAN page ↗GitHub ↗

Infers the causal effect of an intervention on a multivariate response through the use of Multivariate Bayesian Structural Time Series models (MBSTS) as described in Menchetti & Bojinov (2020) arXiv:2006.12269. The package also includes functions for model building and forecasting.

Install

Health

CRAN checks
13NOTE
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
  • NOTE r-devel-linux-x86_64-fedora-clang
  • NOTE r-devel-linux-x86_64-fedora-gcc
  • NOTE r-devel-windows-x86_64
  • NOTE r-oldrel-macos-arm64
  • NOTE r-oldrel-macos-x86_64
  • NOTE r-oldrel-windows-x86_64
  • NOTE r-patched-linux-x86_64
  • NOTE r-release-linux-x86_64
  • NOTE r-release-macos-arm64
  • NOTE r-release-macos-x86_64
  • NOTE r-release-windows-x86_64
Slowest check: 3.2 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.04
74.8%
Coverage · measured lines
100%
Documentation · exports
6
Dependencies · direct
Check history
  • NOTE2026-03-10
    0 OK · 14 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
98%
Return-value docs
100%
References docs
0%

Downloads

3.1K
CRAN downloads in the past year
Rank #12,275 · ~8/day · ~258/mo
Daily download trend is not available in this view yet.
20630 days
80890 days
3.1K1 year
Compare downloads with other packages →
Also on131 r2u33 autocran35 c2d4u

Repository

Repository
16Stars
0Forks
6Open issues
0Open PRs
0Releases
97Commits
4Contributors
97 commits · Last activity 2021-09-26

Stars over time

2023-04-12 · 162026-07-07 · 16

Repository practices

Upstream repositoryBeta

3 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/fmenchetti/causalmbsts on 2026-08-16.

CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)
Depends (2)
R >= 3.5.0KFAS
Imports (5)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (4)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Contributors (2)
Contributor
Package Timeline

2 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1.1Latest
    2021-10-06 · current release · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.0
    2020-11-03
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2020-11-03
Total releases
2 / 6 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 3.5.0
Download size
175 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("CausalMBSTS")
Menchetti, F., Bojinov, I., Prince, V. L., & Zahn, I. (2021). CausalMBSTS: MBSTS Models for Causal Inference and Forecasting (Version 0.1.1) [Computer software]. https://doi.org/10.32614/CRAN.package.CausalMBSTS

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 CausalMBSTS version 0.1.1 [Data set]. HJJB, LLC. Data release v2026-08-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-21, 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