inst/doc/R-QTEs.R

## ------------------------------------------------------------------------
library(qte)

## ------------------------------------------------------------------------
data(lalonde)

## ------------------------------------------------------------------------
class(jt.rand)

## ------------------------------------------------------------------------
summary(jt.rand)

## ------------------------------------------------------------------------
plot(jt.rand)

## ------------------------------------------------------------------------
 plot(jt.cia)

## ------------------------------------------------------------------------
 plot(jt.ciat)

## ------------------------------------------------------------------------
 head(lalonde.psid.panel)[,c("id", "year", "re", "treat",
  "age", "education", "black", "hispanic", "married", "nodegree", "u75")]

## ------------------------------------------------------------------------
 plot(jt.pqtet)

## ------------------------------------------------------------------------
 plot(b1) 

## ------------------------------------------------------------------------
 par(mfrow=c(2,2))
 plot(jt.rand, ylim=c(-15000,15000), main="Experimental")
 plot(jt.qdid, ylim=c(-15000,15000), main="QDiD")
 plot(jt.cic, ylim=c(-15000,15000), main="CiC")
 plot(jt.mdid, ylim=c(-15000,15000), main="MDiD")

Try the qte package in your browser

Any scripts or data that you put into this service are public.

qte documentation built on April 30, 2018, 5:03 p.m.