Package: qte 2.1.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_qtt').

Authors:Brantly Callaway [aut, cre]

qte_2.1.0.tar.gz
qte_2.1.0.zip(r-4.7-any)qte_2.1.0.zip(r-4.6-any)qte_2.1.0.zip(r-4.5-any)
qte_2.1.0.tgz(r-4.6-any)qte_2.1.0.tgz(r-4.5-any)
qte_2.1.0.tar.gz(r-4.7-any)qte_2.1.0.tar.gz(r-4.6-any)
qte_2.1.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

5.99 score 13 stars 623 downloads 14 exports 48 dependencies

Last updated from:1900739e93. Checks:7 OK, 2 ERROR. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK223
source / vignettesOK244
linux-releaseOK219
macos-releaseERROR206
macos-oldrelERROR250
windows-develOK201
windows-releaseOK246
windows-oldrelOK212
wasm-releaseOK115

Exports:ciccic_gtddidddid_gtlou_qttmdidmdid_gtpanel_qttpanel_qtt_gtqdidqdid_gtQTEQTEparamsunc_qte

Dependencies:BHbigmemorybigmemory.sriBMiscclicpp11data.tabledplyrDRDIDfarverfastglmFormulagenericsggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixMatrixModelspbapplypillarpkgconfigptetoolsquantregR6RColorBrewerRcppRcppArmadilloRcppEigenrlangS7scalesSparseMsplines2survivaltibbletidyselecttrustutf8uuidvctrsviridisLitewithr

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-07-23
Started: 2026-05-25

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

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

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-07-23
Started: 2026-05-23