Weighting options and graphs
This is a major release that includes new options for batch_calc_ES()
, including an expanded selection of weighting schemes for use when aggregating effect size estimates, and several new features for the SCD_effect_sizes
shiny app, including an interface for taking a subset of observations before conducting batch calculations and an interface for visualizing the data used for batch calculations. This release also includes some tweaks for specific effect size functions, including reporting the SD used for standardization in calculating within-case standardized mean differences with SMD()
.
- Changes to
batch_calc_ES()
batch_calc_ES()
now provides several additional options for weights to use when aggregating effect sizes, including weighting by nA (the number of baseline phase observations), nB (the number of treatment phase observations), nA * nB, or 1 / nA + 1 / nB.- For aggregating effect sizes,
batch_calc_ES()
now defaults to equal-weighting (rather than inverse-variance weighting) - For aggregating effect sizes,
batch_calc_ES()
now provides more informative error messages for effect sizes that do not have standard errors (and therefore cannot be aggregated with inverse-variance weights). - Corrected a cosmetic bug in a warning message of
batch_calc_ES()
when scale argument is specified as a variable and ES includes "LOR".
- Changes to functions for specific effect sizes
- Added
intervention_phase
argument toNAP()
,SMD()
, and other user-facing effect size calculation functions. - The
SMD()
function now reports the SD (baseline SD or pooled SD) used in the denominator of the standardized mean difference. - The
SMD()
function now returns a warning instead of an error when the standard deviation is zero. - Added option for Kendall's rank correlation in the
Tau_BC()
function. - Added warn argument to
Tau_BC()
function, to control printing of messages regarding baseline trend test.
- Added
- Changes to the
SCD_effect_sizes
shiny app- The batch entry calculator now includes an interface for visualizing data series.
- The batch entry calculator now includes an interface for taking a subset of observations.
- Miscellaneous aesthetic and layout fixes.
- Added unit tests of shiny app results.