Skip to content

qte

Quantile Treatment Effects

v1.3.1 · Sep 1, 2022 · GPL-2

Description

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 some covariates (also called conditional independence or selection on observables) using the methods developed in Firpo (2007) <doi:10.1111/j.1468-0262.2007.00738.x>, (iii) Identification is based on a Difference in Differences assumption (several varieties are available in the package e.g. Athey and Imbens (2006) <doi:10.1111/j.1468-0262.2006.00668.x> Callaway and Li (2019) <doi:10.3982/QE935>, Callaway, Li, and Oka (2018) <doi:10.1016/j.jeconom.2018.06.008>).

Downloads

CRAN

354

Last 30 days

11224th

1.1K

Last 90 days

5.8K

Last year

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

r2u

9

Last 30 days

24

Last 90 days

92

Last year

Trend: -40% (30d vs prior 30d)

CRAN Check Status

9 WARNING
4 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang WARNING
r-devel-linux-x86_64-debian-gcc WARNING
r-devel-linux-x86_64-fedora-clang WARNING
r-devel-linux-x86_64-fedora-gcc WARNING
r-devel-windows-x86_64 WARNING
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 WARNING
r-patched-linux-x86_64 WARNING
r-release-linux-x86_64 WARNING
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 WARNING
Check details (9 non-OK)
WARNING r-devel-linux-x86_64-debian-clang

examples

Found the following significant warnings:

  Warning in rhs.vars(xformla) : 'rhs.vars' is deprecated.
  Warning in rhs.vars(xformla) : 'rhs.vars' is deprecated.
  Warning in BMisc::rhs.vars(xformla) : 'BMisc::rhs.vars' is deprecated.
  Warning in makeDist(p.dy.seq, distvals) : 'makeDist' is deprecated.
  Warning in BMisc::rhs.vars(xformla) : 'BMisc::rhs.vars' is deprecated.
  Warning in BMisc::rhs.vars(xformla) : 'BMisc::rhs.vars' is deprecated.
Deprecated functions may be defunct as soon as of the next release of
R.
See ?Deprecated.
WARNING r-devel-linux-x86_64-debian-gcc

examples

Found the following significant warnings:

  Warning in rhs.vars(xformla) : 'rhs.vars' is deprecated.
  Warning in rhs.vars(xformla) : 'rhs.vars' is deprecated.
  Warning in BMisc::rhs.vars(xformla) : 'BMisc::rhs.vars' is deprecated.
  Warning in makeDist(p.dy.seq, distvals) : 'makeDist' is deprecated.
  Warning in BMisc::rhs.vars(xformla) : 'BMisc::rhs.vars' is deprecated.
  Warning in BMisc::rhs.vars(xformla) : 'BMisc::rhs.vars' is deprecated.
Deprecated functions may be defunct as soon as of the next release of
R.
See ?Deprecated.
WARNING r-devel-linux-x86_64-fedora-clang

examples

Found the following significant warnings:

  Warning in rhs.vars(xformla) : 'rhs.vars' is deprecated.
  Warning in rhs.vars(xformla) : 'rhs.vars' is deprecated.
  Warning in BMisc::rhs.vars(xformla) : 'BMisc::rhs.vars' is deprecated.
  Warning in makeDist(p.dy.seq, distvals) : 'makeDist' is deprecated.
  Warning in BMisc::rhs.vars(xformla) : 'BMisc::rhs.vars' is deprecated.
  Warning in BMisc::rhs.vars(xformla) : 'BMisc::rhs.vars' is deprecated.
Deprecated functions may be defunct as soon as of the next release of
R.
See ?Deprecated.
WARNING r-devel-linux-x86_64-fedora-gcc

examples

Found the following significant warnings:

  Warning in rhs.vars(xformla) : 'rhs.vars' is deprecated.
  Warning in rhs.vars(xformla) : 'rhs.vars' is deprecated.
  Warning in BMisc::rhs.vars(xformla) : 'BMisc::rhs.vars' is deprecated.
  Warning in makeDist(p.dy.seq, distvals) : 'makeDist' is deprecated.
  Warning in BMisc::rhs.vars(xformla) : 'BMisc::rhs.vars' is deprecated.
  Warning in BMisc::rhs.vars(xformla) : 'BMisc::rhs.vars' is deprecated.
Deprecated functions may be defunct as soon as of the next release of
R.
See ?Deprecated.
WARNING r-devel-windows-x86_64

examples

Found the following significant warnings:

  Warning in rhs.vars(xformla) : 'rhs.vars' is deprecated.
  Warning in rhs.vars(xformla) : 'rhs.vars' is deprecated.
  Warning in BMisc::rhs.vars(xformla) : 'BMisc::rhs.vars' is deprecated.
  Warning in makeDist(p.dy.seq, distvals) : 'makeDist' is deprecated.
  Warning in BMisc::rhs.vars(xformla) : 'BMisc::rhs.vars' is deprecated.
  Warning in BMisc::rhs.vars(xformla) : 'BMisc::rhs.vars' is deprecated.
Deprecated functions may be defunct as soon as of the next release of
R.
See ?Deprecated.
WARNING r-oldrel-windows-x86_64

examples

Found the following significant warnings:

  Warning in rhs.vars(xformla) : 'rhs.vars' is deprecated.
  Warning in rhs.vars(xformla) : 'rhs.vars' is deprecated.
  Warning in BMisc::rhs.vars(xformla) : 'BMisc::rhs.vars' is deprecated.
  Warning in makeDist(p.dy.seq, distvals) : 'makeDist' is deprecated.
  Warning in BMisc::rhs.vars(xformla) : 'BMisc::rhs.vars' is deprecated.
  Warning in BMisc::rhs.vars(xformla) : 'BMisc::rhs.vars' is deprecated.
Deprecated functions may be defunct as soon as of the next release of
R.
See ?Deprecated.
WARNING r-patched-linux-x86_64

examples

Found the following significant warnings:

  Warning in rhs.vars(xformla) : 'rhs.vars' is deprecated.
  Warning in rhs.vars(xformla) : 'rhs.vars' is deprecated.
  Warning in BMisc::rhs.vars(xformla) : 'BMisc::rhs.vars' is deprecated.
  Warning in makeDist(p.dy.seq, distvals) : 'makeDist' is deprecated.
  Warning in BMisc::rhs.vars(xformla) : 'BMisc::rhs.vars' is deprecated.
  Warning in BMisc::rhs.vars(xformla) : 'BMisc::rhs.vars' is deprecated.
Deprecated functions may be defunct as soon as of the next release of
R.
See ?Deprecated.
WARNING r-release-linux-x86_64

examples

Found the following significant warnings:

  Warning in rhs.vars(xformla) : 'rhs.vars' is deprecated.
  Warning in rhs.vars(xformla) : 'rhs.vars' is deprecated.
  Warning in BMisc::rhs.vars(xformla) : 'BMisc::rhs.vars' is deprecated.
  Warning in makeDist(p.dy.seq, distvals) : 'makeDist' is deprecated.
  Warning in BMisc::rhs.vars(xformla) : 'BMisc::rhs.vars' is deprecated.
  Warning in BMisc::rhs.vars(xformla) : 'BMisc::rhs.vars' is deprecated.
Deprecated functions may be defunct as soon as of the next release of
R.
See ?Deprecated.
WARNING r-release-windows-x86_64

examples

Found the following significant warnings:

  Warning in rhs.vars(xformla) : 'rhs.vars' is deprecated.
  Warning in rhs.vars(xformla) : 'rhs.vars' is deprecated.
  Warning in BMisc::rhs.vars(xformla) : 'BMisc::rhs.vars' is deprecated.
  Warning in makeDist(p.dy.seq, distvals) : 'makeDist' is deprecated.
  Warning in BMisc::rhs.vars(xformla) : 'BMisc::rhs.vars' is deprecated.
  Warning in BMisc::rhs.vars(xformla) : 'BMisc::rhs.vars' is deprecated.
Deprecated functions may be defunct as soon as of the next release of
R.
See ?Deprecated.

Check History

WARNING 11 OK · 0 NOTE · 2 WARNING · 0 ERROR · 0 FAILURE Jun 12, 2026
WARNING r-devel-linux-x86_64-fedora-clang

examples

Found the following significant warnings:

  Warning in rhs.vars(xformla) : 'rhs.vars' is deprecated.
  Warning in rhs.vars(xformla) : 'rhs.vars' is deprecated.
  Warning in BMisc::rhs.vars(xformla) : 'BMisc::rhs.vars' is deprecated.
  Warning in mak
...[truncated]...
is deprecated.
  Warning in BMisc::rhs.vars(xformla) : 'BMisc::rhs.vars' is deprecated.
  Warning in BMisc::rhs.vars(xformla) : 'BMisc::rhs.vars' is deprecated.
Deprecated functions may be defunct as soon as of the next release of
R.
See ?Deprecated.
WARNING r-devel-linux-x86_64-fedora-gcc

examples

Found the following significant warnings:

  Warning in rhs.vars(xformla) : 'rhs.vars' is deprecated.
  Warning in rhs.vars(xformla) : 'rhs.vars' is deprecated.
  Warning in BMisc::rhs.vars(xformla) : 'BMisc::rhs.vars' is deprecated.
  Warning in mak
...[truncated]...
is deprecated.
  Warning in BMisc::rhs.vars(xformla) : 'BMisc::rhs.vars' is deprecated.
  Warning in BMisc::rhs.vars(xformla) : 'BMisc::rhs.vars' is deprecated.
Deprecated functions may be defunct as soon as of the next release of
R.
See ?Deprecated.
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 7, 2026
ERROR r-devel-linux-x86_64-debian-gcc

PDF version of manual

Rd conversion errors:
Converting parsed Rd's to LaTeX Warning in file(out, "wt") :
  cannot open file '/tmp/RtmprhnzQN/ltx39dc9048117425/QTEparams.tex': No space left on device
Error in file(out, "wt") : cannot open the connection
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 2, 2026
ERROR 11 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 25, 2026
ERROR r-release-macos-x86_64

package dependencies

Package required but not available: ‘BMisc’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (1)

suggests

Dependency Network

Dependencies Reverse dependencies Hmisc quantreg BMisc formula.tools ggplot2 texreg pbapply data.table sccic qte

Version History

7 tracked
new 1.3.1 Mar 10, 2026
updated 1.3.1 ← 1.3.0 diff Aug 31, 2022
updated 1.3.0 ← 1.2.2 diff Jun 9, 2019
updated 1.2.2 ← 1.2.1 diff Apr 29, 2018
updated 1.2.1 ← 1.2.0 diff Feb 25, 2018
updated 1.2.0 ← 1.0.1 diff Jun 18, 2017
new 1.0.1 Apr 30, 2015