IAT_rel {implicitMeasures}R Documentation

IAT reliability

Description

Compute the practice – test IAT reliability.

Usage

IAT_rel(data)

Arguments

data

dataframe with class "dscore" (Gawronski et al., 2017).

Value

List of two objects:

Test-practice reliability

contains the IAT reliability.

Number of Participants

Contains the number of participants on which the reliability was computed.

Examples

# compute D-score 2 for the IAT data ###
  data("raw_data") # import data
  iat_cleandata <- clean_iat(raw_data, sbj_id = "Participant",
                          block_id = "blockcode",
                          mapA_practice = "practice.iat.Milkbad",
                          mapA_test = "test.iat.Milkbad",
                          mapB_practice = "practice.iat.Milkgood",
                          mapB_test = "test.iat.Milkgood",
                          latency_id = "latency",
                          accuracy_id = "correct",
                          trial_id = "trialcode",
                          trial_eliminate = c("reminder", "reminder1"),
                          demo_id = "blockcode",
                          trial_demo = "demo")
  iat_data <- iat_cleandata[[1]]
# calculate D-score
  iat_dscore <- compute_iat(iat_data,
                         Dscore =  "d2")
  IAT_rel(iat_dscore)

[Package implicitMeasures version 0.2.1 Index]