Package: qte 2.0.0

qte: Quantile Treatment Effects

Provides several methods for computing the Quantile Treatment Effect (QTE) and Quantile Treatment Effect on the Treated (QTT). The main cases covered are (i) treatment is randomly assigned, (ii) treatment is as good as randomly assigned after conditioning on covariates (selection on observables) using the methods of Firpo (2007) <doi:10.1111/j.1468-0262.2007.00738.x>, and (iii) identification is based on a Difference in Differences assumption, with support for several varieties including Athey and Imbens (2006) <doi:10.1111/j.1468-0262.2006.00668.x>, Callaway and Li (2019) <doi:10.3982/QE935>, and Callaway, Li, and Oka (2018) <doi:10.1016/j.jeconom.2018.06.008>. Version 2.0 adds a unified staggered treatment adoption API (built on 'ptetools') for all DiD-based estimators, as well as a new lagged-outcome unconfoundedness estimator ('lou_qte').

Authors:Brantly Callaway [aut, cre]

qte_2.0.0.tar.gz
qte_2.0.0.zip(r-4.7)qte_2.0.0.zip(r-4.6)qte_2.0.0.zip(r-4.5)
qte_2.0.0.tgz(r-4.6-any)qte_2.0.0.tgz(r-4.5-any)
qte_2.0.0.tar.gz(r-4.7-any)qte_2.0.0.tar.gz(r-4.6-any)
qte_2.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
qte/json (API)

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

Bug tracker:https://github.com/bcallaway11/qte/issues

Pkgdown/docs site:https://bcallaway11.github.io

Datasets:

On CRAN:

Conda:

quarto

6.34 score 11 stars 66 scripts 387 downloads 23 exports 54 dependencies

Last updated from:e3e207a6ce. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK198
source / vignettesOK914
linux-release-x86_64OK188
macos-release-arm64OK180
macos-oldrel-arm64OK145
windows-develOK200
windows-releaseOK153
windows-oldrelOK170
wasm-releaseOK166

Exports:ci.qteci.qtetcicCiCcic_gtddidddid_gtddid2ggqtelou_qttmdidMDiDmdid_gtpanel_qttpanel_qtt_gtpanel.qtetpanelize.dataqdidQDiDqdid_gtQTEQTEparamsunc_qte

Dependencies:BHbigmemorybigmemory.sriBMiscclicpp11data.tabledplyrDRDIDfarverfastglmFormulaformula.toolsgenericsggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixMatrixModelsoperator.toolspbapplypillarpkgconfigptetoolspurrrquantregR6RColorBrewerRcppRcppArmadilloRcppEigenrlangS7scalesSparseMsplines2stringistringrsurvivaltibbletidyrtidyselecttrustutf8uuidvctrsviridisLitewithr

Quantile Treatment Effects in R
What are Quantile Treatment Effects? | Random assignment | Unconfoundedness | QTT under unconfoundedness | Reading the output | References

Last update: 2026-05-25
Started: 2026-05-23

Panel Data Estimators for Quantile Treatment Effects
Overview | Change in Changes — cic() | Quantile Difference-in-Differences — qdid() | Panel QTT — panel_qtt() | Distributional DiD — ddid() | Mean Difference-in-Differences — mdid() | Lagged-Outcome Unconfoundedness — lou_qtt() | Summary | References

Last update: 2026-05-25
Started: 2026-05-25

Staggered Treatment Adoption with the qte Package
Introduction | QTT curve estimation | Overall QTT curve | Dynamic QTT — event-study by quantile | ATT and event-study summary | Comparing estimators | Repeated cross sections | Inference notes | References

Last update: 2026-05-25
Started: 2026-05-23