ses_calc.Rd
ses_calc(x, ..., paired = FALSE, ses = "rb", alpha = 0.05)
# S3 method for default
ses_calc(
x,
y = NULL,
paired = FALSE,
ses = c("rb", "odds", "logodds", "cstat"),
alpha = 0.05,
mu = 0,
...
)
# S3 method for formula
ses_calc(formula, data, subset, na.action, ...)
a (non-empty) numeric vector of data values.
further arguments to be passed to or from methods.
a logical indicating whether you want a paired t-test.
Standardized effect size. Default is "rb" for rank-biserial correlation. Options also include "cstat" for concordance probability, or "odds" for Wilcoxon-Mann-Whitney odds (otherwise known as Agresti's generalized odds ratio).
alpha level (default = 0.05)
an optional (non-empty) numeric vector of data values.
number indicating the value around which (a-)symmetry (for one-sample or paired samples) or shift (for independent samples) is to be estimated. See stats::wilcox.test.
a formula of the form lhs ~ rhs where lhs is a numeric variable giving the data values and rhs either 1 for a one-sample or paired test or a factor with two levels giving the corresponding groups. If lhs is of class "Pair" and rhs is 1, a paired test is done.
an optional matrix or data frame (or similar: see model.frame) containing the variables in the formula formula. By default the variables are taken from environment(formula).
an optional vector specifying a subset of observations to be used.
a function which indicates what should happen when the data contain NAs. Defaults to getOption("na.action").
A data frame containing the standardized effect size.
For details on the calculations in this function see vignette("robustTOST")
.
Other effect sizes:
boot_ses_calc()
,
boot_smd_calc()
,
smd_calc()
if (FALSE) {
ses_calc(formula = extra ~ group, data = sleep, paired = TRUE, ses = "r")
}