test.lige: test.lige

Description Usage Arguments Value Examples

Description

test if the local intergnerational elasticity is the same across all values of the treatment variable

Usage

1
test.lige(cfaobj, allt, se = T, h)

Arguments

cfaobj

a CFA object

allt

all the values of the treatment variable in the dataset

se

boolean whether or not to compute standard errors

h

a bandwidth

Value

a CFASE object

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
data(igm)
tvals <- seq(10,12,length.out=8)
yvals <- seq(quantile(igm$lcfincome, .05), quantile(igm$lcfincome, .95), length.out=50)

## obtain counterfactual results
out <- cfa2(lcfincome ~ lfincome, tvals, yvals, igm, method1="qr",
xformla2=~HEDUC, method2="qr", iters=10, tau1=seq(.05,.95,.05),
tau2=seq(.05,.95,.05))
test.lige(out$cfa1, allt=igm$lfincome, h=0.5)

## End(Not run)

ccfa documentation built on May 2, 2019, 7:28 a.m.