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.