Skip to contents

sum s over A_1 minus sum s over A_2.

Usage

morie_kamath_ch6_weat_function(A_1, A_2, W_1, W_2)

Arguments

A_1, A_2

Attribute-word matrices.

W_1, W_2

Target matrices.

Value

List with estimate, s_A1, s_A2.

Examples

morie_kamath_ch6_weat_function(A_1 = c(1, 2, 3, 4, 5, 6, 7, 8),
  A_2 = c(1, 2, 3, 4, 5, 6, 7, 8), W_1 = c(1, 2, 3, 4, 5, 6, 7, 8),
  W_2 = c(1, 2, 3, 4, 5, 6, 7, 8))
#> $estimate
#> [1] 0
#> 
#> $s_A1
#> [1] 0 0 0 0 0 0 0 0
#> 
#> $s_A2
#> [1] 0 0 0 0 0 0 0 0
#> 
#> $n
#> [1] 16
#> 
#> $method
#> [1] "WEAT test statistic (Kamath Eq 6.4)"
#>