Skip to content

Synthetic Control Methods

0packages depend
46.9Kdownloads / year
56.6%test coverage
13/13flavors OK

Overview

About

Implementation of prediction and inference procedures for Synthetic Control methods using least square, lasso, ridge, or simplex-type constraints. Uncertainty is quantified with prediction intervals as developed in Cattaneo, Feng, and Titiunik (2021) doi:10.1080/01621459.2021.1979561 for a single treated unit and in Cattaneo, Feng, Palomba, and Titiunik (2027) doi:10.1162/rest_a_01588 for multiple treated units and staggered adoption. More details about the software implementation can be found in Cattaneo, Feng, Palomba, and Titiunik (2025) doi:10.18637/jss.v113.i01.

Install

Health

CRAN checks
13OK
Slowest check: 4.2 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-18
  • WARNING10 OK, 3 WARNING2026-06-10
  • OK13 OK2026-06-09
Show 3 earlier changesHide 3 earlier changes
  • ERROR12 OK, 1 ERROR2026-06-07
  • OK14 OK2026-03-18
  • ERROR12 OK, 2 ERROR2026-03-10
Advisories

none known

Documentation

In release 4.0.1
READMENoVignettesNoNEWSNoCitation fileYes · cites a publicationWebsiteYes
Cites a JSS article
Help pages
18includes a package overview page
Examples that run
100%6 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
39% with a bibliography file

Downloads

46.9K
CRAN downloads in the past year
Rank #5,041 · ~128/day · ~3.9K/mo
Daily download trend is not available in this view yet.
64530 days
1.6K90 days
46.9K1 year
Compare downloads with other packages →
Also on116 r2u5 autocran41 c2d4u

Repository

44Stars
11Forks
0Open issues
0Open PRs
0Releases
127Commits
3Commit identities
pythonrprediction-intervalsstatasynthetic-control
127 commits · Last activity 2026-08-14 · -2.2% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2026-07-14 · 442026-10-13 · 44
PracticesBeta

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

Checks run against github.com/nppackages/scpi on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux

Governance and community (3)
Issue templatesPR templateSecurity policy
Automation and maintenance (1)
Dependabot
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
20 external dependencies (excludes base and recommended)

Installing scpi adds 73 packages (45 with compiled code, 66 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, clarabel 5.7 MB.

Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (4)
Author, Maintainer since 4.0.0 (2026)

Previously maintained by Filippo Palomba (0.1 to 3.0.2).

Listed in earlier versions (2)
Matias Cattaneo
no longer listed · 0.1 to 3.0.2
Cattaneo
no longer listed · 4.0.0 to 4.0.1
Releases (17)

Pick two releases to compare their code metrics.

Show 7 earlier eventsHide 7 earlier events

Package metadata

First published
2022-02-23
Total releases
17 / 4 yrs
License
GPL-3 OSI
Minimum R
≥ 4.1.0
Bundled data
17 KB / 1 file
Download size
178 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' entry:

citation("scpi")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.18637/jss.v113.i01.

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

From data release v2026-10-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