SKS.stat: SKS.stat

View source: R/helper_stat_calc.R

SKS.statR Documentation

SKS.stat

Description

Shifted kolmogorov-smirnov statistic. Calculate KS distance between Y0 and Y1 shifted by sample tau.

Usage

SKS.stat(Y, Z)

Arguments

Y

Observed outcome vector

Z

Treatment assigment vector

Value

The value of the test.

See Also

KS.stat, SKS.stat.cov

detect_idiosyncratic

Examples

df <- make.randomized.dat( 1000, gamma.vec=c(1,1,1,2), beta.vec=c(-1,-1,1,0) )
SKS.stat(df$Yobs, df$Z)


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