Skip to content

qte

2.0.0

Quantile Treatment Effects

1packages depend
5.8Kdownloads / year
50.3%test coverage
13/13checks pass

Overview

About
Maintained by Brantly CallawayFirst published 2015-05-017 releasesCRAN page ↗GitHub ↗

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').

Install

Health

CRAN checks
13OK
Slowest check: 5.8 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 0.13
50.3%
Coverage · measured lines
100%
Documentation · exports
9
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-07-24
    7 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-06-12
    11 OK · 0 NOTE · 2 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 4 earlier snapshots
  • ERROR2026-06-07
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-02
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-25
    11 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 512 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
33%
Documented parameters
100%
Return-value docs
96%
References docs
33%

Downloads

5.8K
CRAN downloads in the past year
Rank #8,272 · ~16/day · ~480/mo
Daily download trend is not available in this view yet.
36330 days
1.1K90 days
5.8K1 year
Compare downloads with other packages →
Also on118 r2u4 autocran32 c2d4u

Repository

Repository
12Stars
8Forks
6Open issues
0Open PRs
0Releases
181Commits
3Contributors
181 commits · Last activity 2026-07-23 · 0% stars, 30d

Stars over time

2026-07-24 · 112026-07-26 · 12

Repository practices

Upstream repositoryBeta

6 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/bcallaway11/qte on 2026-08-23.

Continuous integration (1)
GitHub Actions
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Docs source (1)
README.qmd
Research and citation (1)
CITATION.cff
Show all practices
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Development tooling

AI-assisted toolingBeta

Uses AI-assisted development tooling (declared in repo)

Earliest detected marker: claude on 2026-05-18

claude

Most recent: claude on 2026-05-18

Evidence
  • claude: on 2026-05-18 · evidence B, D
  • agents-md: on 2026-05-18 · evidence D
How this is detected·Detection ruleset v2 (updated 2026-07-29)

Dependencies

Declared dependencies
14 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

Datasets

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

7 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 2.0.0Latest
    2026-07-23 · current release · diff ↗
  • unarchivedReturned to CRAN
    2026-07-23
  • archivedRemoved from CRAN
    2026-07-16
    issues were not corrected despite reminders
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 1.3.1
    2022-09-01 · diff ↗
  • unarchivedReturned to CRAN
    2022-09-01
  • archivedRemoved from CRAN
    2022-07-09
    requires archived package 'BMisc'
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 1.3.0
    2019-06-10 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 1.2.2
    2018-04-30 · diff ↗
Show 7 earlier events
  • R
    R 3.5.0 released · 2018-04-23
  • 1.2.1
    2018-02-26 · diff ↗
  • 1.2.0
    2017-06-19 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • 1.0.1
    2015-05-01
  • R
    R 3.2.0 released · 2015-04-16

Package metadata

First published
2015-05-01
Total releases
7 / 11 yrs
License
GPL-3 OSI
Minimum R
≥ 3.5
Bundled data
29 KB / 1 file
Download size
1.5 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("qte")

The authors publish a CITATION.cff, so they have said how they want this cited. Run citation() and use what it gives you.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for qte version 2.0.0 [Data set]. HJJB, LLC. Data release v2026-08-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy