Skip to content

Counterfactual

Estimation and Inference Methods for Counterfactual Analysis

v1.2 · Jan 31, 2020 · GPL (>= 2)

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

279

Last 30 days

15023rd

728

Last 90 days

3.1K

Last year

Trend: +10.7% (30d vs prior 30d)

CRAN Check Status

2 NOTE
12 OK
Show all 14 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-macos-arm64 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)
NOTE r-devel-linux-x86_64-debian-clang

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.
NOTE r-devel-linux-x86_64-debian-gcc

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 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

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 r-devel-linux-x86_64-debian-gcc

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.

Dependency Network

Dependencies Reverse dependencies quantreg survival Hmisc foreach doRNG doParallel Counterfactual

Version History

new 1.2 Mar 10, 2026
updated 1.2 ← 1.1 diff Jan 30, 2020
updated 1.1 ← 1.0 diff Jul 18, 2017
new 1.0 Sep 20, 2016