inst/doc/ddid2.R

## ---- warning=FALSE-----------------------------------------------------------
 ##load the package
 library(qte)

 ##load the data
 data(lalonde)

 ## Run the panel.qtet method on the experimental data with no covariates
 dd1 <- ddid2(re ~ treat, t=1978, tmin1=1975, tname="year",
  data=lalonde.psid.panel, idname="id", se=FALSE,
  probs=seq(0.05, 0.95, 0.05))
 summary(dd1)

Try the qte package in your browser

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

qte documentation built on Sept. 1, 2022, 5:05 p.m.