Skip to contents

Weighted mean of per-sample WEAT effect sizes.

Usage

morie_kamath_ch6_ceat_random_effects(S_A1, S_A2, S_W1, S_W2, v, ddof = 0)

Arguments

S_A1, S_A2, S_W1, S_W2

Lists of per-sample matrices.

v

Weights.

ddof

Passed to the effect size.

Value

List with estimate, weat, weights.

Examples

W1 <- diag(2)
W2 <- -diag(2)
A1 <- diag(2)
A2 <- matrix(c(1, 2, 1, 0), 2)
morie_kamath_ch6_ceat_random_effects(list(A1, A1), list(A2, A2),
    list(W1, W1), list(W2, W2), c(1, 3))
#> $estimate
#> [1] -1.154701
#> 
#> $weat
#> [1] -1.154701 -1.154701
#> 
#> $weights
#> [1] 1 3
#> 
#> $n
#> [1] 2
#> 
#> $method
#> [1] "CEAT random-effects pooled WEAT (Kamath Eq 6.7)"
#>