bal.table: Compute balance table
Description
Extract the balance table from ps and
dx.wts objectsValue
- Returns a data frame containing the balance information.
- tx.mnThe mean of the treatment group
- tx.sdThe standard deviation of the treatment group
- ct.mnThe mean of the control group
- ct.sdThe standard deviation of the control group
- std.eff.szThe standardized effect size, (tx.mn-ct.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
- statthe t-statistic for numeric variables and the chi-square
statistic for continuous variables
- pthe p-value for the test associated with
stat - ksthe KS statistic
- ks.pvalthe KS p-value computed using the analytic approximation,
which does not necessarily work well with a lot of ties
Details
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.See Also
The example for ps contains an example of the
use of bal.table