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 Feb. 24, 2026, 5:08 p.m.