This option can be set globally using ().Ĭharacter how the denominator for standardized mean differences should be calculated, if requested. Whether mean differences for binary variables (i.e., difference in proportion) should be standardized ( "std") or raw ( "raw"). This option can be set globally using (). Whether mean differences for continuous variables should be standardized ( "std") or raw ( "raw"). For some input object types, this is required. For longitudinal treatments, can be a list of allowable arguments, one for each time point.Īn optional data frame containing variables named in other arguments. If a formula or variable names are specified, bal.tab() will look in the arguments to the input object, covs, and data, if specified. The propensity scores generated by ps() and iptw() (but not mnps() or ps.cont()) are automatically included and named "".Īn optional formula or data frame containing additional covariates for which to present balance or a character vector containing their names. If a formula or variable names are specified, bal.tab() will look in the argument to data, if specified. If int is numeric, poly will take on the value of int.Īn optional formula or data frame containing distance values (e.g., propensity scores) or a character vector containing their names. If 1, the default, only the base covariate will be displayed. For example, if 2, squares of each continuous covariate will be displayed (in addition to the covariate itself) if 3, squares and cubes of each continuous covariate will be displayed, etc. Numeric the highest polynomial of each continuous covariate to display. If numeric, will be passed to poly as well. Logical or numeric whether or not to include 2-way interactions of covariates included in covs and in addl. For continuous treatments, "correlations" (i.e., treatment-covariate Pearson correlations) is the default. For binary and multi-category treatments, "mean.diffs" (i.e., mean differences) is the default. Ignored for ps.cont objects.Ĭharacter which statistic(s) should be reported. If no stopping methods are provided, bal.tab() will default to displaying balance for all available stopping methods. The names can be abbreviated as long as the abbreviations are specific enough. bal.tab() will assess balance for the weights created by those stopping methods. Examples include "es.max" or "ks.mean" for ps and mnps objects. Generates balance statistics for ps, mnps, and iptw objects from twang and for ps.cont objects from twangContinuous.Ī ps, mnps, iptw, or ps.cont object the output of a call to \pkgfuntwangps, \pkgfuntwangmnps, \pkgfuntwangiptw or \nt.Ī string containing the names of the stopping methods used in the original call to ps(), mnps(), or iptw().
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |