Difference between Two Means (t or z Test for Independent or Paired Samples)

t2means(
  calculate = "selectpower",
  paired = FALSE,
  paired.r = 0.5,
  stdinput = FALSE,
  d = 0.2,
  mu1 = 0.2,
  mu2 = 0,
  sd1 = 1,
  sd2 = 1,
  margin = 0,
  power = 0.8,
  alpha = 0.05,
  alternative = "not equal",
  kappa = 1,
  n2 = 200
)

Arguments

calculate

.

paired

.

paired.r

.

stdinput

.

d

.

mu1

.

mu2

.

sd1

.

sd2

.

margin

.

power

.

alpha

.

alternative

.

kappa

.

n2

.

Value

A results object containing:

results$text2a preformatted
results$plotan image