Skip to contents

Confounded and randomized treatment coefficients (equations 9.1, 9.2), pooled-variance independent t (9.3, 9.11), the 2 by 2 chi square (9.4) and paired t (9.10). Mirrors ca9e1 to ca9e4, ca9e10, ca9e11.

Usage

morie_rct_tests(
  r_yt = NA,
  r_yx = NA,
  r_tx = NA,
  s_y = NA,
  s_t = NA,
  m1 = NA,
  m2 = NA,
  s1 = NA,
  s2 = NA,
  n1 = NA,
  n2 = NA,
  a = NA,
  b = NA,
  c = NA,
  d = NA,
  differences = NULL
)

Arguments

r_yt, r_yx, r_tx

Correlations.

s_y, s_t

Standard deviations.

m1, m2, s1, s2, n1, n2

Group summaries.

a, b, c, d

Cell counts.

differences

Paired differences.

Value

List with b_t, b_t_random, t, df, chi2, t_paired, df_paired (only the pieces whose inputs were supplied).

Examples

morie_rct_tests()
#> list()