View source: R/helper_stat_calc.R
| SKS_stat_cov_rq | R Documentation |
Shifted kolmogorov-smirnov statistic with covariates and quantile regression.
SKS_stat_cov_rq(Y, Z, X)
Y |
Observed outcome vector |
Z |
Treatment assigment vector |
X |
Additional pre-treatment covariates to adjust for in estimation, but not to interact with treatment. |
The test statistic value.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.