View source: R/helper_stat_calc.R
SKS.stat | R Documentation |
Shifted kolmogorov-smirnov statistic. Calculate KS distance between Y0 and Y1 shifted by sample tau.
SKS.stat(Y, Z)
Y |
Observed outcome vector |
Z |
Treatment assigment vector |
The value of the test.
KS.stat, SKS.stat.cov
detect_idiosyncratic
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.