{
  "_id": "6a202e62cd65a98ecbd0c989",
  "Package": "scpi",
  "Title": "Synthetic Control Methods",
  "Version": "4.0.0",
  "Authors@R": "c(person(given = c(\"Matias\", \"D.\"),\nfamily = \"Cattaneo\",\nrole = c(\"aut\",\"cre\"),\nemail = \"matias.d.cattaneo@gmail.com\"),\nperson(given = \"Yingjie\",\nfamily = \"Feng\",\nrole = \"aut\",\nemail = \"fengyingjiepku@gmail.com\"),\nperson(given = \"Filippo\",\nfamily = \"Palomba\",\nrole = \"aut\",\nemail = \"filippo.palomba19@gmail.com\"),\nperson(given = \"Rocio\",\nfamily = \"Titiunik\",\nrole = \"aut\",\nemail = \"rocio.titiunik@gmail.com\")\n)",
  "URL": "https://nppackages.github.io/scpi/",
  "BugReports": "https://github.com/nppackages/scpi/issues",
  "Description": "Implementation of prediction and inference procedures for\nSynthetic Control methods using least square, lasso, ridge, or\nsimplex-type constraints. Uncertainty is quantified with\nprediction intervals as developed in Cattaneo, Feng, and\nTitiunik (2021) <doi:10.1080/01621459.2021.1979561> for a\nsingle treated unit and in Cattaneo, Feng, Palomba, and\nTitiunik (2027) <doi:10.1162/rest_a_01588> for multiple treated\nunits and staggered adoption. More details about the software\nimplementation can be found in Cattaneo, Feng, Palomba, and\nTitiunik (2025) <doi:10.18637/jss.v113.i01>.",
  "LazyData": "true",
  "NeedsCompilation": "no",
  "RdMacros": "Rdpack",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "Author": "Matias D. Cattaneo [aut, cre], Yingjie Feng [aut], Filippo\nPalomba [aut], Rocio Titiunik [aut]",
  "Maintainer": "Matias D. Cattaneo <matias.d.cattaneo@gmail.com>",
  "Packaged": {
    "Date": "2026-06-03 13:29:31 UTC",
    "User": "root"
  },
  "Config/pak/sysreqs": "cmake libgmp3-dev make libicu-dev pkg-config\nlibclang-dev",
  "Repository": "https://mdcattaneo.r-universe.dev",
  "Date/Publication": "2026-06-03 12:16:25 UTC",
  "RemoteUrl": "https://github.com/cran/scpi",
  "RemoteRef": "HEAD",
  "RemoteSha": "4e9a0089d9d48231cdde69f76520ac5927f319ee",
  "MD5sum": "83d82d1e5b86c698592917b02d7a4d5e",
  "_user": "mdcattaneo",
  "_type": "src",
  "_file": "scpi_4.0.0.tar.gz",
  "_fileid": "2e648fcf1daca01999d630407c463037fd5cf2c8b3f503cdf461344a776b4745",
  "_filesize": 496256,
  "_sha256": "2e648fcf1daca01999d630407c463037fd5cf2c8b3f503cdf461344a776b4745",
  "_created": "2026-06-03T13:29:31.000Z",
  "_published": "2026-06-03T13:38:42.760Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79305714089,
      "time": 220,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7386054467"
    },
    {
      "job": 79305714473,
      "time": 216,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7386052317"
    },
    {
      "job": 79305713983,
      "time": 127,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7386065440"
    },
    {
      "job": 79305714106,
      "time": 119,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7386171249"
    },
    {
      "job": 79304976504,
      "time": 213,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7385964076"
    },
    {
      "job": 79305714178,
      "time": 141,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7386021001"
    },
    {
      "job": 79305714074,
      "time": 139,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7386020662"
    },
    {
      "job": 79305714102,
      "time": 143,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7386022188"
    },
    {
      "job": 79305714115,
      "time": 161,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7386029101"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/26887804116",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/scpi",
  "_commit": {
    "id": "4e9a0089d9d48231cdde69f76520ac5927f319ee",
    "author": "Matias D. Cattaneo <matias.d.cattaneo@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 4.0.0\n",
    "time": 1780488985
  },
  "_maintainer": {
    "name": "Matias D. Cattaneo",
    "email": "matias.d.cattaneo@gmail.com",
    "login": "mdcattaneo",
    "description": "",
    "uuid": 24854721
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "abind",
      "version": ">= 1.4.5",
      "role": "Imports"
    },
    {
      "package": "CVXR",
      "version": ">= 1.8.1",
      "role": "Imports"
    },
    {
      "package": "doSNOW",
      "version": ">= 1.0.19",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.0.7",
      "role": "Imports"
    },
    {
      "package": "ECOSolveR",
      "version": ">= 0.5.4",
      "role": "Imports"
    },
    {
      "package": "fastDummies",
      "version": ">= 1.6.3",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "version": ">= 1.5.1",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.3.3",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "version": ">= 2.0.1",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "version": ">= 7.3",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "version": ">= 1.3.3",
      "role": "Imports"
    },
    {
      "package": "methods",
      "version": ">= 4.1.0",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "version": ">= 4.1.0",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "version": ">= 0.3.4",
      "role": "Imports"
    },
    {
      "package": "Qtools",
      "version": ">= 1.5.6",
      "role": "Imports"
    },
    {
      "package": "reshape2",
      "version": ">= 1.4.4",
      "role": "Imports"
    },
    {
      "package": "Rdpack",
      "version": ">= 2.4",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 0.4.11",
      "role": "Imports"
    },
    {
      "package": "stats",
      "version": ">= 4.1.0",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "version": ">= 1.4.0",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "version": ">= 3.1.2",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "version": ">= 1.1.3",
      "role": "Imports"
    },
    {
      "package": "utils",
      "version": ">= 4.1.1",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-27",
      "n": 1
    },
    {
      "week": "2026-10",
      "n": 1
    },
    {
      "week": "2026-23",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "3.0.1",
      "date": "2025-07-03"
    },
    {
      "name": "3.0.2",
      "date": "2026-03-06"
    },
    {
      "name": "4.0.0",
      "date": "2026-06-03"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "filippopalomba",
      "count": 15,
      "uuid": 78806778
    },
    {
      "user": "mdcattaneo",
      "count": 1,
      "uuid": 24854721
    }
  ],
  "_userbio": {
    "uuid": 24854721,
    "type": "user",
    "name": "Matias D. Cattaneo"
  },
  "_downloads": {
    "count": 2233,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/scpi"
  },
  "_devurl": "https://github.com/nppackages/scpi",
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/scpi.html",
    "manual.pdf"
  ],
  "_realowner": "mdcattaneo",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1",
      "date": "2022-02-23"
    },
    {
      "version": "0.2.1",
      "date": "2022-03-24"
    },
    {
      "version": "1.0.0",
      "date": "2022-09-08"
    },
    {
      "version": "2.0.0",
      "date": "2022-10-10"
    },
    {
      "version": "2.0.1",
      "date": "2022-11-21"
    },
    {
      "version": "2.1.0",
      "date": "2022-12-25"
    },
    {
      "version": "2.2.1",
      "date": "2023-03-15"
    },
    {
      "version": "2.2.2",
      "date": "2023-04-21"
    },
    {
      "version": "2.2.3",
      "date": "2023-05-11"
    },
    {
      "version": "2.2.4",
      "date": "2023-05-20"
    },
    {
      "version": "2.2.5",
      "date": "2023-11-01"
    },
    {
      "version": "2.2.6",
      "date": "2024-11-14"
    },
    {
      "version": "3.0.0",
      "date": "2025-01-31"
    },
    {
      "version": "3.0.1",
      "date": "2025-07-03"
    },
    {
      "version": "3.0.2",
      "date": "2026-03-06"
    },
    {
      "version": "4.0.0",
      "date": "2026-06-03"
    }
  ],
  "_exports": [
    "scdata",
    "scdataMulti",
    "scest",
    "scpi",
    "scplot",
    "scplotMulti"
  ],
  "_datasets": [
    {
      "name": "scpi_germany",
      "title": "Replication Dataset for Estimating the Economic Impact of German Reunification",
      "object": "scpi_germany",
      "class": [
        "data.frame"
      ],
      "fields": [
        "index",
        "country",
        "year",
        "gdp",
        "infrate",
        "trade",
        "schooling",
        "industry"
      ],
      "rows": 748,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "scpi-package",
      "title": "'scpi': A Package to Compute Synthetic Control Prediction Intervals With Multiple Treated Units and Staggered Adoption",
      "topics": [
        "scpi-package"
      ]
    },
    {
      "page": "coef.scest",
      "title": "Coef Method for Synthetic Control Methods",
      "topics": [
        "coef.scest"
      ]
    },
    {
      "page": "coef.scpi",
      "title": "Coef Method for Synthetic Control Methods",
      "topics": [
        "coef.scpi"
      ]
    },
    {
      "page": "print.scdata",
      "title": "Summary Method for Synthetic Control",
      "topics": [
        "print.scdata"
      ]
    },
    {
      "page": "print.scdataMulti",
      "title": "Summary Method for Synthetic Control",
      "topics": [
        "print.scdataMulti"
      ]
    },
    {
      "page": "print.scest",
      "title": "Print Method for Synthetic Control Methods",
      "topics": [
        "print.scest"
      ]
    },
    {
      "page": "print.scpi",
      "title": "Print Method for Synthetic Control Inference",
      "topics": [
        "print.scpi"
      ]
    },
    {
      "page": "scdata",
      "title": "Data Preparation for 'scest' or 'scpi' for Point Estimation and Inference Procedures Using Synthetic Control Methods.",
      "topics": [
        "scdata"
      ]
    },
    {
      "page": "scdataMulti",
      "title": "Data Preparation for 'scest' or 'scpi' for Point Estimation and Inference Procedures Using Synthetic Control Methods.",
      "topics": [
        "scdataMulti"
      ]
    },
    {
      "page": "scest",
      "title": "Prediction of Synthetic Control",
      "topics": [
        "scest"
      ]
    },
    {
      "page": "scpi",
      "title": "Prediction Intervals for Synthetic Control Methods",
      "topics": [
        "scpi"
      ]
    },
    {
      "page": "scpi_germany",
      "title": "Replication Dataset for Estimating the Economic Impact of German Reunification",
      "topics": [
        "scpi_germany"
      ]
    },
    {
      "page": "scplot",
      "title": "Plot Synthetic Control Point Estimates and Prediction Interval",
      "topics": [
        "scplot"
      ]
    },
    {
      "page": "scplotMulti",
      "title": "Plot Synthetic Control Point Estimates and Prediction Interval With Multiple Treated units and Staggered Adoption",
      "topics": [
        "scplotMulti"
      ]
    },
    {
      "page": "summary.scdata",
      "title": "Summary Method for Synthetic Control Prediction",
      "topics": [
        "summary.scdata"
      ]
    },
    {
      "page": "summary.scdataMulti",
      "title": "Summary Method for Synthetic Control Prediction",
      "topics": [
        "summary.scdataMulti"
      ]
    },
    {
      "page": "summary.scest",
      "title": "Summary Method for Synthetic Control Prediction",
      "topics": [
        "summary.scest"
      ]
    },
    {
      "page": "summary.scpi",
      "title": "Summary Method for Synthetic Control Inference",
      "topics": [
        "summary.scpi"
      ]
    }
  ],
  "_rundeps": [
    "abind",
    "backports",
    "boot",
    "checkmate",
    "clarabel",
    "cli",
    "codetools",
    "conquer",
    "corpcor",
    "cpp11",
    "cubature",
    "CVXR",
    "data.table",
    "doSNOW",
    "dplyr",
    "ECOSolveR",
    "farver",
    "fastDummies",
    "foreach",
    "Formula",
    "generics",
    "ggplot2",
    "glmx",
    "glue",
    "gmp",
    "gtable",
    "gtools",
    "highs",
    "isoband",
    "iterators",
    "KernSmooth",
    "labeling",
    "lattice",
    "lifecycle",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "matrixStats",
    "mvtnorm",
    "np",
    "numDeriv",
    "osqp",
    "pillar",
    "pkgconfig",
    "plyr",
    "purrr",
    "Qtools",
    "quadprog",
    "quantdr",
    "quantreg",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reshape2",
    "rlang",
    "S7",
    "sandwich",
    "scales",
    "scs",
    "slam",
    "snow",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_score": 1.8260099777911003,
  "_indexed": true,
  "_nocasepkg": "scpi",
  "_universes": [
    "mdcattaneo",
    "nppackages"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "4.0.0",
      "date": "2026-06-03T13:32:23.000Z",
      "distro": "noble",
      "commit": "4e9a0089d9d48231cdde69f76520ac5927f319ee",
      "fileid": "e074e22533fe5bbc56e9bfe937e6f5692b3885c4d24e70e0c80718fe4996d269",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/26887804116"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "4.0.0",
      "date": "2026-06-03T13:32:22.000Z",
      "distro": "noble",
      "commit": "4e9a0089d9d48231cdde69f76520ac5927f319ee",
      "fileid": "a8e742360ef9a711573f4f70426b3f9e53d241d300777f896d078ca169f0a9c8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/26887804116"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "4.0.0",
      "date": "2026-06-03T13:33:17.000Z",
      "commit": "4e9a0089d9d48231cdde69f76520ac5927f319ee",
      "fileid": "17e789ba0f42e01c34950c396c6926e45e4d1d737ea7893cdd0a603c3f9e8de2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/26887804116"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "4.0.0",
      "date": "2026-06-03T13:37:24.000Z",
      "commit": "4e9a0089d9d48231cdde69f76520ac5927f319ee",
      "fileid": "fd0df5893cadfb5f4d39676155b56158d98489b5a073e1374065dc9c9c853a08",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/26887804116"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "4.0.0",
      "date": "2026-06-03T13:32:14.000Z",
      "commit": "4e9a0089d9d48231cdde69f76520ac5927f319ee",
      "fileid": "324e1d4be74ad54650344ee1e21a48768053adbda7f54afd9fc7e243bb3ffdb5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/26887804116"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "4.0.0",
      "date": "2026-06-03T13:30:58.000Z",
      "commit": "4e9a0089d9d48231cdde69f76520ac5927f319ee",
      "fileid": "b77e91e3bc75e4844eae529314f8807f9134f8ff25835e8e6d1b9e9810763f42",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/26887804116"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "4.0.0",
      "date": "2026-06-03T13:31:01.000Z",
      "commit": "4e9a0089d9d48231cdde69f76520ac5927f319ee",
      "fileid": "bdedf6a712ee8c4fb100602b05d924e59f20f4a396a8956cbc47114339ea637e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/26887804116"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "4.0.0",
      "date": "2026-06-03T13:31:14.000Z",
      "commit": "4e9a0089d9d48231cdde69f76520ac5927f319ee",
      "fileid": "3d1ad22947eb8ae964b60ee03c69cdd7b58fb2e54f2584f82d15957a42b8c3e0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/26887804116"
    }
  ]
}