powered by
Shifted kolmogorov-smirnov statistic with covariates and quantile regression.
SKS.stat.cov.rq(Y, Z, X)
The test statistic value.
Observed outcome vector
Treatment assigment vector
Additional pre-treatment covariates to adjust for in estimation, but not to interact with treatment.
df <- make.randomized.dat( 1000, gamma.vec=c(1,1,1,2), beta.vec=c(-1,-1,1,0) ) SKS.stat.cov.rq(df$Yobs, df$Z, df$A)
Run the code above in your browser using DataLab