boot_compare_smd {TOSTER}R Documentation

Comparing SMDs between ndependent studies with bootstrapping

Description

[Stable]

A function to compare standardized mean differences (SMDs) between studies. This function is intended to be used to compare the compatibility of original studies with replication studies (lower p-values indicating lower compatibility).

Usage

boot_compare_smd(
  x1,
  y1 = NULL,
  x2,
  y2 = NULL,
  null = 0,
  paired = FALSE,
  alternative = c("two.sided", "less", "greater"),
  R = 1999,
  alpha = 0.05
)

Arguments

x1

a (non-empty) numeric vector of data values from study 1.

y1

an optional (non-empty) numeric vector of data values from study 1.

x2

a (non-empty) numeric vector of data values from study 2.

y2

an optional (non-empty) numeric vector of data values from study 2.

null

a number indicating the null hypothesis. For TOST, this would be equivalence bound.

paired

a logical indicating whether the SMD is from a paired or independent samples design.

alternative

a character string specifying the alternative hypothesis, must be one of "two.sided" (default), "greater" or "less". You can specify just the initial letter.

R

number of bootstrap replicates

alpha

alpha level (default = 0.05)

Value

A list with class "htest" containing the following components:

See Also

Other compare studies: boot_compare_cor(), compare_cor(), compare_smd()


[Package TOSTER version 0.8.3 Index]