Skip to content

DiSCos

0.1.4

Distributional Synthetic Controls Estimation

0packages depend
4.5Kdownloads / year
82.6%test coverage
13/13checks pass

Overview

About
Maintained by David Van DijckeFirst published 2024-03-146 releasesCRAN page ↗GitHub ↗

The method of synthetic controls is a widely-adopted tool for evaluating causal effects of policy changes in settings with observational data. In many settings where it is applicable, researchers want to identify causal effects of policy changes on a treated unit at an aggregate level while having access to data at a finer granularity. This package implements a simple extension of the synthetic controls estimator, developed in Gunsilius (2023) doi:10.3982/ECTA18260, that takes advantage of this additional structure and provides nonparametric estimates of the heterogeneity within the aggregate unit. The idea is to replicate the quantile function associated with the treated unit by a weighted average of quantile functions of the control units. The package contains tools for aggregating and plotting the resulting distributional estimates, as well as for carrying out inference on them.

Install

Health

CRAN checks
13OK
Slowest check: 4.0 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.23
82.6%
Coverage · measured lines
100%
Documentation · exports
10
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-23
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-22
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-06-01
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 11 earlier snapshots
  • ERROR2026-05-29
    11 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE
  • OK2026-05-06
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-05-04
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-09
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-02
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-25
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-03-22
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-21
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-03-20
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-15
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-03-10
    12 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 439 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
0%
Documented parameters
100%
Return-value docs
100%
References docs
14%

Downloads

4.5K
CRAN downloads in the past year
Rank #6,811 · ~12/day · ~375/mo
Daily download trend is not available in this view yet.
26830 days
1.2K90 days
4.5K1 year
Compare downloads with other packages →
Also on150 r2u

Repository

Repository
5Stars
5Forks
2Open issues
1Open PRs
7Releases
117Commits
4Contributors
117 commits · Last activity 2026-08-05 · 0% stars, 30d

Stars over time

2025-07-03 · 32026-07-07 · 5

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/davidvandijcke/discos on 2026-08-16.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
14 external dependencies (excludes base and recommended)
Depends (3)
Imports (8)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (3)
Author, Maintainer
Author
Package Timeline

6 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 0.1.4Latest
    2026-07-13 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.3
    2026-03-07 · diff ↗
  • 0.1.2
    2026-02-04 · diff ↗
  • unarchivedReturned to CRAN
    2026-02-04
  • archivedRemoved from CRAN
    2025-11-07
    issues were not corrected despite reminders
  • R
    R 4.5.0 released · 2025-04-11
  • 0.1.1
    2024-07-23 · diff ↗
  • 0.1.0
    2024-05-13 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.0.1
    2024-03-14
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2024-03-14
Total releases
6 / 2 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 2.10
Bundled data
1.4 MB / 1 file
Download size
1.9 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("DiSCos")
Van Dijcke, D., Gunsilius, F., & He, S. (2026). DiSCos: Distributional Synthetic Controls Estimation (Version 0.1.4) [Computer software]. https://doi.org/10.32614/CRAN.package.DiSCos

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 DiSCos version 0.1.4 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, 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