Description Usage Arguments Details Value
Extract the balance table from ps, dx.wts, and mnps objects
1 2 3 4 5 6 7 8 9 10 11 12 13 14 
x 
A ps or dx.wts object. 
digits 
The number of digits that the numerical entries should be rounded to. Default: 3. 
collapse.to 
For 
subset.var 
Eliminate all but a specified subset of covariates. 
subset.treat 
Subset to either all pairs that include a specified treatment or a single pair of treatments. 
subset.stop.method 
Subset to either all pairs that include a specified treatment or a single pair of treatments. 
es.cutoff 
Subsets to comparisons with absolute ES values bigger than

ks.cutoff 
Subsets to comparisons with KS values bigger than

p.cutoff 
Subsets to comparisons with t or chisquared pvalues
no bigger than 
ks.p.cutoff 
Subsets to comparisons with t or chisquared pvalues
no bigger than 
timePeriods 
Used to subset times for iptw fits. 
... 
Additional arugments. 
bal.table
is a generic function for extracting balance
tables from ps and dx.wts objects. These objects
usually have several sets of candidate weights, one for an unweighted
analysis and perhaps several stop.methods
. bal.table
will return a table for each set of weights combined into a list. Each list
component will be named as given in the x
, usually the name of the
stop.method
. The balance table labeled “unw” indicates the
unweighted analysis.
Returns a data frame containing the balance information.
tx.mn
The mean of the treatment group.
tx.sd
The standard deviation of the treatment group.
ct.mn
The mean of the control group.
ct.sd
The standard deviation of the control group.
std.eff.sz
The standardized effect size, (tx.mnct.mn)/tx.sd.
If tx.sd is small or 0, the standardized effect size can be large or INF.
Therefore, standardized effect sizes greater than 500 are set to NA.
stat
The tstatistic for numeric variables and the chisquare
statistic for continuous variables.
p
The pvalue for the test associated with stat
ks
The KS statistic.
ks.pval
The KS pvalue computed using the analytic approximation,
which does not necessarily work well with a lot of ties.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.