Learn R Programming

hettx (version 1.0.1)

SKS_stat_cov_rq: SKS_stat_cov_rq

Description

Shifted kolmogorov-smirnov statistic with covariates and quantile regression.

Usage

SKS_stat_cov_rq(Y, Z, X)

Value

The test statistic value.

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.

Examples

Run this code
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