Package: Counterfactual 1.2

Counterfactual: Estimation and Inference Methods for Counterfactual Analysis

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.

Authors:Mingli Chen, Victor Chernozhukov, Ivan Fernandez-Val, Blaise Melly

Counterfactual_1.2.tar.gz
Counterfactual_1.2.zip(r-4.5)Counterfactual_1.2.zip(r-4.4)Counterfactual_1.2.zip(r-4.3)
Counterfactual_1.2.tgz(r-4.5-any)Counterfactual_1.2.tgz(r-4.4-any)Counterfactual_1.2.tgz(r-4.3-any)
Counterfactual_1.2.tar.gz(r-4.5-noble)Counterfactual_1.2.tar.gz(r-4.4-noble)
Counterfactual_1.2.tgz(r-4.4-emscripten)Counterfactual_1.2.tgz(r-4.3-emscripten)
Counterfactual.pdf |Counterfactual.html
Counterfactual/json (API)

# Install 'Counterfactual' in R:
install.packages('Counterfactual', repos = c('https://ivanfernandezval.r-universe.dev', 'https://cloud.r-project.org'))
Datasets:

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

2.48 score 3 stars 10 scripts 223 downloads 6 exports 75 dependencies

Last updated 5 years agofrom:08d0b45dc8. Checks:9 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 20 2025
R-4.5-winOKMar 20 2025
R-4.5-macOKMar 20 2025
R-4.5-linuxOKMar 20 2025
R-4.4-winOKMar 20 2025
R-4.4-macOKMar 20 2025
R-4.4-linuxOKMar 20 2025
R-4.3-winOKMar 20 2025
R-4.3-macOKMar 20 2025

Exports:BootstrapProcedurecounterfactualInferenceTestingEvalQteDistEstTestingEvalVarianceEval

Dependencies:backportsbase64encbslibcachemcheckmatecliclustercodetoolscolorspacedata.tabledigestdoParalleldoRNGevaluatefansifarverfastmapfontawesomeforeachforeignFormulafsggplot2gluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobanditeratorsjquerylibjsonliteknitrlabelinglatticelifecyclemagrittrMASSMatrixMatrixModelsmemoisemgcvmimemunsellnlmennetpillarpkgconfigquantregR6rappdirsRColorBrewerrlangrmarkdownrngtoolsrpartrstudioapisassscalesSparseMstringistringrsurvivaltibbletinytexutf8vctrsviridisviridisLitewithrxfunyaml

Using Animal

Rendered fromvignette.Rnwusingutils::Sweaveon Mar 20 2025.

Last update: 2020-01-31
Started: 2016-09-21

Readme and manuals

Help Manual

Help pageTopics
Estimation and Inference Methods for Counterfactual AnalysisBootstrapProcedure counterfactual InferenceTestingEval QteDistEst TestingEval VarianceEval
NLSW, 1988 extractnlsw88