compute.CiC: athey.imbens

Description Usage Arguments

View source: R/qte.R

Description

compute.CiC does the computational work for the Change in Changes model of Athey and Imbens, 2006.

Usage

1
2
3
compute.CiC(formla, xformla = NULL, t, tmin1, tname, x = NULL, data,
  dropalwaystreated = TRUE, panel = FALSE, plot = FALSE, idname = NULL,
  uniqueid = NULL, probs = seq(0.05, 0.95, 0.05))

Arguments

formla

The formula y ~ d where y is the outcome and d is the treatment indicator (d should be binary)

xformla

A optional one sided formula for additional covariates that will be adjusted for. E.g ~ age + education. Additional covariates can also be passed by name using the x paramater.

t

The 3rd time period in the sample (this is the name of the column)

tmin1

The 2nd time period in the sample (this is the name of the column)

tname

The name of the column containing the time periods

x

An optional vector of covariates (the name of the columns). Covariates can also be passed in formulat notation using the xformla paramter.

data

The name of the data.frame that contains the data

dropalwaystreated

How to handle always treated observations in panel data case (not currently used)

plot

Boolean whether or not the estimated QTET should be plotted

idname

The individual (cross-sectional unit) id name

uniqueid

Not sure what this does

probs

A vector of values between 0 and 1 to compute the QTET at


qte documentation built on June 20, 2017, 9:14 a.m.

Search within the qte package
Search all R packages, documentation and source code