Skip to content

scpi

Prediction Intervals for Synthetic Control Methods with Multiple Treated Units and Staggered Adoption

v3.0.2 · Mar 6, 2026 · GPL-2

Description

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 (2025) <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>.

Downloads

20.3K

Last 30 days

862nd

21K

Last 90 days

25K

Last year

Trend: +6061.4% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 17, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE Mar 10, 2026
ERROR r-release-linux-x86_64

whether package can be installed

Found the following significant warnings:
  Warning: replacing previous import ‘CVXR::var’ by ‘stats::var’ when loading ‘scpi’
  Warning: replacing previous import ‘CVXR::sd’ by ‘stats::sd’ when loading ‘scpi’
See ‘/home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/scpi.Rcheck/00install.out’ for details.
ERROR r-release-windows-x86_64

whether package can be installed

Found the following significant warnings:
  Warning: replacing previous import 'CVXR::var' by 'stats::var' when loading 'scpi'
  Warning: replacing previous import 'CVXR::sd' by 'stats::sd' when loading 'scpi'
See 'd:/Rcompile/CRANpkg/local/4.5/scpi.Rcheck/00install.out' for details.

Dependency Network

Dependencies Reverse dependencies abind CVXR doSNOW dplyr ECOSolveR fastDummies foreach ggplot2 magrittr MASS Matrix purrr Qtools reshape2 (>= 1.4.4) Rdpack +4 more dependencies scpi

Version History

new 3.0.2 Mar 10, 2026
updated 3.0.2 ← 3.0.1 diff Mar 6, 2026
updated 3.0.1 ← 3.0.0 diff Jul 3, 2025
updated 3.0.0 ← 2.2.6 diff Jan 30, 2025
updated 2.2.6 ← 2.2.5 diff Nov 11, 2024
updated 2.2.5 ← 2.2.4 diff Oct 31, 2023
updated 2.2.4 ← 2.2.3 diff May 19, 2023
updated 2.2.3 ← 2.2.2 diff May 10, 2023
updated 2.2.2 ← 2.2.1 diff Apr 20, 2023
updated 2.2.1 ← 2.1.0 diff Mar 14, 2023
updated 2.1.0 ← 2.0.1 diff Dec 24, 2022
updated 2.0.1 ← 2.0.0 diff Nov 20, 2022
updated 2.0.0 ← 1.0.0 diff Oct 9, 2022
updated 1.0.0 ← 0.2.1 diff Sep 7, 2022
updated 0.2.1 ← 0.1 diff Mar 23, 2022
new 0.1 Feb 22, 2022