anova2x2_se: Compute power for Simple Effects in a Two by Two Between...

View source: R/anova2x2_se.R

anova2x2_seR Documentation

Compute power for Simple Effects in a Two by Two Between Subjects ANOVA with two levels for each factor. Takes means, sds, and sample sizes for each group. Alpha is .05 by default, alternative values may be entered by user

Description

Compute power for Simple Effects in a Two by Two Between Subjects ANOVA with two levels for each factor. Takes means, sds, and sample sizes for each group. Alpha is .05 by default, alternative values may be entered by user

Usage

anova2x2_se(
  m1.1 = NULL,
  m1.2 = NULL,
  m2.1 = NULL,
  m2.2 = NULL,
  s1.1 = NULL,
  s1.2 = NULL,
  s2.1 = NULL,
  s2.2 = NULL,
  n1.1 = NULL,
  n1.2 = NULL,
  n2.1 = NULL,
  n2.2 = NULL,
  alpha = 0.05
)

Arguments

m1.1

Cell mean for First level of Factor A, First level of Factor B

m1.2

Cell mean for First level of Factor A, Second level of Factor B

m2.1

Cell mean for Second level of Factor A, First level of Factor B

m2.2

Cell mean for Second level of Factor A, Second level of Factor B

s1.1

Cell standard deviation for First level of Factor A, First level of Factor B

s1.2

Cell standard deviation for First level of Factor A, Second level of Factor B

s2.1

Cell standard deviation for Second level of Factor A, First level of Factor B

s2.2

Cell standard deviation for Second level of Factor A, Second level of Factor B

n1.1

Cell sample size for First level of Factor A, First level of Factor B

n1.2

Cell sample size for First level of Factor A, Second level of Factor B

n2.1

Cell sample size for Second level of Factor A, First level of Factor B

n2.2

Cell sample size for Second level of Factor A, Second level of Factor B

alpha

Type I error (default is .05) examples anova2x2_se(m1.1=0.85, m1.2=0.85, m2.1=0.00, m2.2=0.60, s1.1=1.7, s1.2=1.7, s2.1=1.7, s2.2=1.7, n1.1=250, n1.2=250, n2.1=250, n2.2=250, alpha=.05)

Value

Power for Simple Effects Tests in a Two By Two ANOVA


pwr2ppl documentation built on Sept. 6, 2022, 5:06 p.m.