Skip to content

scpi

Synthetic Control Methods

v4.0.1 · Jun 10, 2026 · GPL-3

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

Downloads

CRAN

867

Last 30 days

3854th

26K

Last 90 days

47.1K

Last year

Trend: -80.6% (30d vs prior 30d)

r2u CRAN

10

Last 30 days

37

Last 90 days

120

Last year

Trend: -44.4% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 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-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 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 18, 2026
WARNING 10 OK · 0 NOTE · 3 WARNING · 0 ERROR · 0 FAILURE Jun 10, 2026
WARNING r-devel-linux-x86_64-debian-gcc

whether package can be installed

Found the following significant warnings:
  Warning: replacing previous import ‘CVXR::convolve’ by ‘stats::convolve’ when loading ‘scpi’
See ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/scpi.Rcheck/00install.out’ for details.
WARNING r-devel-linux-x86_64-fedora-clang

whether package can be installed

Found the following significant warnings:
  Warning: replacing previous import ‘CVXR::convolve’ by ‘stats::convolve’ when loading ‘scpi’
See ‘/data/gannet/ripley/R/packages/tests-clang/scpi.Rcheck/00install.out’ for details.
WARNING r-devel-linux-x86_64-fedora-gcc

whether package can be installed

Found the following significant warnings:
  Warning: replacing previous import ‘CVXR::convolve’ by ‘stats::convolve’ when loading ‘scpi’
See ‘/data/gannet/ripley/R/packages/tests-devel/scpi.Rcheck/00install.out’ for details.
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 7, 2026
ERROR r-devel-linux-x86_64-debian-gcc

PDF version of manual

Rd conversion errors:
Converting parsed Rd's to LaTeX Warning in file(out, "wt") :
  cannot open file '/tmp/RtmpE25pIn/filedcbc97694e637': No space left on device
Warning in file(con, "r") :
  cannot open file '/tmp/RtmpE25pIn/filedcbc97694e637': No such file or directory
Error in file(con, "r") : cannot open the connection
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 (>= 1.0.7) ECOSolveR fastDummies foreach ggplot2 magrittr MASS (>= 7.3) Matrix parallel (>= 4.1.0) purrr Qtools reshape2 (>= 1.4.4) +5 more dependencies scpi

Version History

18 tracked
updated 4.0.1 ← 4.0.0 diff Jun 10, 2026
updated 4.0.0 ← 3.0.2 diff Jun 3, 2026
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