Description Usage Arguments Value References Examples
Compute the GFKS statistics and identify its location for each column of x. This function and its use are discussed in Yu (2020).
1 | gfks1_stat(x,z)
|
x |
A matrix with length(z) rows giving the discretized covariates. |
z |
A vector whose ith coordinate is 1 for a treated unit and is 0 for a control. |
gfks |
A vector of GFKS statistics for each discrete covariate. |
where |
A vector of locations that the GFKS statistics occur, i.e., the location of the maximum difference of the empirical distribution function of each discrete covariate in the treated and control groups. |
Yu, R. (2020) Evaluating and Improving a Matched Comparison of Antidepressants and Bone Density. Under revision.
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.