SKS.stat {hettx} | R Documentation |
SKS.stat
Description
Shifted kolmogorov-smirnov statistic. Calculate KS distance between Y0 and Y1 shifted by sample tau.
Usage
SKS.stat(Y, Z)
Arguments
Y |
Observed outcome vector |
Z |
Treatment assigment vector |
Value
The value of the test.
See Also
KS.stat, SKS.stat.cov
detect_idiosyncratic
Examples
df <- make.randomized.dat( 1000, gamma.vec=c(1,1,1,2), beta.vec=c(-1,-1,1,0) )
SKS.stat(df$Yobs, df$Z)
[Package hettx version 0.1.3 Index]