Counterfactual
Estimation and Inference Methods for Counterfactual Analysis
Description
Implements the estimation and inference methods for counterfactual analysis described in Chernozhukov, Fernandez-Val and Melly (2013) <DOI:10.3982/ECTA10582> "Inference on Counterfactual Distributions," Econometrica, 81(6). The counterfactual distributions considered are the result of changing either the marginal distribution of covariates related to the outcome variable of interest, or the conditional distribution of the outcome given the covariates. They can be applied to estimate quantile treatment effects and wage decompositions.
Downloads
304
Last 30 days
12952nd
949
Last 90 days
3.1K
Last year
Trend: +3.8% (30d vs prior 30d)
10
Last 30 days
29
Last 90 days
127
Last year
Trend: -41.2% (30d vs prior 30d)
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | NOTE |
| r-devel-linux-x86_64-debian-gcc | NOTE |
| 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 details (2 non-OK)
CRAN incoming feasibility
Maintainer: ‘Ivan Fernandez-Val <ivanf@bu.edu>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Mingli",
family = "Chen",
role = "aut"),
person(given = "Victor",
family = "Chernozhukov",
role = "aut"),
person(given = "Ivan",
family = "Fernandez-Val",
role = c("aut", "cre"),
email = "ivanf@bu.edu"),
person(given = "Blaise",
family = "Melly",
role = "aut"))
as necessary.
CRAN incoming feasibility
Maintainer: ‘Ivan Fernandez-Val <ivanf@bu.edu>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Mingli",
family = "Chen",
role = "aut"),
person(given = "Victor",
family = "Chernozhukov",
role = "aut"),
person(given = "Ivan",
family = "Fernandez-Val",
role = c("aut", "cre"),
email = "ivanf@bu.edu"),
person(given = "Blaise",
family = "Melly",
role = "aut"))
as necessary.
Check History
NOTE 11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
CRAN incoming feasibility
Maintainer: ‘Ivan Fernandez-Val <ivanf@bu.edu>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Mingli",
family = "Chen",
role = "aut"),
person(gi
...[truncated]...
family = "Fernandez-Val",
role = c("aut", "cre"),
email = "ivanf@bu.edu"),
person(given = "Blaise",
family = "Melly",
role = "aut"))
as necessary.
CRAN incoming feasibility
Maintainer: ‘Ivan Fernandez-Val <ivanf@bu.edu>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Mingli",
family = "Chen",
role = "aut"),
person(gi
...[truncated]...
family = "Fernandez-Val",
role = c("aut", "cre"),
email = "ivanf@bu.edu"),
person(given = "Blaise",
family = "Melly",
role = "aut"))
as necessary.
ERROR 11 OK · 1 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
CRAN incoming feasibility
Maintainer: ‘Ivan Fernandez-Val <ivanf@bu.edu>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Mingli",
family = "Chen",
role = "aut"),
person(gi
...[truncated]...
family = "Fernandez-Val",
role = c("aut", "cre"),
email = "ivanf@bu.edu"),
person(given = "Blaise",
family = "Melly",
role = "aut"))
as necessary.
CRAN incoming feasibility
Maintainer: ‘Ivan Fernandez-Val <ivanf@bu.edu>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Mingli",
family = "Chen",
role = "aut"),
person(gi
...[truncated]...
family = "Fernandez-Val",
role = c("aut", "cre"),
email = "ivanf@bu.edu"),
person(given = "Blaise",
family = "Melly",
role = "aut"))
as necessary.
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
CRAN incoming feasibility
Maintainer: ‘Ivan Fernandez-Val <ivanf@bu.edu>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Mingli",
family = "Chen",
role = "aut"),
person(gi
...[truncated]...
family = "Fernandez-Val",
role = c("aut", "cre"),
email = "ivanf@bu.edu"),
person(given = "Blaise",
family = "Melly",
role = "aut"))
as necessary.
CRAN incoming feasibility
Maintainer: ‘Ivan Fernandez-Val <ivanf@bu.edu>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Mingli",
family = "Chen",
role = "aut"),
person(gi
...[truncated]...
family = "Fernandez-Val",
role = c("aut", "cre"),
email = "ivanf@bu.edu"),
person(given = "Blaise",
family = "Melly",
role = "aut"))
as necessary.