Learn R Programming

README

Brantly Callaway 2018-04-30

The R qte package implements many methods used, especially in economics, to estimate quantile treatment effects. These include the case where treatment is randomly assigned, under selection on observables, under a Difference in Differences Assumtpion.

The package is available on CRAN and can be loaded as follows

  library(qte)

The following example shows how to use the ci.qte method in the qte package using data about an experimental job training program.

data(lalonde)
 jt.cia <- ci.qte(re78 ~ treat,
   xformla=~age + education + black + hispanic + married + nodegree,
   data=lalonde.psid,
   probs=seq(0.05,0.95,0.05), se=T)
 summary(jt.cia)

More examples and details about other functions in the package can be found at the package's website

Copy Link

Version

Install

install.packages('qte')

Monthly Downloads

364

Version

1.3.1

License

GPL-2

Last Published

September 1st, 2022

Functions in qte (1.3.1)

compute.CiC

athey.imbens
ci.qte

ci.qte
bounds

bounds
ci.qtet

ci.qtet
compute.panel.qtet

compute.panel.qtet
compute.MDiD

compute.MDiD
compute.ci.qte

compute.ci.qte
compute.ddid2

compute.ddid2
compute.ci.qtet

compute.ci.qtet
compute.QDiD

Quantile Difference in Differences
computeSE

computeSE
ggqte

ggqte
diffQ

diffQ
getub

getub
getlb

getlb
lalonde

Lalonde (1986)'s NSW Dataset
lalonde.exp

Lalonde's Experimental Dataset
compute.spatt

compute.spatt
ddid2

ddid2
computeDiffSE

computeDiffSE
lalonde.psid.panel

Lalonde's Experimental Dataset
panel.checks

panel.checks
plot.BoundsObj

Plot Bounds
print.matrix2

print.matrix2
print.matrix1

print.matrix1
lalonde.psid

Lalonde's Observational Dataset
lalonde.exp.panel

Lalonde's Panel Experimental Dataset
plot.QTE

plot.QTE
setupData

setupData
qtes2mat

qtes2mat
qteToTexreg

diffQ
summary.BoundsObj

Summary of BoundsObj
summary.QTE

Summary
panelize.data

panelize.data
panel.qtet

panel.qtet
spatt

spatt
print.summary.QTE

Print
print.summary.BoundsObj

Print a summary.BoundsObj
bootstrap

bootstrap
BoundsObj

BoundsObj
CiC

Change in Changes
bootiter

bootiter
QTEparams

QTEparams
QDiD

Quantile Difference in Differences
QTE

qte: A package for computating quantile treatment effects
SE

SE
MDiD

Mean Difference in Differences
DR

DR