Computes the effect size for each control-test group pairing in idx
.
The resampling bootstrap distribution of the effect size is then subjected
to Bias-corrected and accelerated bootstrap (BCa) correction.
The following effect sizes mean_diff
, median_diff
, cohens_d
, hedges_g
and cliffs_delta
are used for most plot types.
Usage
mean_diff(dabest_obj, perm_count = 5000)
median_diff(dabest_obj, perm_count = 5000)
cohens_d(dabest_obj, perm_count = 5000)
hedges_g(dabest_obj, perm_count = 5000)
cliffs_delta(dabest_obj, perm_count = 5000)
cohens_h(dabest_obj, perm_count = 5000)
Arguments
- dabest_obj
A dabest_obj created by loading in dataset along with other specified parameters with the
load()
function.- perm_count
The number of reshuffles of control and test labels to be performed for each p-value.
Value
Returns a dabest_effectsize_obj
list with 22 elements. The following are the elements contained within:
raw_data
The tidy dataset passed toload()
that was cleaned and altered for plotting.idx
The list of control-test groupings as initially passed toload()
.delta_x_labels
Vector containing labels for the x-axis of the delta plot.delta_y_labels
String label for the y-axis of the delta plot.Ns
List of labels for x-axis of the raw plot.raw_y_labels
Vector containing labels for the y-axis of the raw plot.is_paired
Boolean value determining if it is a paired plot.is_colour
Boolean value determining if there is a colour column for the plot.paired
Paired ("sequential" or "baseline") as initially passed toload()
.resamples
The number of resamples to be used to generate the effect size bootstraps.control_summary
Numeric value for plotting of control summary lines for float_contrast =TRUE
.test_summary
Numeric value for plotting of control summary lines for float_contrast =TRUE
.ylim
Vector containing the y limits for the raw plot.enquo_x
Quosure of x as initially passed toload()
.enquo_y
Quosure of y as initially passed toload()
.enquo_id_col
Quosure of id_col as initially passed toload()
.enquo_colour
Quosure of colour as initially passed toload()
.proportional
Boolean value as initially passed toload()
.minimeta
Boolean value as initially passed toload()
.delta
Boolean value as initially passed toload()
.proportional_data
List of calculations related to the plotting of proportion plots.boot_result
List containing values related to the calculation of the effect sizes, bootstrapping and BCa correction.baseline_ec_boot_result
List containing values related to the calculation of the effect sizes, bootstrapping and BCa correction for the baseline error curve.permtest_pvals
List containing values related to the calculations of permutation t tests and the corresponding p values, and p values for different types of effect sizes and different statistical tests.