{
  "_id": "6a2c1e583efcd9bda42d5ad0",
  "Package": "coresynth",
  "Title": "Fast and Unified Synthetic Control Methods",
  "Version": "0.2.0",
  "Authors@R": "person(\"Yosuke Abe\", role = c(\"aut\", \"cre\"),\nemail = \"yosuke.abe0507@gmail.com\")",
  "Description": "A unified 'Formula' interface to the Synthetic Control\nMethod (SCM) and related panel-data causal inference\nestimators: Synthetic Difference-in-Differences (SDID),\nGeneralized Synthetic Control (GSC), Matrix Completion (MC),\nTime-Aware Synthetic Control (TASC), and Synthetic\nInterventions (SI), together with an experimental-design\nvariant. Computational bottlenecks (quadratic programming,\nsingular value decomposition, and Kalman filtering) are\nimplemented in 'C++' via 'RcppArmadillo'. Methods are described\nin Abadie, Diamond and Hainmueller (2010)\n<doi:10.1198/jasa.2009.ap08746>, Arkhangelsky, Athey,\nHirshberg, Imbens and Wager (2021) <doi:10.1257/aer.20190159>,\nXu (2017) <doi:10.1017/pan.2016.2>, Athey, Bayati, Doudchenko,\nImbens and Khosravi (2021) <doi:10.1080/01621459.2021.1891924>,\nand Agarwal, Shah and Shen (2025) <doi:10.1287/opre.2025.1590>.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/yo5uke/coresynth, https://yo5uke.com/coresynth/",
  "BugReports": "https://github.com/yo5uke/coresynth/issues",
  "Encoding": "UTF-8",
  "Config/roxygen2/markdown": "TRUE",
  "RoxygenNote": "8.0.0",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-12 14:52:28 UTC",
    "User": "root"
  },
  "Author": "Yosuke Abe [aut, cre]",
  "Maintainer": "Yosuke Abe <yosuke.abe0507@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-06-12 10:10:02 UTC",
  "RemoteUrl": "https://github.com/cran/coresynth",
  "RemoteRef": "HEAD",
  "RemoteSha": "07bc3137aea2772cbbd368721cb6f434924eab90",
  "MD5sum": "483fc6e4f7fec4e728ab6bcc1013c955",
  "_user": "cran",
  "_type": "src",
  "_file": "coresynth_0.2.0.tar.gz",
  "_fileid": "2d28742ae57751032a2b60026e84cda2c8abc5d467d2abc11b44ea49ef0ca647",
  "_filesize": 1439466,
  "_sha256": "2d28742ae57751032a2b60026e84cda2c8abc5d467d2abc11b44ea49ef0ca647",
  "_created": "2026-06-12T14:52:28.000Z",
  "_published": "2026-06-12T14:57:28.684Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81055058215,
      "time": 184,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7594907353"
    },
    {
      "job": 81055058237,
      "time": 216,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7594919034"
    },
    {
      "job": 81055058234,
      "time": 195,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7594910684"
    },
    {
      "job": 81055058235,
      "time": 183,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7594905527"
    },
    {
      "job": 81054223738,
      "time": 248,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7594830787"
    },
    {
      "job": 81055058260,
      "time": 151,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7594893136"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27423255393",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/coresynth",
  "_commit": {
    "id": "07bc3137aea2772cbbd368721cb6f434924eab90",
    "author": "Yosuke Abe <yosuke.abe0507@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.2.0\n",
    "time": 1781259002
  },
  "_maintainer": {
    "name": "Yosuke Abe",
    "email": "yosuke.abe0507@gmail.com",
    "login": "yo5uke",
    "bluesky": "@5uke.bsky.social",
    "twitter": "@5uke_y",
    "description": "",
    "uuid": 141737272
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "Formula",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "broom",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-24",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.2.0",
      "date": "2026-06-12"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "yo5uke",
      "count": 1,
      "uuid": 141737272
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/coresynth"
  },
  "_devurl": "https://github.com/yo5uke/coresynth",
  "_pkgdown": "https://yo5uke.com/coresynth/",
  "_searchresults": 7,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/coresynth.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2026-06-12"
    }
  ],
  "_exports": [
    "augment_scm",
    "conformal_inference",
    "export_json",
    "gsc_boot",
    "gsc_ife_cpp",
    "gsc_inference",
    "kalman_smoother_cpp",
    "mspe_ratio_pval",
    "pred",
    "scm_design",
    "scm_fit",
    "scm_inner_weights_cpp",
    "scm_placebo_cpp",
    "scm_weights_cpp",
    "sdid_estimate_cpp",
    "sdid_inference",
    "sdid_placebo_cpp",
    "sdid_time_weights_cpp",
    "sdid_unit_weights_cpp",
    "si_inference",
    "si_pcr_cpp",
    "soft_impute_cpp",
    "tensor_unfold_cpp"
  ],
  "_help": [
    {
      "page": "augment_scm",
      "title": "Augmented Synthetic Control Method (Ridge ASCM)",
      "topics": [
        "augment_scm"
      ]
    },
    {
      "page": "conformal_inference",
      "title": "Conformal Inference for Synthetic Control Estimators",
      "topics": [
        "conformal_inference"
      ]
    },
    {
      "page": "export_json",
      "title": "Export coresynth Results to JSON",
      "topics": [
        "export_json"
      ]
    },
    {
      "page": "glance.coresynth_inference",
      "title": "Glance at an inference result",
      "topics": [
        "glance.coresynth_inference"
      ]
    },
    {
      "page": "gsc_boot",
      "title": "Parametric Bootstrap Inference for GSC (Xu 2017 §3)",
      "topics": [
        "gsc_boot"
      ]
    },
    {
      "page": "gsc_ife_cpp",
      "title": "Fast Interactive Fixed Effects (IFE) for Generalized Synthetic Control",
      "topics": [
        "gsc_ife_cpp"
      ]
    },
    {
      "page": "gsc_inference",
      "title": "Non-parametric Inference for GSC (Xu 2017)",
      "topics": [
        "gsc_inference"
      ]
    },
    {
      "page": "kalman_smoother_cpp",
      "title": "Kalman Filter and RTS Smoother (TASC)",
      "topics": [
        "kalman_smoother_cpp"
      ]
    },
    {
      "page": "mspe_ratio_pval",
      "title": "Permutation Inference via MSPE Ratio for SCM",
      "topics": [
        "mspe_ratio_pval"
      ]
    },
    {
      "page": "plot.coresynth",
      "title": "Plot a coresynth model",
      "topics": [
        "plot.coresynth"
      ]
    },
    {
      "page": "plot.scm_design",
      "title": "Plot an scm_design object",
      "topics": [
        "plot.scm_design"
      ]
    },
    {
      "page": "pred",
      "title": "Predictor Specification for SCM",
      "topics": [
        "pred"
      ]
    },
    {
      "page": "scm_design",
      "title": "Experimental Synthetic Control Design",
      "topics": [
        "scm_design"
      ]
    },
    {
      "page": "scm_fit",
      "title": "Fit a Synthetic Control Method Model",
      "topics": [
        "scm_fit"
      ]
    },
    {
      "page": "scm_inner_weights_cpp",
      "title": "SCM Inner Weights (QP Given V)",
      "topics": [
        "scm_inner_weights_cpp"
      ]
    },
    {
      "page": "scm_placebo_cpp",
      "title": "Fast Leave-One-Out Placebo Test for SCM (Abadie et al. 2010)",
      "topics": [
        "scm_placebo_cpp"
      ]
    },
    {
      "page": "scm_weights_cpp",
      "title": "SCM Outer Weights (Joint Optimization of W and V)",
      "topics": [
        "scm_weights_cpp"
      ]
    },
    {
      "page": "sdid_estimate_cpp",
      "title": "Calculate SDID Estimate (tau_sdid)",
      "topics": [
        "sdid_estimate_cpp"
      ]
    },
    {
      "page": "sdid_inference",
      "title": "Inference for Synthetic Difference-in-Differences",
      "topics": [
        "sdid_inference"
      ]
    },
    {
      "page": "sdid_placebo_cpp",
      "title": "Fast Placebo Test for SDID",
      "topics": [
        "sdid_placebo_cpp"
      ]
    },
    {
      "page": "sdid_time_weights_cpp",
      "title": "Calculate SDID Time Weights (lambda)",
      "topics": [
        "sdid_time_weights_cpp"
      ]
    },
    {
      "page": "sdid_unit_weights_cpp",
      "title": "Calculate SDID Unit Weights (omega)",
      "topics": [
        "sdid_unit_weights_cpp"
      ]
    },
    {
      "page": "si_inference",
      "title": "Non-parametric Inference for SI (Agarwal et al. 2025)",
      "topics": [
        "si_inference"
      ]
    },
    {
      "page": "si_pcr_cpp",
      "title": "SI-PCR: Synthetic Interventions via Principal Component Regression",
      "topics": [
        "si_pcr_cpp"
      ]
    },
    {
      "page": "soft_impute_cpp",
      "title": "Fast Matrix Completion using Soft-Impute Algorithm",
      "topics": [
        "soft_impute_cpp"
      ]
    },
    {
      "page": "tensor_unfold_cpp",
      "title": "Tensor Unfolding (Matricization) for Synthetic Interventions",
      "topics": [
        "tensor_unfold_cpp"
      ]
    },
    {
      "page": "tidy.coresynth_inference",
      "title": "Tidy an inference result",
      "topics": [
        "tidy.coresynth_inference"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/coresynth/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cran/coresynth/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "broom",
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "Formula",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "jsonlite",
    "labeling",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "coresynth.Rmd",
      "filename": "coresynth.html",
      "title": "Get started with coresynth",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The unified formula",
        "A toy panel",
        "Fitting one method",
        "Comparing all six methods",
        "Visualizing a fit",
        "tidy / glance / augment",
        "Where to next"
      ],
      "created": "2026-06-12 10:10:02",
      "modified": "2026-06-12 10:10:02",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "coresynth",
  "_universes": [
    "cran",
    "yo5uke"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-06-12T14:55:16.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "07bc3137aea2772cbbd368721cb6f434924eab90",
      "fileid": "ca673ac51b782dc427d465e876e86fc76c9bc534ec6b6f6fa724c42516c140ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27423255393"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-06-12T14:55:45.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "07bc3137aea2772cbbd368721cb6f434924eab90",
      "fileid": "2c809b3e0cb5dbcfc895fbafab0eb25c97ea88f9027bd7cc1a2cc88eae6935e4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27423255393"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-06-12T14:55:22.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "07bc3137aea2772cbbd368721cb6f434924eab90",
      "fileid": "cdddec5859b6511e512c12c8b16810292cda3295ffb98aecadeed359d87e07ac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27423255393"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-06-12T14:55:17.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "07bc3137aea2772cbbd368721cb6f434924eab90",
      "fileid": "86ddfedc6841250b4570b71e42eaa4d44086ac43421be554db23c3a05fcc8105",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27423255393"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-06-12T14:55:21.000Z",
      "arch": "emscripten",
      "commit": "07bc3137aea2772cbbd368721cb6f434924eab90",
      "fileid": "c2c8f4953ebab1bece47824d1f2879a0d123ca5b566a9f3726966e786258b608",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27423255393"
    }
  ]
}