SKS.stat.cov.rq: SKS.stat.cov.rq

View source: R/helper_stat_calc.R

SKS.stat.cov.rqR Documentation

SKS.stat.cov.rq

Description

Shifted kolmogorov-smirnov statistic with covariates and quantile regression.

Usage

SKS.stat.cov.rq(Y, Z, X)

Arguments

Y

Observed outcome vector

Z

Treatment assigment vector

X

Additional pre-treatment covariates to adjust for in estimation, but not to interact with treatment.

Value

The test statistic value.

Examples

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)


hettx documentation built on Aug. 20, 2023, 1:06 a.m.