View source: R/helper_stat_calc.R
SKS.pool.t | R Documentation |
Subtract off group level treatment effect estimates and then look at KS statistic on residuals.
SKS.pool.t(Y, Z, W)
Y |
Observed outcome vector |
Z |
Treatment assigment vector |
W |
A a factor or categorical covariate. |
Distinct from the interacted lm in that the control units are not shifted and centered with respect to eachother.
df <- make.randomized.dat( 1000, gamma.vec=c(1,1,1,2), beta.vec=c(-1,-1,1,0) )
df$W <- sample(c("A", "B", "C"), nrow(df), replace = TRUE)
SKS.pool.t(df$Yobs, df$Z, df$W)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.