Usage
ps.summary(x, t, w, get.means = TRUE, get.ks = TRUE,
na.action = c("level", "exclude", "lowest")[1],
collapse.by.var = FALSE)
ps.summary.f(x, t, w, get.means = TRUE, get.ks = TRUE,
na.action = c("level", "exclude", "lowest")[1],
collapse.by.var = TRUE)
ps.summary.n(x, t, w, get.means = TRUE, get.ks = TRUE,
na.action = c("level", "exclude", "lowest")[1],
collapse.by.var = FALSE)
Arguments
x
a vector containing the data for a single covariate
t
a vector of the same length as x
with the 0/1 treatment
assigniments
w
a vector of the same length as x
with the weights
get.means
if TRUE
, mean comparisons are computed
get.ks
if TRUE
, the KS statistics are computed
na.action
a string indicating the method for handling missing data
collapse.by.var
if TRUE
, then statistics computed for factors
are collapsed across the levels