Learn R Programming

implicitMeasures (version 0.3.0)

IAT_rel: IAT reliability

Description

Compute the practice -- test IAT reliability.

Usage

IAT_rel(data)

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.

Arguments

data

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

Examples

Run this code
# 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)

Run the code above in your browser using DataLab