Generosity vs Justice V7

Author

Marcus + Lizy + Nadia

Published

September 6, 2023

Overview and Methodology

  • Study of third party judgments of donors motivated by a justice or generosity virtue when the informamtion is shared either from a first person or third person perspective
  • Data collected August 28, 2023
  • N = 400

Setup

Libraries

Code
knitr::opts_chunk$set(warning = FALSE, message = FALSE) 

Mypackages <-
  c("lme4","tidyverse","effects","ggplot2","psych",
    "MASS","Rmisc","lmerTest","ggthemes", "knitr",
    "lsmeans","pastecs","sjstats","car","ordinal",
    "Rcpp","corrplot", "ggpubr", "EnvStats",
    "easyStats", "cowplot","see","datawizard", "ggcorrplot", 
    "RColorBrewer", "lavaan")

#install.packages(Mypackages) #you must remove the # in this comment if you need to install the packages! 
lapply(Mypackages,
       require,
       character.only = TRUE)

options(knitr.kable.NA = '—')
set.seed(1)  

Functions

Code
plot_cooker <- function(dv, iv, Title, x_axis_labs, y_label, sample_size) {
  part1 <- ggviolin(gjg_long, x = dv, y = iv, color = dv,
                    alpha = 0.1, fill = dv, xlab = "Motive",
                    trim = TRUE, ylab = y_label) +
    stat_summary(fun.data = "mean_cl_normal", geom = "crossbar", fatten = 1) +
    scale_y_continuous(breaks = c(1:5)) +
    labs(title = paste0(Title, " (n = ", sample_size, ")")) +
    scale_x_discrete(labels = x_axis_labs) +
    theme(panel.background = element_rect(fill = "transparent"), 
          legend.position = "right",  ## Consider “gray97” for fill
          plot.title = element_text(face = "bold", hjust = 0.5, size = 16), 
          plot.subtitle = element_text(hjust = 0.5),
          panel.grid.major.y = element_line(color='grey75'), 
          axis.text.x = element_text(face = "plain", size = 13, color = "black"),
          axis.text.y = element_text(face = "plain", size = 13, color = "black"),
          axis.title.y = element_text(face = "plain", size = 13, color = "black", 
                                       margin = margin(t = 0, r = 10, b = 0, l = 0)), ## lower X axis title
          panel.border = element_rect(color = "black", fill = NA, size = 1))
  ggpar(part1, legend = "none")
}

pol_line <- function(data, iv, dv) {
  ggplot(data, aes(x = {{iv}}, y = {{dv}}, color = cell)) +
  stat_summary(fun.data = "mean_cl_normal", geom = "line") +
  geom_point(position = position_jitter(width = 0.1, height = 0.1), alpha = 0.5) +
  labs(x = "Political Leaning", color = "Condition")
}

facet_plot_fn <- function(data, dv, iv, facet_var, Title, x_axis_labs, y_label, sample_size, coln, rown) {
  part1 <- ggviolin(data, x = dv, y = iv, color = dv,
                    alpha = 0.1, fill = dv, xlab = "Motive",
                    trim = TRUE, ylab = y_label) +
    stat_summary(fun.data = "mean_cl_normal", geom = "crossbar", fatten = 1) +
    scale_y_continuous(breaks = c(1:7)) +
    labs(title = paste0(Title, " (n = ", sample_size, ")")) +
    scale_x_discrete(labels = x_axis_labs) +
    theme(panel.background = element_rect(fill = "transparent"), 
          legend.position = "right",  ## Consider “gray97” for fill
          plot.title = element_text(face = "bold", hjust = 0.5, size = 16), 
          plot.subtitle = element_text(hjust = 0.5),
          panel.grid.major.y = element_line(color='grey75'), 
          axis.text.x = element_text(face = "plain", size = 13, color = "black"),
          axis.text.y = element_text(face = "plain", size = 13, color = "black"),
          axis.title.y = element_text(face = "plain", size = 13, color = "black", 
                                       margin = margin(t = 0, r = 10, b = 0, l = 0)), ## lower X axis title
          panel.border = element_rect(color = "black", fill = NA, size = 1)) +
  scale_color_discrete(name = "Condition") +
facet_wrap(as.formula(paste0("~", facet_var)), ncol = coln, nrow = rown, scales = "free", as.table = TRUE)
  
  ggpar(part1, legend = "none")
}

Load Data

Code
# read in data files
gjg <-read.csv("/Users/mtrenfield17/Desktop/Research/Boston College Research/Morality Lab Research/Generosity Vs Justice Project/just_vs_gen_v7/Generosity vs Justice V7.csv")

Reshaping data

Code
# changing appropriate DVs to numeric
cols_to_convert <- c("age", "income", "ses", "political_overall", "political_social", "political_economic", "attn_self", "pid",
                     "religious", "education")
gjg[cols_to_convert] <- lapply(gjg[cols_to_convert], as.numeric)

## Making column for condition (1st or 3rd person)
gjg <- gjg %>%
  mutate(
    condition = ifelse(FL_35_DO == "FL_37", "thirdPerson",
             ifelse(FL_35_DO == "FL_38", "firstPerson", NA))
  )

## Making column that merges 1st and 3rd person data into one column
gjg <- gjg %>% 
  mutate(reputation_signal_1 = as.numeric(paste(reputation_signal_1st_1, reputation_signal_3rd_1, sep = "")))

gjg <- gjg %>% 
  mutate(reputation_signal_2 = as.numeric(paste(reputation_signal_1st_2, reputation_signal_3rd_2, sep = "")))

gjg <- gjg %>% 
  mutate(norm_signal_1 = as.numeric(paste(norm_signal_1st_1, norm_signal_3rd_10, sep = "")))

gjg <- gjg %>% 
  mutate(norm_signal_2 = as.numeric(paste(norm_signal_1st_2, norm_signal_3rd_11, sep = "")))

gjg <- gjg %>% 
  mutate(reputation_signal_1 = as.numeric(paste(reputation_signal_1st_1, reputation_signal_3rd_1, sep = "")))

gjg <- gjg %>% 
  mutate(reputation_signal_2 = as.numeric(paste(reputation_signal_1st_2, reputation_signal_3rd_2, sep = "")))

gjg <- gjg %>% 
  mutate(approval_1 = as.numeric(paste(approval_1st_1, approval_3rd_1, sep = "")))

gjg <- gjg %>% 
  mutate(approval_2 = as.numeric(paste(approval_1st_2, approval_3rd_2, sep = "")))

gjg <- gjg %>% 
  mutate(moral_1 = as.numeric(paste(moral_1st_1, moral_3rd_1, sep = "")))

gjg <- gjg %>% 
  mutate(moral_2 = as.numeric(paste(moral_1st_2, moral_3rd_2, sep = "")))

gjg <- gjg %>% 
  mutate(genuine_1 = as.numeric(paste(genuine_1st_1, genuine_3rd_1, sep = "")))

gjg <- gjg %>% 
  mutate(genuine_2 = as.numeric(paste(genuine_1st_2, genuine_3rd_2, sep = "")))

gjg <- gjg %>% 
  mutate(deliberate_1 = as.numeric(paste(deliberate_1st_1, deliberate_3rd_1, sep = "")))

gjg <- gjg %>% 
  mutate(deliberate_2 = as.numeric(paste(deliberate_1st_2, deliberate_3rd_2, sep = "")))

gjg <- gjg %>% 
  mutate(spontaneous_1 = as.numeric(paste(spontaneous_1st_1, spontaneous_3rd_1, sep = "")))

gjg <- gjg %>% 
  mutate(spontaneous_2 = as.numeric(paste(spontaneous_1st_2, spontaneous_3rd_2, sep = "")))

gjg <- gjg %>% 
  mutate(emotion_1 = as.numeric(paste(emotion_1st_1, emotion_3rd_1, sep = "")))

gjg <- gjg %>% 
  mutate(emotion_2 = as.numeric(paste(emotion_1st_2, emotion_3rd_2, sep = "")))

gjg <- gjg %>% 
  mutate(logic_1 = as.numeric(paste(logic_1st_1, logic_3rd_1, sep = "")))

gjg <- gjg %>% 
  mutate(logic_2 = as.numeric(paste(logic_1st_2, logic_3rd_2, sep = "")))

gjg <- gjg %>% 
  mutate(quick_1 = as.numeric(paste(quick_1st_1, quick_3rd_1, sep = "")))

gjg <- gjg %>% 
  mutate(quick_2 = as.numeric(paste(quick_1st_2, quick_3rd_2, sep = "")))

gjg <- gjg %>% 
  mutate(slow_1 = as.numeric(paste(slow_1st_1, slow_3rd_1, sep = "")))

gjg <- gjg %>% 
  mutate(slow_2 = as.numeric(paste(slow_1st_2, slow_3rd_2, sep = "")))

gjg <- gjg %>% 
  mutate(warm_1 = as.numeric(paste(warm_1st_1, warm_3rd_1, sep = "")))

gjg <- gjg %>% 
  mutate(warm_2 = as.numeric(paste(warm_1st_2, warm_3rd_2, sep = "")))

gjg <- gjg %>% 
  mutate(good_natured_1 = as.numeric(paste(good.natured_1st_1, good.natured_3rd_1, sep = "")))

gjg <- gjg %>% 
  mutate(good_natured_2 = as.numeric(paste(good.natured_1st_2, good.natured_3rd_2, sep = "")))

gjg <- gjg %>% 
  mutate(tolerant_1 = as.numeric(paste(tolerant_1st_1, tolerant_3rd_1, sep = "")))

gjg <- gjg %>% 
  mutate(tolerant_2 = as.numeric(paste(tolerant_1st_2, tolerant_3rd_2, sep = "")))

gjg <- gjg %>% 
  mutate(sincere_1 = as.numeric(paste(sincere_1st_1, sincere_3rd_1, sep = "")))

gjg <- gjg %>% 
  mutate(sincere_2 = as.numeric(paste(sincere_1st_2, sincere_3rd_2, sep = "")))

gjg <- gjg %>% 
  mutate(competent_1 = as.numeric(paste(competent_1st_1, competent_3rd_1, sep = "")))

gjg <- gjg %>% 
  mutate(competent_2 = as.numeric(paste(competent_1st_2, competent_3rd_2, sep = "")))

gjg <- gjg %>% 
  mutate(confident_1 = as.numeric(paste(confident_1st_1, confident_3rd_1, sep = "")))

gjg <- gjg %>% 
  mutate(confident_2 = as.numeric(paste(confident_1st_2, confident_3rd_2, sep = "")))

gjg <- gjg %>% 
  mutate(independent_1 = as.numeric(paste(independent_1st_1, independent_3rd_1, sep = "")))

gjg <- gjg %>% 
  mutate(independent_2 = as.numeric(paste(independent_1st_2, independent_3rd_2, sep = "")))

gjg <- gjg %>% 
  mutate(competitive_1 = as.numeric(paste(competitive_1st_1, competitive_3rd_1, sep = "")))

gjg <- gjg %>% 
  mutate(competitive_2 = as.numeric(paste(competitive_1st_2, competitive_3rd_2, sep = "")))

gjg <- gjg %>% 
  mutate(intelligent_1 = as.numeric(paste(intelligent_1st_1, intelligent_3rd_1, sep = "")))

gjg <- gjg %>% 
  mutate(intelligent_2 = as.numeric(paste(intelligent_1st_2, intelligent_3rd_2, sep = "")))

gjg <- gjg %>% 
  mutate(politics_1 = as.numeric(paste(politics_1st_1, politics_3rd_2, sep = "")))

gjg <- gjg %>% 
  mutate(politics_2 = as.numeric(paste(politics_1st_2, politics_3rd_2, sep = "")))


gjg <- gjg %>%
  mutate(
    reputation_signal_just = ifelse(vigFirstVirtue == "justice", reputation_signal_1,
                                    ifelse(vigFirstVirtue == "generosity", reputation_signal_2, NA)),
    reputation_signal_gen = ifelse(vigFirstVirtue == "generosity", reputation_signal_1,
                                   ifelse(vigFirstVirtue == "justice", reputation_signal_2, NA))
  )



gjg <- gjg %>%
  mutate(
    norm_signal_just = ifelse(vigFirstVirtue == "justice", norm_signal_1,
                                    ifelse(vigFirstVirtue == "generosity", norm_signal_2, NA)),
    norm_signal_gen = ifelse(vigFirstVirtue == "generosity", norm_signal_1,
                                   ifelse(vigFirstVirtue == "justice", norm_signal_2, NA))
  )


gjg <- gjg %>%
  mutate(
    approval_just = ifelse(vigFirstVirtue == "justice", approval_1,
                                    ifelse(vigFirstVirtue == "generosity", approval_2, NA)),
    approval_gen = ifelse(vigFirstVirtue == "generosity", approval_1,
                                   ifelse(vigFirstVirtue == "justice", approval_2, NA))
  )


gjg <- gjg %>%
  mutate(
    moral_just = ifelse(vigFirstVirtue == "justice", moral_1,
                                    ifelse(vigFirstVirtue == "generosity", moral_2, NA)),
    moral_gen = ifelse(vigFirstVirtue == "generosity", moral_1,
                                   ifelse(vigFirstVirtue == "justice", moral_2, NA))
  )


gjg <- gjg %>%
  mutate(
    genuine_just = ifelse(vigFirstVirtue == "justice", genuine_1,
                                    ifelse(vigFirstVirtue == "generosity", genuine_2, NA)),
    genuine_gen = ifelse(vigFirstVirtue == "generosity", genuine_1,
                                   ifelse(vigFirstVirtue == "justice", genuine_2, NA))
  )


gjg <- gjg %>%
  mutate(
    deliberate_just = ifelse(vigFirstVirtue == "justice", deliberate_1,
                                    ifelse(vigFirstVirtue == "generosity", deliberate_2, NA)),
    deliberate_gen = ifelse(vigFirstVirtue == "generosity", deliberate_1,
                                   ifelse(vigFirstVirtue == "justice", deliberate_2, NA))
  )


gjg <- gjg %>%
  mutate(
    spontaneous_just = ifelse(vigFirstVirtue == "justice", spontaneous_1,
                                    ifelse(vigFirstVirtue == "generosity", spontaneous_2, NA)),
    spontaneous_gen = ifelse(vigFirstVirtue == "generosity", spontaneous_1,
                                   ifelse(vigFirstVirtue == "justice", spontaneous_2, NA))
  )


gjg <- gjg %>%
  mutate(
    emotion_just = ifelse(vigFirstVirtue == "justice", emotion_1,
                                    ifelse(vigFirstVirtue == "generosity", emotion_2, NA)),
    emotion_gen = ifelse(vigFirstVirtue == "generosity", emotion_1,
                                   ifelse(vigFirstVirtue == "justice", emotion_2, NA))
  )



gjg <- gjg %>%
  mutate(
    logic_just = ifelse(vigFirstVirtue == "justice", logic_1,
                                    ifelse(vigFirstVirtue == "generosity", logic_2, NA)),
    logic_gen = ifelse(vigFirstVirtue == "generosity", logic_1,
                                   ifelse(vigFirstVirtue == "justice", logic_2, NA))
  )


gjg <- gjg %>%
  mutate(
    quick_just = ifelse(vigFirstVirtue == "justice", quick_1,
                                    ifelse(vigFirstVirtue == "generosity", quick_2, NA)),
    quick_gen = ifelse(vigFirstVirtue == "generosity", quick_1,
                                   ifelse(vigFirstVirtue == "justice", quick_2, NA))
  )



gjg <- gjg %>%
  mutate(
    slow_just = ifelse(vigFirstVirtue == "justice", slow_1,
                                    ifelse(vigFirstVirtue == "generosity", slow_2, NA)),
    slow_gen = ifelse(vigFirstVirtue == "generosity", slow_1,
                                   ifelse(vigFirstVirtue == "justice", slow_2, NA))
  )


gjg <- gjg %>%
  mutate(
    warm_just = ifelse(vigFirstVirtue == "justice", warm_1,
                                    ifelse(vigFirstVirtue == "generosity", warm_2, NA)),
    warm_gen = ifelse(vigFirstVirtue == "generosity", warm_1,
                                   ifelse(vigFirstVirtue == "justice", warm_2, NA))
  )



gjg <- gjg %>%
  mutate(
    good_natured_just = ifelse(vigFirstVirtue == "justice", good_natured_1,
                                    ifelse(vigFirstVirtue == "generosity", good_natured_2, NA)),
    good_natured_gen = ifelse(vigFirstVirtue == "generosity", good_natured_1,
                                   ifelse(vigFirstVirtue == "justice", good_natured_2, NA))
  )


gjg <- gjg %>%
  mutate(
    tolerant_just = ifelse(vigFirstVirtue == "justice", tolerant_1,
                                    ifelse(vigFirstVirtue == "generosity", tolerant_2, NA)),
    tolerant_gen = ifelse(vigFirstVirtue == "generosity", tolerant_1,
                                   ifelse(vigFirstVirtue == "justice", tolerant_2, NA))
  )


gjg <- gjg %>%
  mutate(
    sincere_just = ifelse(vigFirstVirtue == "justice", sincere_1,
                                    ifelse(vigFirstVirtue == "generosity", sincere_2, NA)),
    sincere_gen = ifelse(vigFirstVirtue == "generosity", sincere_1,
                                   ifelse(vigFirstVirtue == "justice", sincere_2, NA))
  )


gjg <- gjg %>%
  mutate(
    competent_just = ifelse(vigFirstVirtue == "justice", competent_1,
                                    ifelse(vigFirstVirtue == "generosity", competent_2, NA)),
    competent_gen = ifelse(vigFirstVirtue == "generosity", competent_1,
                                   ifelse(vigFirstVirtue == "justice", competent_2, NA))
  )


gjg <- gjg %>%
  mutate(
    confident_just = ifelse(vigFirstVirtue == "justice", confident_1,
                                    ifelse(vigFirstVirtue == "generosity", confident_2, NA)),
    confident_gen = ifelse(vigFirstVirtue == "generosity", confident_1,
                                   ifelse(vigFirstVirtue == "justice", confident_2, NA))
  )


gjg <- gjg %>%
  mutate(
    independent_just = ifelse(vigFirstVirtue == "justice", independent_1,
                                    ifelse(vigFirstVirtue == "generosity", independent_2, NA)),
    independent_gen = ifelse(vigFirstVirtue == "generosity", independent_1,
                                   ifelse(vigFirstVirtue == "justice", independent_2, NA))
  )


gjg <- gjg %>%
  mutate(
    competitive_just = ifelse(vigFirstVirtue == "justice", competitive_1,
                                    ifelse(vigFirstVirtue == "generosity", competitive_2, NA)),
    competitive_gen = ifelse(vigFirstVirtue == "generosity", competitive_1,
                                   ifelse(vigFirstVirtue == "justice", competitive_2, NA))
  )


gjg <- gjg %>%
  mutate(
    intelligent_just = ifelse(vigFirstVirtue == "justice", intelligent_1,
                                    ifelse(vigFirstVirtue == "generosity", intelligent_2, NA)),
    intelligent_gen = ifelse(vigFirstVirtue == "generosity", intelligent_1,
                                   ifelse(vigFirstVirtue == "justice", intelligent_2, NA))
  )

gjg <- gjg %>%
  mutate(
    politics_just = ifelse(vigFirstVirtue == "justice", politics_1,
                                    ifelse(vigFirstVirtue == "generosity", politics_2, NA)),
    politics_gen = ifelse(vigFirstVirtue == "generosity", politics_1,
                                   ifelse(vigFirstVirtue == "justice", politics_2, NA))
  )

Attention check

Code
# filtering out failures/nonresponses to attention checks
length(gjg$pid)
gjg <- gjg %>%
  filter(!is.na(attn_bucket), attn_self>2, bot_check == 1)
length(gjg$pid)

18 participants failed the attention check.

Demographics

Code
# Analyzing numeric variables 
# Specify the variables you want to include in the table
vars_to_include <- c("age", "income", "education", "ses", "political_overall", "political_social", "political_economic", "religious")

# Create an empty data frame to store the summary
summary_table <- data.frame(Variable = character(0), 
                             Mean = numeric(0), 
                             Median = numeric(0),
                             Min = numeric(0), 
                             Max = numeric(0),
                             N = numeric(0))

# Loop through each variable and calculate summary statistics
for (var in vars_to_include) {
  summary_stats <- summary(gjg[[var]])
  var_data <- data.frame(Variable = var,
                         Mean = mean(gjg[[var]], na.rm = TRUE),
                         Median = median(gjg[[var]], na.rm = TRUE),
                         Min = min(gjg[[var]], na.rm = TRUE),
                         Max = max(gjg[[var]], na.rm = TRUE),
                         N = length(gjg[[var]]))
  summary_table <- rbind(summary_table, var_data)
}

# Print the summary table
print(summary_table)


# Analyzing categorical demos
# Subset your data frame to include only the demographic columns
demo_gjg <- gjg[, c("gender_TEXT", "race_TEXT", "income_TEXT", "education_TEXT", "political_party_TEXT")]

# Loop through each demographic column and calculate frequency counts
freq_tables <- list()

for (col in names(demo_gjg)) {
  {
    freq_table <- as.data.frame(table(demo_gjg[[col]]))
    freq_table$Percent <- round(freq_table$Freq / sum(freq_table$Freq) * 100, 2)
    freq_tables[[col]] <- freq_table
  }
}

# Print the frequency tables
for (i in seq_along(freq_tables)) {
  if (!is.null(freq_tables[[i]])) {
    cat("\nTable of frequencies for", names(freq_tables)[i], ":\n")
    print(freq_tables[[i]])
  }
}

Correlation

Code
cols_to_convert <- c("reputation_signal_just", "reputation_signal_gen", "norm_signal_just", "norm_signal_gen", "approval_just", "approval_gen", "moral_just", "moral_gen", "genuine_just", "genuine_gen", "deliberate_just", "deliberate_gen", "spontaneous_just", "spontaneous_gen", "emotion_just", "emotion_gen", "logic_just", "logic_gen", "quick_just", "quick_gen", "slow_just", "slow_gen", "warm_just", "warm_gen", "good_natured_just", "good_natured_gen", "tolerant_just", "tolerant_gen", "sincere_just", "sincere_gen", "competent_just", "competent_gen", "confident_just", "confident_gen", "independent_just", "independent_gen", "competitive_just", "competitive_gen", "intelligent_just", "intelligent_gen", "politics_just", "politics_gen", "age", "ses", "political_overall", "political_social", "political_economic")

gjg[cols_to_convert] <- lapply(gjg[cols_to_convert], as.numeric)


DVs <- gjg[c("reputation_signal_just", "reputation_signal_gen", "norm_signal_just", "norm_signal_gen", "approval_just", "approval_gen", "moral_just", "moral_gen", "genuine_just", "genuine_gen", "deliberate_just", "deliberate_gen", "spontaneous_just", "spontaneous_gen", "emotion_just", "emotion_gen", "logic_just", "logic_gen", "quick_just", "quick_gen", "slow_just", "slow_gen", "warm_just", "warm_gen", "good_natured_just", "good_natured_gen", "tolerant_just", "tolerant_gen", "sincere_just", "sincere_gen", "competent_just", "competent_gen", "confident_just", "confident_gen", "independent_just", "independent_gen", "competitive_just", "competitive_gen", "intelligent_just", "intelligent_gen", "politics_just", "politics_gen", "age", "ses", "political_overall", "political_social", "political_economic")]

# Compute pairwise correlations
corr_DVs <- cor(DVs, use = "pairwise.complete.obs")

# Plot the correlation matrix
corrplot(corr_DVs, is.corr = TRUE, type = "lower", lower = "circle", tl.cex = 0.7, insig = "label_sig", diag = TRUE)

Code
# New columns for composite of warmth and competence, moral goodness
gjg <- gjg %>%
  mutate(warmth_just=(warm_just+good_natured_just+tolerant_just+sincere_just)/4)%>%
  mutate(warmth_gen=(warm_gen+good_natured_gen+tolerant_gen+sincere_gen)/4)%>%
  mutate(competence_just=(competent_just+confident_just+independent_just+competitive_just+
                            intelligent_just)/5)%>%
  mutate(competence_gen=(competent_gen+confident_gen+independent_gen+competitive_gen+
                            intelligent_gen)/5) %>%
  mutate(moralGoodness_just=(approval_just+moral_just+genuine_just)/3)%>%
  mutate(moralGoodness_gen=(approval_gen+moral_gen+genuine_gen)/3) %>%
  mutate(decisionSpeed_just=(quick_just+spontaneous_just)/2)%>%
  mutate(decisionSpeed_gen=(quick_gen+spontaneous_gen)/2)

# DVs 2
DVs_2 <- gjg[c("reputation_signal_just", "reputation_signal_gen", "norm_signal_just", "norm_signal_gen", "approval_just", "approval_gen", "moral_just", "moral_gen", "genuine_just", "genuine_gen", "deliberate_just", "deliberate_gen", "spontaneous_just", "spontaneous_gen", "emotion_just", "emotion_gen", "logic_just", "logic_gen", "quick_just", "quick_gen", "slow_just", "slow_gen", "warmth_just", "warmth_gen", "competence_just", "competence_gen", "moralGoodness_just", "moralGoodness_gen", "decisionSpeed_just", "decisionSpeed_gen", "politics_just", "politics_gen", "age", "ses", "political_overall", "political_social", "political_economic")]

# Compute pairwise correlations
corr_DVs_2 <- cor(DVs_2, use = "pairwise.complete.obs")

# Plot the correlation matrix
corrplot(corr_DVs_2, is.corr = TRUE, type = "lower", lower = "circle", tl.cex = 0.7, insig = "label_sig", diag = TRUE)

Code
# DVs just
DVs_just <- gjg[c("reputation_signal_just", "norm_signal_just", "approval_just", "moral_just", "genuine_just", "deliberate_just", "spontaneous_just", "emotion_just", "logic_just", "quick_just", "slow_just", "warmth_just", "competence_just", "politics_just", "age", "ses", "political_overall", "political_social", "political_economic")]

# Compute pairwise correlations
corr_DVs_just <- cor(DVs_just, use = "pairwise.complete.obs")

# Plot the correlation matrix
corrplot(corr_DVs_just, is.corr = TRUE, type = "lower", lower = "circle", tl.cex = 0.7, insig = "label_sig", diag = TRUE)

Code
# DVs gen
DVs_gen <- gjg[c("reputation_signal_gen", "norm_signal_gen", "approval_gen", "moral_gen", "genuine_gen", "deliberate_gen", "spontaneous_gen", "emotion_gen", "logic_gen", "quick_gen", "slow_gen", "warmth_gen", "competence_gen", "politics_gen", "age", "ses", "political_overall", "political_social", "political_economic")]

# Compute pairwise correlations
corr_DVs_gen <- cor(DVs_gen, use = "pairwise.complete.obs")

# Plot the correlation matrix
corrplot(corr_DVs_gen, is.corr = TRUE, type = "lower", lower = "circle", tl.cex = 0.7, insig = "label_sig", diag = TRUE)

Code
# DVs collapsed

# renaming DVs with underscores in name
gjg <- gjg %>%
  dplyr::rename("reputationSignal_just"="reputation_signal_just",
         "reputationSignal_gen"="reputation_signal_gen",
         "normSignal_just"="norm_signal_just", 
         "normSignal_gen"="norm_signal_gen",
         "goodNatured_gen"="good_natured_gen",
         "goodNatured_just"="good_natured_just")

gjg_long<-gjg %>% gather(DV, resp, "reputationSignal_just","reputationSignal_gen","normSignal_just","normSignal_gen","approval_just","approval_gen","moral_just","moral_gen","genuine_just","genuine_gen","deliberate_just","deliberate_gen","spontaneous_just","spontaneous_gen","emotion_just","emotion_gen","logic_just","logic_gen","quick_just","quick_gen","slow_just","slow_gen","warm_just","warm_gen","goodNatured_just","goodNatured_gen","tolerant_just","tolerant_gen","sincere_just","sincere_gen","competent_just","competent_gen","confident_just","confident_gen", "independent_just","independent_gen","competitive_just","competitive_gen","intelligent_just","intelligent_gen","warmth_just","warmth_gen","competence_just","competence_gen", "moralGoodness_just", "moralGoodness_gen", "decisionSpeed_just", "decisionSpeed_gen", "politics_just", "politics_gen")

gjg_long<-gjg_long %>%
  separate(DV, into= c("DV", "motive"), sep="_")

gjg_long <- spread(gjg_long, DV, resp)

gjg_long <- gjg_long %>%
  mutate(
    cell = case_when(
      motive == "gen" & condition == "firstPerson" ~ "genFirst",
      motive == "just" & condition == "firstPerson" ~ "justFirst",
      motive == "gen" & condition == "thirdPerson" ~ "genThird",
      motive == "just" & condition == "thirdPerson" ~ "justThird",
      TRUE ~ NA_character_
    )
  )

gjg_long$cell <- as.factor(gjg_long$cell)


gjg_long <- gjg_long %>%
  mutate(
    motive_order = if_else(grepl("gen.*First", vigOrder), "genFirst", "justFirst"),
    text_order = if_else(grepl("genCommit|justiceValue", vigOrder), "genCommitJustValue", "genValueJustCommit")
  )

DVs_col <- gjg_long[c("reputationSignal","normSignal", "approval", "moral", "genuine", "deliberate", "spontaneous", "emotion", "logic", "quick", "slow", "warm", "goodNatured", "tolerant", "sincere", "competent", "confident", "independent", "competitive", "intelligent", "warmth", "competence","politics", "age", "ses", "political_overall", "political_social", "political_economic")]

# Compute pairwise correlations
corr_DVs_col <- cor(DVs_col, use = "pairwise.complete.obs")

# Plot the correlation matrix
corrplot(corr_DVs_col, is.corr = TRUE, type = "lower", lower = "circle", tl.cex = 0.7, insig = "label_sig", diag = TRUE)

EFA

Evaluating the correlation matrix

Code
factorCor <- cor(factorDVs, use = "complete.obs")

# Assuming you have a correlation matrix named "correlation_matrix"
correlation_threshold <- 0.8
high_correlations <- which(factorCor > correlation_threshold & upper.tri(factorCor, diag = FALSE), arr.ind = TRUE)

# Extract the row and column indices of high correlations
row_indices <- high_correlations[, 1]
column_indices <- high_correlations[, 2]

# Extract the correlations greater than 0.8
high_correlation_values <- factorCor[high_correlations]

# Print the results
high_correlation_results <- data.frame(row_indices, column_indices, high_correlation_values)
print(high_correlation_results)
[1] row_indices             column_indices          high_correlation_values
<0 rows> (or 0-length row.names)
Code
# removing one from all pairs of overcorrelated variables
# overcorrelated <- c("")
# efaDVs <- factorDVs[ ,!(names(factorDVs) %in% overcorrelated)]
efaDVs <- factorDVs

Determining number of factors

  • Eigenvalues suggests 5 factors

  • Scree plot suggests 2 or 5 factors

  • Parallel Analysis suggests 5

Code
## evaluating data
corr_DVs = cor(efaDVs, use="complete.obs")
KMO(efaDVs)
Kaiser-Meyer-Olkin factor adequacy
Call: KMO(r = efaDVs)
Overall MSA =  0.91
MSA for each item = 
reputationSignal       normSignal         approval            moral 
            0.75             0.86             0.94             0.93 
         genuine       deliberate      spontaneous          emotion 
            0.90             0.90             0.66             0.97 
           logic            quick             slow             warm 
            0.94             0.73             0.51             0.92 
     goodNatured         tolerant          sincere        competent 
            0.92             0.95             0.94             0.92 
       confident      independent      competitive      intelligent 
            0.92             0.94             0.68             0.93 
Code
cortest.bartlett(efaDVs) #tests correlations between variables
$chisq
[1] 6519.918

$p.value
[1] 0

$df
[1] 190
Code
##
ev<-eigen(corr_DVs) #gets eigenvalues (variance explained by each component)
ev$values
 [1] 6.8923410 1.9738662 1.3929245 1.0964470 1.0788579 0.9758261 0.7531114
 [8] 0.6948114 0.6414953 0.6159228 0.5415679 0.5180464 0.4895430 0.4828014
[15] 0.4031495 0.3605107 0.3192614 0.3153296 0.2393467 0.2148400
Code
scree(factorDVs, pc = FALSE) #number of factors until plot levels off

Code
fa.parallel(factorDVs, fa="fa") #checks eigenvalues of factors against eigenvalues of identity (no correlation) matrix

Parallel analysis suggests that the number of factors =  5  and the number of components =  NA 
Code
dat_fa <- na.omit(DVs)

5 Factors

Code
fit <- factanal(na.omit(efaDVs), factors=5, rotation="promax", scores = "regression")
print(fit, digits = 2, cutoff = .3, sort = TRUE)

Call:
factanal(x = na.omit(efaDVs), factors = 5, scores = "regression",     rotation = "promax")

Uniquenesses:
reputationSignal       normSignal         approval            moral 
            0.45             0.72             0.34             0.34 
         genuine       deliberate      spontaneous          emotion 
            0.24             0.81             0.81             0.73 
           logic            quick             slow             warm 
            0.72             0.00             0.89             0.28 
     goodNatured         tolerant          sincere        competent 
            0.26             0.50             0.29             0.35 
       confident      independent      competitive      intelligent 
            0.55             0.53             0.64             0.39 

Loadings:
                 Factor1 Factor2 Factor3 Factor4 Factor5
approval          0.81                                  
moral             0.74                                  
genuine           0.95                                  
sincere           0.53                                  
competent                 0.85                          
confident                 0.64                          
independent               0.62                          
intelligent               0.79                          
warm                              0.75                  
goodNatured                       0.74                  
quick                                     1.01          
reputationSignal                                  0.74  
normSignal        0.36                            0.42  
deliberate        0.38                                  
spontaneous                               0.39          
emotion           0.34                                  
logic             0.38                                  
slow                                                    
tolerant                          0.49                  
competitive                                       0.45  

               Factor1 Factor2 Factor3 Factor4 Factor5
SS loadings       3.03    2.46    1.74    1.24    1.12
Proportion Var    0.15    0.12    0.09    0.06    0.06
Cumulative Var    0.15    0.27    0.36    0.42    0.48

Factor Correlations:
        Factor1 Factor2 Factor3 Factor4 Factor5
Factor1    1.00   0.199   0.186   0.297    0.33
Factor2    0.20   1.000   0.038   0.629    0.71
Factor3    0.19   0.038   1.000  -0.097    0.26
Factor4    0.30   0.629  -0.097   1.000    0.55
Factor5    0.33   0.711   0.262   0.554    1.00

Test of the hypothesis that 5 factors are sufficient.
The chi square statistic is 246.68 on 100 degrees of freedom.
The p-value is 2.14e-14 
Code
loads <- fit$loadings
fa.diagram(loads)

Code
## Cronbach's Alpha
f1 <- efaDVs[ , c("approval", "moral", "genuine", "sincere", "deliberate", "emotion", "logic")]
f2 <- efaDVs[ , c("competent", "confident", "independent", "intelligent")]
f3 <- efaDVs[ , c("warm", "goodNatured", "tolerant")]
f4 <- efaDVs[ , c("quick", "spontaneous")]
f5 <- efaDVs[ , c("reputationSignal", "normSignal", "competitive")]
alpha(f1)

Reliability analysis   
Call: alpha(x = f1)

  raw_alpha std.alpha G6(smc) average_r S/N    ase mean   sd median_r
      0.84      0.84    0.84      0.43 5.3 0.0086  3.8 0.73     0.39

    95% confidence boundaries 
         lower alpha upper
Feldt     0.82  0.84  0.86
Duhachek  0.82  0.84  0.86

 Reliability if an item is dropped:
           raw_alpha std.alpha G6(smc) average_r S/N alpha se var.r med.r
approval        0.80      0.80    0.79      0.40 4.0   0.0112 0.025  0.36
moral           0.80      0.80    0.80      0.41 4.1   0.0109 0.024  0.39
genuine         0.79      0.80    0.79      0.40 3.9   0.0113 0.022  0.39
sincere         0.80      0.80    0.79      0.40 4.0   0.0113 0.026  0.36
deliberate      0.85      0.85    0.85      0.49 5.8   0.0085 0.026  0.40
emotion         0.84      0.84    0.84      0.47 5.3   0.0088 0.031  0.39
logic           0.84      0.84    0.84      0.47 5.4   0.0086 0.032  0.40

 Item statistics 
             n raw.r std.r r.cor r.drop mean   sd
approval   786  0.82  0.82  0.80   0.73  4.0 0.97
moral      786  0.79  0.80  0.78   0.70  3.9 0.96
genuine    786  0.82  0.83  0.82   0.74  3.8 1.02
sincere    786  0.82  0.82  0.80   0.73  3.8 1.03
deliberate 786  0.54  0.54  0.41   0.38  4.1 0.95
emotion    786  0.61  0.61  0.49   0.46  3.7 1.04
logic      786  0.62  0.60  0.49   0.45  3.4 1.12

Non missing response frequency for each item
              1    2    3    4    5 miss
approval   0.01 0.07 0.22 0.32 0.39    0
moral      0.01 0.07 0.28 0.34 0.30    0
genuine    0.02 0.09 0.25 0.34 0.30    0
sincere    0.03 0.08 0.25 0.34 0.30    0
deliberate 0.01 0.05 0.19 0.34 0.41    0
emotion    0.03 0.11 0.26 0.36 0.24    0
logic      0.04 0.18 0.29 0.28 0.20    0
Code
alpha(f2)

Reliability analysis   
Call: alpha(x = f2)

  raw_alpha std.alpha G6(smc) average_r S/N   ase mean  sd median_r
      0.81      0.81    0.77      0.52 4.4 0.011  3.8 0.7     0.52

    95% confidence boundaries 
         lower alpha upper
Feldt     0.79  0.81  0.83
Duhachek  0.79  0.81  0.83

 Reliability if an item is dropped:
            raw_alpha std.alpha G6(smc) average_r S/N alpha se   var.r med.r
competent        0.74      0.74    0.66      0.49 2.9    0.016 0.00142  0.47
confident        0.79      0.80    0.73      0.57 3.9    0.013 0.00358  0.53
independent      0.77      0.77    0.71      0.53 3.4    0.014 0.00799  0.50
intelligent      0.75      0.75    0.67      0.50 3.0    0.015 0.00078  0.50

 Item statistics 
              n raw.r std.r r.cor r.drop mean   sd
competent   786  0.83  0.83  0.76   0.68  3.8 0.87
confident   786  0.76  0.76  0.63   0.57  3.9 0.86
independent 786  0.81  0.79  0.68   0.62  3.7 0.96
intelligent 786  0.81  0.82  0.75   0.67  3.7 0.83

Non missing response frequency for each item
               1    2    3    4    5 miss
competent   0.01 0.04 0.33 0.38 0.24    0
confident   0.00 0.03 0.30 0.37 0.30    0
independent 0.02 0.07 0.31 0.36 0.25    0
intelligent 0.01 0.04 0.38 0.40 0.18    0
Code
alpha(f3)

Reliability analysis   
Call: alpha(x = f3)

  raw_alpha std.alpha G6(smc) average_r S/N  ase mean   sd median_r
      0.84      0.84    0.79      0.63 5.2 0.01  3.6 0.85     0.59

    95% confidence boundaries 
         lower alpha upper
Feldt     0.82  0.84  0.86
Duhachek  0.82  0.84  0.86

 Reliability if an item is dropped:
            raw_alpha std.alpha G6(smc) average_r S/N alpha se var.r med.r
warm             0.74      0.74    0.58      0.58 2.8    0.019    NA  0.58
goodNatured      0.74      0.74    0.59      0.59 2.9    0.018    NA  0.59
tolerant         0.84      0.84    0.73      0.73 5.4    0.011    NA  0.73

 Item statistics 
              n raw.r std.r r.cor r.drop mean   sd
warm        786  0.89  0.89  0.82   0.74  3.6 1.00
goodNatured 786  0.89  0.89  0.81   0.74  3.8 0.97
tolerant    786  0.83  0.83  0.68   0.63  3.5 0.95

Non missing response frequency for each item
               1    2    3    4    5 miss
warm        0.01 0.11 0.32 0.33 0.22    0
goodNatured 0.01 0.10 0.29 0.34 0.26    0
tolerant    0.01 0.11 0.39 0.31 0.19    0
Code
alpha(f4)

Reliability analysis   
Call: alpha(x = f4)

  raw_alpha std.alpha G6(smc) average_r S/N   ase mean   sd median_r
      0.59      0.59    0.42      0.42 1.5 0.029  2.9 0.98     0.42

    95% confidence boundaries 
         lower alpha upper
Feldt     0.53  0.59  0.65
Duhachek  0.54  0.59  0.65

 Reliability if an item is dropped:
            raw_alpha std.alpha G6(smc) average_r  S/N alpha se var.r med.r
quick            0.39      0.42    0.18      0.42 0.73       NA     0  0.42
spontaneous      0.46      0.42    0.18      0.42 0.73       NA     0  0.42

 Item statistics 
              n raw.r std.r r.cor r.drop mean  sd
quick       785  0.83  0.84  0.55   0.42  3.1 1.1
spontaneous 786  0.86  0.84  0.55   0.42  2.7 1.2

Non missing response frequency for each item
               1    2    3    4    5 miss
quick       0.09 0.20 0.34 0.26 0.11    0
spontaneous 0.20 0.26 0.28 0.17 0.08    0
Code
alpha(f5)

Reliability analysis   
Call: alpha(x = f5)

  raw_alpha std.alpha G6(smc) average_r  S/N   ase mean   sd median_r
       0.5      0.49    0.41      0.24 0.97 0.031    3 0.87     0.22

    95% confidence boundaries 
         lower alpha upper
Feldt     0.43   0.5  0.55
Duhachek  0.44   0.5  0.56

 Reliability if an item is dropped:
                 raw_alpha std.alpha G6(smc) average_r  S/N alpha se var.r
reputationSignal      0.26      0.26    0.15      0.15 0.34    0.053    NA
normSignal            0.54      0.54    0.37      0.37 1.16    0.033    NA
competitive           0.36      0.36    0.22      0.22 0.56    0.046    NA
                 med.r
reputationSignal  0.15
normSignal        0.37
competitive       0.22

 Item statistics 
                   n raw.r std.r r.cor r.drop mean  sd
reputationSignal 786  0.77  0.75  0.55   0.39  2.8 1.3
normSignal       786  0.63  0.65  0.31   0.22  3.5 1.2
competitive      786  0.71  0.72  0.48   0.34  2.8 1.2

Non missing response frequency for each item
                    1    2    3    4    5 miss
reputationSignal 0.22 0.21 0.26 0.19 0.13    0
normSignal       0.06 0.14 0.24 0.32 0.24    0
competitive      0.18 0.24 0.31 0.18 0.09    0

CFA

First & Third Results

Factor 1: Warmth

Code
mod_warmth <- lmer(warmth ~ motive*condition + (1 | pid), data = gjg_long)
summary(mod_warmth)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: warmth ~ motive * condition + (1 | pid)
   Data: gjg_long

REML criterion at convergence: 1845

Scaled residuals: 
     Min       1Q   Median       3Q      Max 
-3.13249 -0.41753  0.01513  0.51663  2.48162 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.3036   0.5510  
 Residual             0.3716   0.6096  
Number of obs: 786, groups:  pid, 393

Fixed effects:
                                 Estimate Std. Error        df t value Pr(>|t|)
(Intercept)                       3.51531    0.05870 650.48650  59.890  < 2e-16
motivejust                        0.04847    0.06158 391.00004   0.787   0.4317
conditionthirdPerson              0.38571    0.08290 650.48650   4.653 3.97e-06
motivejust:conditionthirdPerson  -0.17537    0.08698 391.00004  -2.016   0.0445
                                   
(Intercept)                     ***
motivejust                         
conditionthirdPerson            ***
motivejust:conditionthirdPerson *  
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst cndtnP
motivejust  -0.525              
cndtnthrdPr -0.708  0.371       
mtvjst:cndP  0.371 -0.708 -0.525
Code
warmthP <- ggplot(gjg_long,  aes(x = cell, y = warmth, color = cell)) +
  xlab("") +
  ylab("") +
  geom_point(stat="summary", fun="mean", size = 5) +
  stat_summary(fun.data = "mean_cl_normal", geom = "errorbar", linewidth = 1.5, width = .3) +
  geom_point(position = position_jitter(width = 0.1, height = 0.1), alpha = 0.4) +
    labs(x = "", y = "", title = "Warmth (N = 393)") +
    theme(
        plot.title = element_text(hjust = 0.5, size = 25),
        axis.text.x = element_text(face = "plain", size = 23, color = "black"),
        axis.text.y = element_text(face = "plain", size = 20, color = "black"),
        axis.title.y = element_text(face = "plain", size = 23, color = "black"), 
        axis.title.x = element_text(face = "plain", size = 20, color = "black"), ) +
  scale_x_discrete(labels = c("First Person \n\ Generosity-motivated \n\ Donor", "First Person \n\ Justice-motivated \n\ Donor", "Third Person \n\ Generosity-motivated \n\ Donor", "Third Person \n\ Justice-motivated \n\ Donor"))

ggpar(warmthP, legend = "none") + scale_color_manual(values = c("genFirst" = "#7CCCB0", "justFirst" = "#D193DC", "genThird" = "#cc917c", "justThird" = "#4e2de0" ))

Factor 2: Competence

Code
mod_competence <- lmer(competence ~ motive*condition + (1 | pid), data = gjg_long)
summary(mod_competence)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: competence ~ motive * condition + (1 | pid)
   Data: gjg_long

REML criterion at convergence: 1060.8

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-4.1156 -0.3543 -0.0019  0.3200  3.9613 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.33381  0.5778  
 Residual             0.06669  0.2582  
Number of obs: 786, groups:  pid, 393

Fixed effects:
                                 Estimate Std. Error        df t value Pr(>|t|)
(Intercept)                     3.462e+00  4.520e-02 4.614e+02  76.593  < 2e-16
motivejust                      1.143e-01  2.609e-02 3.910e+02   4.381 1.52e-05
conditionthirdPerson            1.327e-01  6.385e-02 4.614e+02   2.078   0.0383
motivejust:conditionthirdPerson 3.481e-03  3.684e-02 3.910e+02   0.094   0.9248
                                   
(Intercept)                     ***
motivejust                      ***
conditionthirdPerson            *  
motivejust:conditionthirdPerson    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst cndtnP
motivejust  -0.289              
cndtnthrdPr -0.708  0.204       
mtvjst:cndP  0.204 -0.708 -0.289
Code
compP <- ggplot(gjg_long,  aes(x = cell, y = competence, color = cell)) +
  xlab("") +
  ylab("") +
  geom_point(stat="summary", fun="mean", size = 5) +
  stat_summary(fun.data = "mean_cl_normal", geom = "errorbar", linewidth = 1.5, width = .3) +
  geom_point(position = position_jitter(width = 0.1, height = 0.1), alpha = 0.4) +
    labs(x = "", y = "", title = "Competence (N = 393)") +
    theme(
        plot.title = element_text(hjust = 0.5, size = 25),
        axis.text.x = element_text(face = "plain", size = 23, color = "black"),
        axis.text.y = element_text(face = "plain", size = 20, color = "black"),
        axis.title.y = element_text(face = "plain", size = 23, color = "black"), 
        axis.title.x = element_text(face = "plain", size = 20, color = "black"), ) +
  scale_x_discrete(labels = c("First Person \n\ Generosity-motivated \n\ Donor", "First Person \n\ Justice-motivated \n\ Donor", "Third Person \n\ Generosity-motivated \n\ Donor", "Third Person \n\ Justice-motivated \n\ Donor"))

ggpar(compP, legend = "none") + scale_color_manual(values = c("genFirst" = "#7CCCB0", "justFirst" = "#D193DC", "genThird" = "#cc917c", "justThird" = "#4e2de0" ))

Factor 3: Moral Goodness

Code
mod_moral <- lmer(moralGoodness ~ motive*condition + (1 | pid), data = gjg_long)
summary(mod_moral)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: moralGoodness ~ motive * condition + (1 | pid)
   Data: gjg_long

REML criterion at convergence: 1809.3

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-3.8826 -0.4075  0.0662  0.4224  3.1118 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.4241   0.6512  
 Residual             0.2914   0.5398  
Number of obs: 786, groups:  pid, 393

Fixed effects:
                                 Estimate Std. Error        df t value Pr(>|t|)
(Intercept)                       3.53401    0.06042 578.68805  58.491  < 2e-16
motivejust                        0.29252    0.05453 391.00001   5.364 1.39e-07
conditionthirdPerson              0.55566    0.08534 578.68805   6.511 1.62e-10
motivejust:conditionthirdPerson  -0.25022    0.07702 391.00001  -3.249  0.00126
                                   
(Intercept)                     ***
motivejust                      ***
conditionthirdPerson            ***
motivejust:conditionthirdPerson ** 
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst cndtnP
motivejust  -0.451              
cndtnthrdPr -0.708  0.319       
mtvjst:cndP  0.319 -0.708 -0.451
Code
moralP <- ggplot(gjg_long,  aes(x = cell, y = moralGoodness, color = cell)) +
  xlab("") +
  ylab("") +
  geom_point(stat="summary", fun="mean", size = 5) +
  stat_summary(fun.data = "mean_cl_normal", geom = "errorbar", linewidth = 1.5, width = .3) +
  geom_point(position = position_jitter(width = 0.1, height = 0.1), alpha = 0.4) +
    labs(x = "", y = "", title = "Moral Goodness (N = 393)") +
    theme(
        plot.title = element_text(hjust = 0.5, size = 25),
        axis.text.x = element_text(face = "plain", size = 23, color = "black"),
        axis.text.y = element_text(face = "plain", size = 20, color = "black"),
        axis.title.y = element_text(face = "plain", size = 23, color = "black"), 
        axis.title.x = element_text(face = "plain", size = 20, color = "black"), ) +
  scale_x_discrete(labels = c("First Person \n\ Generosity-motivated \n\ Donor", "First Person \n\ Justice-motivated \n\ Donor", "Third Person \n\ Generosity-motivated \n\ Donor", "Third Person \n\ Justice-motivated \n\ Donor"))

ggpar(moralP, legend = "none") + scale_color_manual(values = c("genFirst" = "#7CCCB0", "justFirst" = "#D193DC", "genThird" = "#cc917c", "justThird" = "#4e2de0" ))

Factor 4: Decision Speed

Code
mod_speed <- lmer(decisionSpeed ~ motive*condition + (1 | pid), data = gjg_long)
summary(mod_speed)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: decisionSpeed ~ motive * condition + (1 | pid)
   Data: gjg_long

REML criterion at convergence: 1911.8

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-3.7687 -0.3725 -0.0089  0.3010  3.8506 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.7013   0.8374  
 Residual             0.2608   0.5107  
Number of obs: 785, groups:  pid, 393

Fixed effects:
                                 Estimate Std. Error        df t value Pr(>|t|)
(Intercept)                       2.90561    0.07006 510.48252  41.473   <2e-16
motivejust                       -0.04592    0.05159 390.13691  -0.890    0.374
conditionthirdPerson              0.01531    0.09901 511.32651   0.155    0.877
motivejust:conditionthirdPerson  -0.06282    0.07295 390.36912  -0.861    0.390
                                   
(Intercept)                     ***
motivejust                         
conditionthirdPerson               
motivejust:conditionthirdPerson    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst cndtnP
motivejust  -0.368              
cndtnthrdPr -0.708  0.261       
mtvjst:cndP  0.260 -0.707 -0.369
Code
speedP <- ggplot(gjg_long,  aes(x = cell, y = decisionSpeed, color = cell)) +
  xlab("") +
  ylab("") +
  geom_point(stat="summary", fun="mean", size = 5) +
  stat_summary(fun.data = "mean_cl_normal", geom = "errorbar", linewidth = 1.5, width = .3) +
  geom_point(position = position_jitter(width = 0.1, height = 0.1), alpha = 0.4) +
    labs(x = "", y = "", title = "Decision Speed (N = 393)") +
    theme(
        plot.title = element_text(hjust = 0.5, size = 25),
        axis.text.x = element_text(face = "plain", size = 23, color = "black"),
        axis.text.y = element_text(face = "plain", size = 20, color = "black"),
        axis.title.y = element_text(face = "plain", size = 23, color = "black"), 
        axis.title.x = element_text(face = "plain", size = 20, color = "black"), ) +
  scale_x_discrete(labels = c("First Person \n\ Generosity-motivated \n\ Donor", "First Person \n\ Justice-motivated \n\ Donor", "Third Person \n\ Generosity-motivated \n\ Donor", "Third Person \n\ Justice-motivated \n\ Donor"))

ggpar(speedP, legend = "none") + scale_color_manual(values = c("genFirst" = "#7CCCB0", "justFirst" = "#D193DC", "genThird" = "#cc917c", "justThird" = "#4e2de0" ))

Factor 5: Signaling

Code
mod_rep <- lmer(reputationSignal ~ motive*condition + (1 | pid), data = gjg_long)
summary(mod_rep)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: reputationSignal ~ motive * condition + (1 | pid)
   Data: gjg_long

REML criterion at convergence: 2471.5

Scaled residuals: 
     Min       1Q   Median       3Q      Max 
-2.38197 -0.53790 -0.05146  0.48753  2.65088 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.9904   0.9952  
 Residual             0.6790   0.8240  
Number of obs: 786, groups:  pid, 393

Fixed effects:
                                 Estimate Std. Error        df t value Pr(>|t|)
(Intercept)                       3.24490    0.09229 578.41515  35.159  < 2e-16
motivejust                       -0.43878    0.08324 391.00001  -5.271 2.25e-07
conditionthirdPerson             -0.60530    0.13035 578.41515  -4.644 4.24e-06
motivejust:conditionthirdPerson   0.29157    0.11757 391.00001   2.480   0.0136
                                   
(Intercept)                     ***
motivejust                      ***
conditionthirdPerson            ***
motivejust:conditionthirdPerson *  
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst cndtnP
motivejust  -0.451              
cndtnthrdPr -0.708  0.319       
mtvjst:cndP  0.319 -0.708 -0.451
Code
repP <- ggplot(gjg_long,  aes(x = cell, y = reputationSignal, color = cell)) +
  xlab("") +
  ylab("") +
  geom_point(stat="summary", fun="mean", size = 5) +
  stat_summary(fun.data = "mean_cl_normal", geom = "errorbar", linewidth = 1.5, width = .3) +
  geom_point(position = position_jitter(width = 0.1, height = 0.1), alpha = 0.4) +
    labs(x = "", y = "", title = "Reputation Signaling (N = 393)") +
    theme(
        plot.title = element_text(hjust = 0.5, size = 25),
        axis.text.x = element_text(face = "plain", size = 23, color = "black"),
        axis.text.y = element_text(face = "plain", size = 20, color = "black"),
        axis.title.y = element_text(face = "plain", size = 23, color = "black"), 
        axis.title.x = element_text(face = "plain", size = 20, color = "black"), ) +
  scale_x_discrete(labels = c("First Person \n\ Generosity-motivated \n\ Donor", "First Person \n\ Justice-motivated \n\ Donor", "Third Person \n\ Generosity-motivated \n\ Donor", "Third Person \n\ Justice-motivated \n\ Donor"))

ggpar(repP, legend = "none") + scale_color_manual(values = c("genFirst" = "#7CCCB0", "justFirst" = "#D193DC", "genThird" = "#cc917c", "justThird" = "#4e2de0" ))

Code
plot_cooker("cell", "normSignal", "Norm Signal", c("genFirst", "justFirst", "genThird", "justThird")," ", 393)

Code
mod_norm <- lmer(normSignal ~ motive*condition + (1 | pid), data = gjg_long)
summary(mod_norm)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: normSignal ~ motive * condition + (1 | pid)
   Data: gjg_long

REML criterion at convergence: 2391.2

Scaled residuals: 
     Min       1Q   Median       3Q      Max 
-2.80630 -0.47631 -0.01999  0.54098  2.29947 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.6296   0.7935  
 Residual             0.7368   0.8584  
Number of obs: 786, groups:  pid, 393

Fixed effects:
                                 Estimate Std. Error        df t value Pr(>|t|)
(Intercept)                       3.39796    0.08350 645.04671  40.696  < 2e-16
motivejust                        0.38265    0.08671 391.00000   4.413 1.32e-05
conditionthirdPerson             -0.03248    0.11793 645.04671  -0.275    0.783
motivejust:conditionthirdPerson  -0.17961    0.12247 391.00000  -1.467    0.143
                                   
(Intercept)                     ***
motivejust                      ***
conditionthirdPerson               
motivejust:conditionthirdPerson    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst cndtnP
motivejust  -0.519              
cndtnthrdPr -0.708  0.368       
mtvjst:cndP  0.368 -0.708 -0.519
Code
speedP <- ggplot(gjg_long,  aes(x = cell, y = normSignal, color = cell)) +
  xlab("") +
  ylab("") +
  geom_point(stat="summary", fun="mean", size = 5) +
  stat_summary(fun.data = "mean_cl_normal", geom = "errorbar", linewidth = 1.5, width = .3) +
  geom_point(position = position_jitter(width = 0.1, height = 0.1), alpha = 0.4) +
    labs(x = "", y = "", title = "Norm Signaling (N = 393)") +
    theme(
        plot.title = element_text(hjust = 0.5, size = 25),
        axis.text.x = element_text(face = "plain", size = 23, color = "black"),
        axis.text.y = element_text(face = "plain", size = 20, color = "black"),
        axis.title.y = element_text(face = "plain", size = 23, color = "black"), 
        axis.title.x = element_text(face = "plain", size = 20, color = "black"), ) +
  scale_x_discrete(labels = c("First Person \n\ Generosity-motivated \n\ Donor", "First Person \n\ Justice-motivated \n\ Donor", "Third Person \n\ Generosity-motivated \n\ Donor", "Third Person \n\ Justice-motivated \n\ Donor"))

ggpar(speedP, legend = "none") + scale_color_manual(values = c("genFirst" = "#7CCCB0", "justFirst" = "#D193DC", "genThird" = "#cc917c", "justThird" = "#4e2de0" ))

Factor 6: Emotion

Code
mod_emotion <- lmer(emotion ~ motive*condition + (1 | pid), data = gjg_long)
summary(mod_emotion)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: emotion ~ motive * condition + (1 | pid)
   Data: gjg_long

REML criterion at convergence: 2222.7

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-3.0068 -0.4797  0.1055  0.5719  2.0831 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.4062   0.6373  
 Residual             0.6525   0.8078  
Number of obs: 786, groups:  pid, 393

Fixed effects:
                                Estimate Std. Error       df t value Pr(>|t|)
(Intercept)                       3.4031     0.0735 681.6623  46.302  < 2e-16
motivejust                        0.2500     0.0816 391.0000   3.064  0.00234
conditionthirdPerson              0.4903     0.1038 681.6623   4.724 2.82e-06
motivejust:conditionthirdPerson  -0.3617     0.1153 391.0000  -3.138  0.00183
                                   
(Intercept)                     ***
motivejust                      ** 
conditionthirdPerson            ***
motivejust:conditionthirdPerson ** 
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst cndtnP
motivejust  -0.555              
cndtnthrdPr -0.708  0.393       
mtvjst:cndP  0.393 -0.708 -0.555
Code
emotionP <- ggplot(gjg_long,  aes(x = cell, y = emotion, color = cell)) +
  xlab("") +
  ylab("") +
  geom_point(stat="summary", fun="mean", size = 5) +
  stat_summary(fun.data = "mean_cl_normal", geom = "errorbar", linewidth = 1.5, width = .3) +
  geom_point(position = position_jitter(width = 0.1, height = 0.1), alpha = 0.4) +
    labs(x = "", y = "", title = "Emotion (N = 393)") +
    theme(
        plot.title = element_text(hjust = 0.5, size = 25),
        axis.text.x = element_text(face = "plain", size = 23, color = "black"),
        axis.text.y = element_text(face = "plain", size = 20, color = "black"),
        axis.title.y = element_text(face = "plain", size = 23, color = "black"), 
        axis.title.x = element_text(face = "plain", size = 20, color = "black"), ) +
  scale_x_discrete(labels = c("First Person \n\ Generosity-motivated \n\ Donor", "First Person \n\ Justice-motivated \n\ Donor", "Third Person \n\ Generosity-motivated \n\ Donor", "Third Person \n\ Justice-motivated \n\ Donor"))

ggpar(emotionP, legend = "none") + scale_color_manual(values = c("genFirst" = "#7CCCB0", "justFirst" = "#D193DC", "genThird" = "#cc917c", "justThird" = "#4e2de0" ))

First Person Results

Factor 1: Warmth

Code
first_gjg_long <- gjg_long %>% filter(condition == "firstPerson")

mod_warmth <- lmer(warmth ~ motive + (1 | pid), data = first_gjg_long)
summary(mod_warmth)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: warmth ~ motive + (1 | pid)
   Data: first_gjg_long

REML criterion at convergence: 936.7

Scaled residuals: 
     Min       1Q   Median       3Q      Max 
-3.02687 -0.39571  0.01858  0.49339  2.43231 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.3666   0.6055  
 Residual             0.3616   0.6014  
Number of obs: 392, groups:  pid, 196

Fixed effects:
             Estimate Std. Error        df t value Pr(>|t|)    
(Intercept)   3.51531    0.06096 311.14137  57.669   <2e-16 ***
motivejust    0.04847    0.06075 195.00000   0.798    0.426    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
           (Intr)
motivejust -0.498
Code
first_warmthP <- ggplot(first_gjg_long,  aes(x = motive, y = warmth, color = motive)) +
  xlab("") +
  ylab("") +
  geom_point(stat="summary", fun="mean", size = 5) +
  stat_summary(fun.data = "mean_cl_normal", geom = "errorbar", linewidth = 1.5, width = .3) +
  geom_point(position = position_jitter(width = 0.1, height = 0.1), alpha = 0.4) +
    labs(x = "", y = "", title = "Warmth (N = 393)") +
    theme(
        plot.title = element_text(hjust = 0.5, size = 25),
        axis.text.x = element_text(face = "plain", size = 23, color = "black"),
        axis.text.y = element_text(face = "plain", size = 20, color = "black"),
        axis.title.y = element_text(face = "plain", size = 23, color = "black"), 
        axis.title.x = element_text(face = "plain", size = 20, color = "black"), ) +
  scale_x_discrete(labels = c("First Person \n\ Generosity-motivated \n\ Donor", "First Person \n\ Justice-motivated \n\ Donor"))

print(first_warmthP)

Factor 2: Competence

Code
mod_competence <- lmer(competence ~ motive + (1 | pid), data = first_gjg_long)
summary(mod_competence)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: competence ~ motive + (1 | pid)
   Data: first_gjg_long

REML criterion at convergence: 550.3

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-3.9435 -0.3267  0.0248  0.3253  3.7856 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.33849  0.5818  
 Residual             0.07282  0.2699  
Number of obs: 392, groups:  pid, 196

Fixed effects:
             Estimate Std. Error        df t value Pr(>|t|)    
(Intercept)   3.46224    0.04581 232.52241  75.579  < 2e-16 ***
motivejust    0.11429    0.02726 195.00000   4.193 4.18e-05 ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
           (Intr)
motivejust -0.298
Code
first_compP <- ggplot(first_gjg_long,  aes(x = motive, y = competence, color = motive)) +
  xlab("") +
  ylab("") +
  geom_point(stat="summary", fun="mean", size = 5) +
  stat_summary(fun.data = "mean_cl_normal", geom = "errorbar", linewidth = 1.5, width = .3) +
  geom_point(position = position_jitter(width = 0.1, height = 0.1), alpha = 0.4) +
    labs(x = "", y = "", title = "Competence (N = 393)") +
    theme(
        plot.title = element_text(hjust = 0.5, size = 25),
        axis.text.x = element_text(face = "plain", size = 23, color = "black"),
        axis.text.y = element_text(face = "plain", size = 20, color = "black"),
        axis.title.y = element_text(face = "plain", size = 23, color = "black"), 
        axis.title.x = element_text(face = "plain", size = 20, color = "black"), ) +
  scale_x_discrete(labels = c("First Person \n\ Generosity-motivated \n\ Donor", "First Person \n\ Justice-motivated \n\ Donor"))

print(first_compP)

Factor 3: Moral Goodness

Code
plot_cooker("motive", "moralGoodness", "Moral Goodness", c("genFirst", "justFirst", "genThird", "justThird")," ", 393)

Code
mod_moral <- lmer(moralGoodness ~ motive + (1 | pid), data = first_gjg_long)
summary(mod_moral)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: moralGoodness ~ motive + (1 | pid)
   Data: first_gjg_long

REML criterion at convergence: 927.9

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-3.6474 -0.4202  0.0313  0.4079  3.0331 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.4606   0.6787  
 Residual             0.3080   0.5550  
Number of obs: 392, groups:  pid, 196

Fixed effects:
             Estimate Std. Error        df t value Pr(>|t|)    
(Intercept)   3.53401    0.06262 286.94386  56.434  < 2e-16 ***
motivejust    0.29252    0.05606 195.00000   5.218 4.61e-07 ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
           (Intr)
motivejust -0.448
Code
first_moralP <- ggplot(first_gjg_long,  aes(x = motive, y = moralGoodness, color = motive)) +
  xlab("") +
  ylab("") +
  geom_point(stat="summary", fun="mean", size = 5) +
  stat_summary(fun.data = "mean_cl_normal", geom = "errorbar", linewidth = 1.5, width = .3) +
  geom_point(position = position_jitter(width = 0.1, height = 0.1), alpha = 0.4) +
    labs(x = "", y = "", title = "Moral Goodness (N = 393)") +
    theme(
        plot.title = element_text(hjust = 0.5, size = 25),
        axis.text.x = element_text(face = "plain", size = 23, color = "black"),
        axis.text.y = element_text(face = "plain", size = 20, color = "black"),
        axis.title.y = element_text(face = "plain", size = 23, color = "black"), 
        axis.title.x = element_text(face = "plain", size = 20, color = "black"), ) +
  scale_x_discrete(labels = c("First Person \n\ Generosity-motivated \n\ Donor", "First Person \n\ Justice-motivated \n\ Donor", "Third Person \n\ Generosity-motivated \n\ Donor", "Third Person \n\ Justice-motivated \n\ Donor"))

print(first_moralP)

Factor 4: Decision Speed

Code
mod_speed <- lmer(decisionSpeed ~ motive + (1 | pid), data = first_gjg_long)
summary(mod_speed)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: decisionSpeed ~ motive + (1 | pid)
   Data: first_gjg_long

REML criterion at convergence: 894.9

Scaled residuals: 
     Min       1Q   Median       3Q      Max 
-2.53795 -0.34953 -0.00796  0.33362  2.78890 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.5854   0.7651  
 Residual             0.2284   0.4779  
Number of obs: 392, groups:  pid, 196

Fixed effects:
             Estimate Std. Error        df t value Pr(>|t|)    
(Intercept)   2.90561    0.06444 257.01511  45.092   <2e-16 ***
motivejust   -0.04592    0.04828 195.00001  -0.951    0.343    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
           (Intr)
motivejust -0.375
Code
first_speedP <- ggplot(first_gjg_long,  aes(x = motive, y = decisionSpeed, color = motive)) +
  xlab("") +
  ylab("") +
  geom_point(stat="summary", fun="mean", size = 5) +
  stat_summary(fun.data = "mean_cl_normal", geom = "errorbar", linewidth = 1.5, width = .3) +
  geom_point(position = position_jitter(width = 0.1, height = 0.1), alpha = 0.4) +
    labs(x = "", y = "", title = "Decision Speed (N = 393)") +
    theme(
        plot.title = element_text(hjust = 0.5, size = 25),
        axis.text.x = element_text(face = "plain", size = 23, color = "black"),
        axis.text.y = element_text(face = "plain", size = 20, color = "black"),
        axis.title.y = element_text(face = "plain", size = 23, color = "black"), 
        axis.title.x = element_text(face = "plain", size = 20, color = "black"), ) +
  scale_x_discrete(labels = c("First Person \n\ Generosity-motivated \n\ Donor", "First Person \n\ Justice-motivated \n\ Donor", "Third Person \n\ Generosity-motivated \n\ Donor", "Third Person \n\ Justice-motivated \n\ Donor"))

ggpar(speedP, legend = "none") + scale_color_manual(values = c("genFirst" = "#7CCCB0", "justFirst" = "#D193DC", "genThird" = "#cc917c", "justThird" = "#4e2de0" ))

Code
print(first_speedP)

Factor 5: Signaling

Reputational

Code
mod_rep <- lmer(reputationSignal ~ motive + (1 | pid), data = first_gjg_long)
summary(mod_rep)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: reputationSignal ~ motive + (1 | pid)
   Data: first_gjg_long

REML criterion at convergence: 1210

Scaled residuals: 
     Min       1Q   Median       3Q      Max 
-2.27104 -0.52318 -0.08921  0.50549  2.25334 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.8477   0.9207  
 Residual             0.6776   0.8232  
Number of obs: 392, groups:  pid, 196

Fixed effects:
             Estimate Std. Error        df t value Pr(>|t|)    
(Intercept)   3.24490    0.08822 297.96581  36.783  < 2e-16 ***
motivejust   -0.43878    0.08315 195.00000  -5.277 3.48e-07 ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
           (Intr)
motivejust -0.471
Code
first_repP <- ggplot(first_gjg_long,  aes(x = motive, y = reputationSignal, color = motive)) +
  xlab("") +
  ylab("") +
  geom_point(stat="summary", fun="mean", size = 5) +
  stat_summary(fun.data = "mean_cl_normal", geom = "errorbar", linewidth = 1.5, width = .3) +
  geom_point(position = position_jitter(width = 0.1, height = 0.1), alpha = 0.4) +
    labs(x = "", y = "", title = "Reputation Signaling (N = 393)") +
    theme(
        plot.title = element_text(hjust = 0.5, size = 25),
        axis.text.x = element_text(face = "plain", size = 23, color = "black"),
        axis.text.y = element_text(face = "plain", size = 20, color = "black"),
        axis.title.y = element_text(face = "plain", size = 23, color = "black"), 
        axis.title.x = element_text(face = "plain", size = 20, color = "black"), ) +
  scale_x_discrete(labels = c("First Person \n\ Generosity-motivated \n\ Donor", "First Person \n\ Justice-motivated \n\ Donor", "Third Person \n\ Generosity-motivated \n\ Donor", "Third Person \n\ Justice-motivated \n\ Donor"))

print(first_repP)

Norm

Code
mod_norm <- lmer(normSignal ~ motive + (1 | pid), data = first_gjg_long)
summary(mod_norm)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: normSignal ~ motive + (1 | pid)
   Data: first_gjg_long

REML criterion at convergence: 1183.5

Scaled residuals: 
     Min       1Q   Median       3Q      Max 
-2.72575 -0.63973  0.00925  0.54420  2.09527 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.4365   0.6607  
 Residual             0.8264   0.9091  
Number of obs: 392, groups:  pid, 196

Fixed effects:
             Estimate Std. Error        df t value Pr(>|t|)    
(Intercept)   3.39796    0.08027 348.38533  42.332  < 2e-16 ***
motivejust    0.38265    0.09183 195.00000   4.167 4.64e-05 ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
           (Intr)
motivejust -0.572
Code
first_normP <- ggplot(first_gjg_long,  aes(x = motive, y = normSignal, color = motive)) +
  xlab("") +
  ylab("") +
  geom_point(stat="summary", fun="mean", size = 5) +
  stat_summary(fun.data = "mean_cl_normal", geom = "errorbar", linewidth = 1.5, width = .3) +
  geom_point(position = position_jitter(width = 0.1, height = 0.1), alpha = 0.4) +
    labs(x = "", y = "", title = "Norm Signaling (N = 393)") +
    theme(
        plot.title = element_text(hjust = 0.5, size = 25),
        axis.text.x = element_text(face = "plain", size = 23, color = "black"),
        axis.text.y = element_text(face = "plain", size = 20, color = "black"),
        axis.title.y = element_text(face = "plain", size = 23, color = "black"), 
        axis.title.x = element_text(face = "plain", size = 20, color = "black"), ) +
  scale_x_discrete(labels = c("First Person \n\ Generosity-motivated \n\ Donor", "First Person \n\ Justice-motivated \n\ Donor", "Third Person \n\ Generosity-motivated \n\ Donor", "Third Person \n\ Justice-motivated \n\ Donor"))

print(first_normP)

Factor 6: Emotion

Code
mod_emotion <- lmer(emotion ~ motive + (1 | pid), data = first_gjg_long)
summary(mod_emotion)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: emotion ~ motive + (1 | pid)
   Data: first_gjg_long

REML criterion at convergence: 1130.6

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-2.5002 -0.4679  0.1459  0.4335  1.8520 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.3303   0.5747  
 Residual             0.7558   0.8693  
Number of obs: 392, groups:  pid, 196

Fixed effects:
             Estimate Std. Error        df t value Pr(>|t|)    
(Intercept)   3.40306    0.07444 356.98238  45.716  < 2e-16 ***
motivejust    0.25000    0.08782 195.00000   2.847  0.00489 ** 
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
           (Intr)
motivejust -0.590
Code
first_emotionP <- ggplot(first_gjg_long,  aes(x = motive, y = emotion, color = motive)) +
  xlab("") +
  ylab("") +
  geom_point(stat="summary", fun="mean", size = 5) +
  stat_summary(fun.data = "mean_cl_normal", geom = "errorbar", linewidth = 1.5, width = .3) +
  geom_point(position = position_jitter(width = 0.1, height = 0.1), alpha = 0.4) +
    labs(x = "", y = "", title = "Emotion (N = 393)") +
    theme(
        plot.title = element_text(hjust = 0.5, size = 25),
        axis.text.x = element_text(face = "plain", size = 23, color = "black"),
        axis.text.y = element_text(face = "plain", size = 20, color = "black"),
        axis.title.y = element_text(face = "plain", size = 23, color = "black"), 
        axis.title.x = element_text(face = "plain", size = 20, color = "black"), ) +
  scale_x_discrete(labels = c("First Person \n\ Generosity-motivated \n\ Donor", "First Person \n\ Justice-motivated \n\ Donor", "Third Person \n\ Generosity-motivated \n\ Donor", "Third Person \n\ Justice-motivated \n\ Donor"))

print(first_emotionP)

First Person Faceted By Vignette Order and Text Order

Factor 1: Warmth

Code
facet_plot_fn(first_gjg_long, "cell", "warmth", "text_order", "Warmth", c("gen", "just", "", "")," ", 393, 2, 2)

Code
facet_plot_fn(first_gjg_long, "cell", "warmth", "motive_order", "Warmth", c("gen", "just", "", "")," ", 393, 2, 2)

Code
mod_warmth_text <- lmer(warmth ~ motive*text_order + (1 | pid), data = first_gjg_long)
summary(mod_warmth_text)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: warmth ~ motive * text_order + (1 | pid)
   Data: first_gjg_long

REML criterion at convergence: 937.7

Scaled residuals: 
     Min       1Q   Median       3Q      Max 
-2.94195 -0.43913  0.03967  0.51248  2.34557 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.3722   0.6101  
 Residual             0.3561   0.5968  
Number of obs: 392, groups:  pid, 196

Fixed effects:
                                         Estimate Std. Error        df t value
(Intercept)                               3.45833    0.08710 307.65148  39.704
motivejust                                0.17188    0.08613 194.00000   1.995
text_ordergenValueJustCommit              0.11167    0.12194 307.65148   0.916
motivejust:text_ordergenValueJustCommit  -0.24188    0.12059 194.00000  -2.006
                                        Pr(>|t|)    
(Intercept)                               <2e-16 ***
motivejust                                0.0474 *  
text_ordergenValueJustCommit              0.3605    
motivejust:text_ordergenValueJustCommit   0.0463 *  
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst tx_VJC
motivejust  -0.494              
txt_rdrgVJC -0.714  0.353       
mtvjst:_VJC  0.353 -0.714 -0.494
Code
mod_warmth_motive <- lmer(warmth ~ motive*motive_order + (1 | pid), data = first_gjg_long)
summary(mod_warmth_motive)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: warmth ~ motive * motive_order + (1 | pid)
   Data: first_gjg_long

REML criterion at convergence: 932.2

Scaled residuals: 
     Min       1Q   Median       3Q      Max 
-2.96048 -0.43369  0.02808  0.48196  2.29770 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.3716   0.6096  
 Residual             0.3487   0.5905  
Number of obs: 392, groups:  pid, 196

Fixed effects:
                                  Estimate Std. Error        df t value
(Intercept)                        3.49490    0.08574 306.44267  40.763
motivejust                         0.21939    0.08436 194.00000   2.600
motive_orderjustFirst              0.04082    0.12125 306.44267   0.337
motivejust:motive_orderjustFirst  -0.34184    0.11931 194.00000  -2.865
                                 Pr(>|t|)    
(Intercept)                       < 2e-16 ***
motivejust                        0.01003 *  
motive_orderjustFirst             0.73663    
motivejust:motive_orderjustFirst  0.00463 ** 
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst mtv_rF
motivejust  -0.492              
mtv_rdrjstF -0.707  0.348       
mtvjst:mt_F  0.348 -0.707 -0.492
Code
mod_warmth_motive <- lmer(warmth ~ motive*text_order*motive_order + (1 | pid), data = first_gjg_long)
summary(mod_warmth_motive)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: warmth ~ motive * text_order * motive_order + (1 | pid)
   Data: first_gjg_long

REML criterion at convergence: 934.3

Scaled residuals: 
     Min       1Q   Median       3Q      Max 
-2.92692 -0.44887  0.02261  0.49539  2.26005 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.3801   0.6165  
 Residual             0.3431   0.5857  
Number of obs: 392, groups:  pid, 196

Fixed effects:
                                                               Estimate
(Intercept)                                                     3.47396
motivejust                                                      0.28125
text_ordergenValueJustCommit                                    0.04104
motive_orderjustFirst                                          -0.03125
motivejust:text_ordergenValueJustCommit                        -0.12125
motivejust:motive_orderjustFirst                               -0.21875
text_ordergenValueJustCommit:motive_orderjustFirst              0.14125
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst  -0.24125
                                                              Std. Error
(Intercept)                                                      0.12274
motivejust                                                       0.11956
text_ordergenValueJustCommit                                     0.17184
motive_orderjustFirst                                            0.17359
motivejust:text_ordergenValueJustCommit                          0.16738
motivejust:motive_orderjustFirst                                 0.16908
text_ordergenValueJustCommit:motive_orderjustFirst               0.24302
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst    0.23671
                                                                     df t value
(Intercept)                                                   300.87456  28.302
motivejust                                                    192.00000   2.352
text_ordergenValueJustCommit                                  300.87456   0.239
motive_orderjustFirst                                         300.87456  -0.180
motivejust:text_ordergenValueJustCommit                       192.00000  -0.724
motivejust:motive_orderjustFirst                              192.00000  -1.294
text_ordergenValueJustCommit:motive_orderjustFirst            300.87456   0.581
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst 192.00000  -1.019
                                                              Pr(>|t|)    
(Intercept)                                                     <2e-16 ***
motivejust                                                      0.0197 *  
text_ordergenValueJustCommit                                    0.8114    
motive_orderjustFirst                                           0.8573    
motivejust:text_ordergenValueJustCommit                         0.4697    
motivejust:motive_orderjustFirst                                0.1973    
text_ordergenValueJustCommit:motive_orderjustFirst              0.5615    
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst   0.3094    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst tx_VJC mtv_rF mt:_VJC mtv:_F t_VJC:
motivejust  -0.487                                           
txt_rdrgVJC -0.714  0.348                                    
mtv_rdrjstF -0.707  0.344  0.505                             
mtvjst:_VJC  0.348 -0.714 -0.487 -0.246                      
mtvjst:mt_F  0.344 -0.707 -0.246 -0.487  0.505               
txt_rVJC:_F  0.505 -0.246 -0.707 -0.714  0.344   0.348       
mtv:_VJC:_F -0.246  0.505  0.344  0.348 -0.707  -0.714 -0.487

Factor 2: Competence

Code
facet_plot_fn(first_gjg_long, "cell", "competence", "text_order", "competence", c("gen", "just", "", "")," ", 393, 2, 2)

Code
facet_plot_fn(first_gjg_long, "cell", "competence", "motive_order", "competence", c("gen", "just", "", "")," ", 393, 2, 2)

Code
mod_competence_text <- lmer(competence ~ motive*text_order + (1 | pid), data = first_gjg_long)
summary(mod_competence_text)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: competence ~ motive * text_order + (1 | pid)
   Data: first_gjg_long

REML criterion at convergence: 554.7

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-3.8712 -0.3319  0.0258  0.3252  3.7345 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.33981  0.5829  
 Residual             0.07237  0.2690  
Number of obs: 392, groups:  pid, 196

Fixed effects:
                                         Estimate Std. Error        df t value
(Intercept)                               3.51250    0.06552 230.99624  53.606
motivejust                                0.07292    0.03883 194.00000   1.878
text_ordergenValueJustCommit             -0.09850    0.09173 230.99624  -1.074
motivejust:text_ordergenValueJustCommit   0.08108    0.05436 194.00000   1.492
                                        Pr(>|t|)    
(Intercept)                               <2e-16 ***
motivejust                                0.0619 .  
text_ordergenValueJustCommit              0.2841    
motivejust:text_ordergenValueJustCommit   0.1374    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst tx_VJC
motivejust  -0.296              
txt_rdrgVJC -0.714  0.212       
mtvjst:_VJC  0.212 -0.714 -0.296
Code
mod_competence_motive <- lmer(competence ~ motive*motive_order + (1 | pid), data = first_gjg_long)
summary(mod_competence_motive)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: competence ~ motive * motive_order + (1 | pid)
   Data: first_gjg_long

REML criterion at convergence: 553.6

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-3.8648 -0.3593  0.0142  0.3230  3.7560 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.33561  0.5793  
 Residual             0.07272  0.2697  
Number of obs: 392, groups:  pid, 196

Fixed effects:
                                  Estimate Std. Error        df t value
(Intercept)                        3.54694    0.06455 231.56897  54.949
motivejust                         0.08367    0.03852 194.00000   2.172
motive_orderjustFirst             -0.16939    0.09129 231.56897  -1.856
motivejust:motive_orderjustFirst   0.06122    0.05448 194.00000   1.124
                                 Pr(>|t|)    
(Intercept)                        <2e-16 ***
motivejust                         0.0311 *  
motive_orderjustFirst              0.0648 .  
motivejust:motive_orderjustFirst   0.2625    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst mtv_rF
motivejust  -0.298              
mtv_rdrjstF -0.707  0.211       
mtvjst:mt_F  0.211 -0.707 -0.298
Code
mod_competence_motive <- lmer(competence ~ motive*text_order*motive_order + (1 | pid), data = first_gjg_long)
summary(mod_competence_motive)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: competence ~ motive * text_order * motive_order + (1 | pid)
   Data: first_gjg_long

REML criterion at convergence: 555

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-3.7315 -0.3617 -0.0093  0.3342  3.6194 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.33847  0.5818  
 Residual             0.07023  0.2650  
Number of obs: 392, groups:  pid, 196

Fixed effects:
                                                               Estimate
(Intercept)                                                     3.60000
motivejust                                                      0.11250
text_ordergenValueJustCommit                                   -0.10400
motive_orderjustFirst                                          -0.17500
motivejust:text_ordergenValueJustCommit                        -0.05650
motivejust:motive_orderjustFirst                               -0.07917
text_ordergenValueJustCommit:motive_orderjustFirst              0.01100
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst   0.27517
                                                              Std. Error
(Intercept)                                                      0.09227
motivejust                                                       0.05409
text_ordergenValueJustCommit                                     0.12918
motive_orderjustFirst                                            0.13050
motivejust:text_ordergenValueJustCommit                          0.07573
motivejust:motive_orderjustFirst                                 0.07650
text_ordergenValueJustCommit:motive_orderjustFirst               0.18269
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst    0.10710
                                                                     df t value
(Intercept)                                                   227.77660  39.014
motivejust                                                    192.00000   2.080
text_ordergenValueJustCommit                                  227.77660  -0.805
motive_orderjustFirst                                         227.77660  -1.341
motivejust:text_ordergenValueJustCommit                       192.00000  -0.746
motivejust:motive_orderjustFirst                              192.00000  -1.035
text_ordergenValueJustCommit:motive_orderjustFirst            227.77660   0.060
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst 192.00000   2.569
                                                              Pr(>|t|)    
(Intercept)                                                     <2e-16 ***
motivejust                                                      0.0389 *  
text_ordergenValueJustCommit                                    0.4216    
motive_orderjustFirst                                           0.1812    
motivejust:text_ordergenValueJustCommit                         0.4565    
motivejust:motive_orderjustFirst                                0.3020    
text_ordergenValueJustCommit:motive_orderjustFirst              0.9520    
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst   0.0110 *  
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst tx_VJC mtv_rF mt:_VJC mtv:_F t_VJC:
motivejust  -0.293                                           
txt_rdrgVJC -0.714  0.209                                    
mtv_rdrjstF -0.707  0.207  0.505                             
mtvjst:_VJC  0.209 -0.714 -0.293 -0.148                      
mtvjst:mt_F  0.207 -0.707 -0.148 -0.293  0.505               
txt_rVJC:_F  0.505 -0.148 -0.707 -0.714  0.207   0.209       
mtv:_VJC:_F -0.148  0.505  0.207  0.209 -0.707  -0.714 -0.293

Factor 3: Moral Goodness

Code
facet_plot_fn(first_gjg_long, "cell", "moralGoodness", "text_order", "moralGoodness", c("gen", "just", "", "")," ", 393, 2, 2)

Code
facet_plot_fn(first_gjg_long, "cell", "moralGoodness", "motive_order", "moralGoodness", c("gen", "just", "", "")," ", 393, 2, 2)

Code
mod_moralGoodness_text <- lmer(moralGoodness ~ motive*text_order + (1 | pid), data = first_gjg_long)
summary(mod_moralGoodness_text)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: moralGoodness ~ motive * text_order + (1 | pid)
   Data: first_gjg_long

REML criterion at convergence: 923.8

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-3.5166 -0.4979  0.0745  0.4167  2.9965 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.4572   0.6761  
 Residual             0.3003   0.5480  
Number of obs: 392, groups:  pid, 196

Fixed effects:
                                         Estimate Std. Error        df t value
(Intercept)                               3.36111    0.08883 284.41076  37.838
motivejust                                0.43056    0.07910 194.00000   5.443
text_ordergenValueJustCommit              0.33889    0.12436 284.41076   2.725
motivejust:text_ordergenValueJustCommit  -0.27056    0.11074 194.00000  -2.443
                                        Pr(>|t|)    
(Intercept)                              < 2e-16 ***
motivejust                              1.57e-07 ***
text_ordergenValueJustCommit             0.00683 ** 
motivejust:text_ordergenValueJustCommit  0.01546 *  
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst tx_VJC
motivejust  -0.445              
txt_rdrgVJC -0.714  0.318       
mtvjst:_VJC  0.318 -0.714 -0.445
Code
mod_moralGoodness_motive <- lmer(moralGoodness ~ motive*motive_order + (1 | pid), data = first_gjg_long)
summary(mod_moralGoodness_motive)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: moralGoodness ~ motive * motive_order + (1 | pid)
   Data: first_gjg_long

REML criterion at convergence: 931.6

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-3.6450 -0.4279  0.0294  0.4357  2.9735 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.4594   0.6778  
 Residual             0.3092   0.5561  
Number of obs: 392, groups:  pid, 196

Fixed effects:
                                  Estimate Std. Error        df t value
(Intercept)                        3.58163    0.08856 285.87146  40.443
motivejust                         0.31973    0.07944 194.00000   4.025
motive_orderjustFirst             -0.09524    0.12524 285.87146  -0.760
motivejust:motive_orderjustFirst  -0.05442    0.11234 194.00000  -0.484
                                 Pr(>|t|)    
(Intercept)                       < 2e-16 ***
motivejust                       8.17e-05 ***
motive_orderjustFirst               0.448    
motivejust:motive_orderjustFirst    0.629    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst mtv_rF
motivejust  -0.448              
mtv_rdrjstF -0.707  0.317       
mtvjst:mt_F  0.317 -0.707 -0.448
Code
mod_moralGoodness_motive <- lmer(moralGoodness ~ motive*text_order*motive_order + (1 | pid), data = first_gjg_long)
summary(mod_moralGoodness_motive)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: moralGoodness ~ motive * text_order * motive_order + (1 | pid)
   Data: first_gjg_long

REML criterion at convergence: 928.8

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-3.5498 -0.4567  0.0561  0.4546  2.9233 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.4556   0.6750  
 Residual             0.3029   0.5504  
Number of obs: 392, groups:  pid, 196

Fixed effects:
                                                               Estimate
(Intercept)                                                     3.47222
motivejust                                                      0.43750
text_ordergenValueJustCommit                                    0.21444
motive_orderjustFirst                                          -0.22222
motivejust:text_ordergenValueJustCommit                        -0.23083
motivejust:motive_orderjustFirst                               -0.01389
text_ordergenValueJustCommit:motive_orderjustFirst              0.24889
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst  -0.07944
                                                              Std. Error
(Intercept)                                                      0.12571
motivejust                                                       0.11234
text_ordergenValueJustCommit                                     0.17599
motive_orderjustFirst                                            0.17777
motivejust:text_ordergenValueJustCommit                          0.15728
motivejust:motive_orderjustFirst                                 0.15887
text_ordergenValueJustCommit:motive_orderjustFirst               0.24888
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst    0.22242
                                                                     df t value
(Intercept)                                                   282.18773  27.622
motivejust                                                    192.00000   3.894
text_ordergenValueJustCommit                                  282.18773   1.219
motive_orderjustFirst                                         282.18773  -1.250
motivejust:text_ordergenValueJustCommit                       192.00000  -1.468
motivejust:motive_orderjustFirst                              192.00000  -0.087
text_ordergenValueJustCommit:motive_orderjustFirst            282.18773   1.000
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst 192.00000  -0.357
                                                              Pr(>|t|)    
(Intercept)                                                    < 2e-16 ***
motivejust                                                    0.000136 ***
text_ordergenValueJustCommit                                  0.224043    
motive_orderjustFirst                                         0.212325    
motivejust:text_ordergenValueJustCommit                       0.143826    
motivejust:motive_orderjustFirst                              0.930428    
text_ordergenValueJustCommit:motive_orderjustFirst            0.318157    
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst 0.721352    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst tx_VJC mtv_rF mt:_VJC mtv:_F t_VJC:
motivejust  -0.447                                           
txt_rdrgVJC -0.714  0.319                                    
mtv_rdrjstF -0.707  0.316  0.505                             
mtvjst:_VJC  0.319 -0.714 -0.447 -0.226                      
mtvjst:mt_F  0.316 -0.707 -0.226 -0.447  0.505               
txt_rVJC:_F  0.505 -0.226 -0.707 -0.714  0.316   0.319       
mtv:_VJC:_F -0.226  0.505  0.316  0.319 -0.707  -0.714 -0.447

Factor 4: Decision Speed

Code
facet_plot_fn(first_gjg_long, "cell", "decisionSpeed", "text_order", "decisionSpeed", c("gen", "just", "", "")," ", 393, 2, 2)

Code
facet_plot_fn(first_gjg_long, "cell", "decisionSpeed", "motive_order", "decisionSpeed", c("gen", "just", "", "")," ", 393, 2, 2)

Code
mod_decisionSpeed_text <- lmer(decisionSpeed ~ motive*text_order + (1 | pid), data = first_gjg_long)
summary(mod_decisionSpeed_text)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: decisionSpeed ~ motive * text_order + (1 | pid)
   Data: first_gjg_long

REML criterion at convergence: 897.1

Scaled residuals: 
     Min       1Q   Median       3Q      Max 
-2.53873 -0.39898 -0.00222  0.35281  2.74673 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.5855   0.7652  
 Residual             0.2273   0.4768  
Number of obs: 392, groups:  pid, 196

Fixed effects:
                                         Estimate Std. Error        df t value
(Intercept)                               2.87500    0.09201 255.45336  31.245
motivejust                               -0.11458    0.06882 194.00001  -1.665
text_ordergenValueJustCommit              0.06000    0.12882 255.45336   0.466
motivejust:text_ordergenValueJustCommit   0.13458    0.09634 194.00001   1.397
                                        Pr(>|t|)    
(Intercept)                               <2e-16 ***
motivejust                                0.0975 .  
text_ordergenValueJustCommit              0.6418    
motivejust:text_ordergenValueJustCommit   0.1640    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst tx_VJC
motivejust  -0.374              
txt_rdrgVJC -0.714  0.267       
mtvjst:_VJC  0.267 -0.714 -0.374
Code
mod_decisionSpeed_motive <- lmer(decisionSpeed ~ motive*motive_order + (1 | pid), data = first_gjg_long)
summary(mod_decisionSpeed_motive)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: decisionSpeed ~ motive * motive_order + (1 | pid)
   Data: first_gjg_long

REML criterion at convergence: 897.7

Scaled residuals: 
     Min       1Q   Median       3Q      Max 
-2.52486 -0.36046 -0.00767  0.34511  2.72115 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.582    0.7629  
 Residual             0.229    0.4785  
Number of obs: 392, groups:  pid, 196

Fixed effects:
                                  Estimate Std. Error        df t value
(Intercept)                        2.96939    0.09097 256.09656  32.642
motivejust                        -0.01020    0.06836 194.00001  -0.149
motive_orderjustFirst             -0.12755    0.12865 256.09656  -0.991
motivejust:motive_orderjustFirst  -0.07143    0.09667 194.00001  -0.739
                                 Pr(>|t|)    
(Intercept)                        <2e-16 ***
motivejust                          0.881    
motive_orderjustFirst               0.322    
motivejust:motive_orderjustFirst    0.461    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst mtv_rF
motivejust  -0.376              
mtv_rdrjstF -0.707  0.266       
mtvjst:mt_F  0.266 -0.707 -0.376
Code
mod_decisionSpeed_motive <- lmer(decisionSpeed ~ motive*text_order*motive_order + (1 | pid), data = first_gjg_long)
summary(mod_decisionSpeed_motive)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: decisionSpeed ~ motive * text_order * motive_order + (1 | pid)
   Data: first_gjg_long

REML criterion at convergence: 899.4

Scaled residuals: 
     Min       1Q   Median       3Q      Max 
-2.57536 -0.33961 -0.02856  0.35419  2.65172 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.5847   0.7647  
 Residual             0.2261   0.4755  
Number of obs: 392, groups:  pid, 196

Fixed effects:
                                                               Estimate
(Intercept)                                                     3.02083
motivejust                                                     -0.15625
text_ordergenValueJustCommit                                   -0.10083
motive_orderjustFirst                                          -0.29167
motivejust:text_ordergenValueJustCommit                         0.28625
motivejust:motive_orderjustFirst                                0.08333
text_ordergenValueJustCommit:motive_orderjustFirst              0.32167
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst  -0.30333
                                                              Std. Error
(Intercept)                                                      0.12997
motivejust                                                       0.09706
text_ordergenValueJustCommit                                     0.18196
motive_orderjustFirst                                            0.18381
motivejust:text_ordergenValueJustCommit                          0.13589
motivejust:motive_orderjustFirst                                 0.13727
text_ordergenValueJustCommit:motive_orderjustFirst               0.25733
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst    0.19217
                                                                     df t value
(Intercept)                                                   252.62298  23.243
motivejust                                                    192.00001  -1.610
text_ordergenValueJustCommit                                  252.62297  -0.554
motive_orderjustFirst                                         252.62297  -1.587
motivejust:text_ordergenValueJustCommit                       192.00001   2.107
motivejust:motive_orderjustFirst                              192.00001   0.607
text_ordergenValueJustCommit:motive_orderjustFirst            252.62297   1.250
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst 192.00001  -1.578
                                                              Pr(>|t|)    
(Intercept)                                                     <2e-16 ***
motivejust                                                      0.1091    
text_ordergenValueJustCommit                                    0.5800    
motive_orderjustFirst                                           0.1138    
motivejust:text_ordergenValueJustCommit                         0.0365 *  
motivejust:motive_orderjustFirst                                0.5445    
text_ordergenValueJustCommit:motive_orderjustFirst              0.2124    
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst   0.1161    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst tx_VJC mtv_rF mt:_VJC mtv:_F t_VJC:
motivejust  -0.373                                           
txt_rdrgVJC -0.714  0.267                                    
mtv_rdrjstF -0.707  0.264  0.505                             
mtvjst:_VJC  0.267 -0.714 -0.373 -0.189                      
mtvjst:mt_F  0.264 -0.707 -0.189 -0.373  0.505               
txt_rVJC:_F  0.505 -0.189 -0.707 -0.714  0.264   0.267       
mtv:_VJC:_F -0.189  0.505  0.264  0.267 -0.707  -0.714 -0.373

Factor 5: Signaling

Reputational

Code
facet_plot_fn(first_gjg_long, "cell", "reputationSignal", "text_order", "reputationSignal", c("gen", "just", "", "")," ", 393, 2, 2)

Code
facet_plot_fn(first_gjg_long, "cell", "reputationSignal", "motive_order", "reputationSignal", c("gen", "just", "", "")," ", 393, 2, 2)

Code
mod_reputationSignal_text <- lmer(reputationSignal ~ motive*text_order + (1 | pid), data = first_gjg_long)
summary(mod_reputationSignal_text)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: reputationSignal ~ motive * text_order + (1 | pid)
   Data: first_gjg_long

REML criterion at convergence: 1200.6

Scaled residuals: 
     Min       1Q   Median       3Q      Max 
-2.11513 -0.49408 -0.07782  0.42838  2.18347 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.8531   0.9237  
 Residual             0.6459   0.8037  
Number of obs: 392, groups:  pid, 196

Fixed effects:
                                        Estimate Std. Error       df t value
(Intercept)                               3.5104     0.1250 293.0695  28.093
motivejust                               -0.7083     0.1160 194.0000  -6.106
text_ordergenValueJustCommit             -0.5204     0.1749 293.0695  -2.975
motivejust:text_ordergenValueJustCommit   0.5283     0.1624 194.0000   3.253
                                        Pr(>|t|)    
(Intercept)                              < 2e-16 ***
motivejust                              5.45e-09 ***
text_ordergenValueJustCommit             0.00318 ** 
motivejust:text_ordergenValueJustCommit  0.00135 ** 
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst tx_VJC
motivejust  -0.464              
txt_rdrgVJC -0.714  0.332       
mtvjst:_VJC  0.332 -0.714 -0.464
Code
mod_reputationSignal_motive <- lmer(reputationSignal ~ motive*motive_order + (1 | pid), data = first_gjg_long)
summary(mod_reputationSignal_motive)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: reputationSignal ~ motive * motive_order + (1 | pid)
   Data: first_gjg_long

REML criterion at convergence: 1212.3

Scaled residuals: 
     Min       1Q   Median       3Q      Max 
-2.20721 -0.50457 -0.08759  0.47962  2.21779 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.8521   0.9231  
 Residual             0.6777   0.8232  
Number of obs: 392, groups:  pid, 196

Fixed effects:
                                 Estimate Std. Error       df t value Pr(>|t|)
(Intercept)                        3.1633     0.1249 296.1299  25.318  < 2e-16
motivejust                        -0.3571     0.1176 194.0000  -3.037  0.00272
motive_orderjustFirst              0.1633     0.1767 296.1299   0.924  0.35624
motivejust:motive_orderjustFirst  -0.1633     0.1663 194.0000  -0.982  0.32750
                                    
(Intercept)                      ***
motivejust                       ** 
motive_orderjustFirst               
motivejust:motive_orderjustFirst    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst mtv_rF
motivejust  -0.471              
mtv_rdrjstF -0.707  0.333       
mtvjst:mt_F  0.333 -0.707 -0.471
Code
mod_reputationSignal_motive <- lmer(reputationSignal ~ motive*text_order*motive_order + (1 | pid), data = first_gjg_long)
summary(mod_reputationSignal_motive)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: reputationSignal ~ motive * text_order * motive_order + (1 |      pid)
   Data: first_gjg_long

REML criterion at convergence: 1203.6

Scaled residuals: 
     Min       1Q   Median       3Q      Max 
-2.16417 -0.52499 -0.06537  0.45970  2.17049 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.8624   0.9287  
 Residual             0.6483   0.8051  
Number of obs: 392, groups:  pid, 196

Fixed effects:
                                                              Estimate
(Intercept)                                                     3.4167
motivejust                                                     -0.5833
text_ordergenValueJustCommit                                   -0.4967
motive_orderjustFirst                                           0.1875
motivejust:text_ordergenValueJustCommit                         0.4433
motivejust:motive_orderjustFirst                               -0.2500
text_ordergenValueJustCommit:motive_orderjustFirst             -0.0475
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst   0.1700
                                                              Std. Error
(Intercept)                                                       0.1774
motivejust                                                        0.1643
text_ordergenValueJustCommit                                      0.2484
motive_orderjustFirst                                             0.2509
motivejust:text_ordergenValueJustCommit                           0.2301
motivejust:motive_orderjustFirst                                  0.2324
text_ordergenValueJustCommit:motive_orderjustFirst                0.3512
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst     0.3254
                                                                    df t value
(Intercept)                                                   289.6156  19.259
motivejust                                                    192.0000  -3.549
text_ordergenValueJustCommit                                  289.6156  -2.000
motive_orderjustFirst                                         289.6156   0.747
motivejust:text_ordergenValueJustCommit                       192.0000   1.927
motivejust:motive_orderjustFirst                              192.0000  -1.076
text_ordergenValueJustCommit:motive_orderjustFirst            289.6156  -0.135
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst 192.0000   0.522
                                                              Pr(>|t|)    
(Intercept)                                                    < 2e-16 ***
motivejust                                                    0.000486 ***
text_ordergenValueJustCommit                                  0.046461 *  
motive_orderjustFirst                                         0.455458    
motivejust:text_ordergenValueJustCommit                       0.055483 .  
motivejust:motive_orderjustFirst                              0.283452    
text_ordergenValueJustCommit:motive_orderjustFirst            0.892520    
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst 0.601967    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst tx_VJC mtv_rF mt:_VJC mtv:_F t_VJC:
motivejust  -0.463                                           
txt_rdrgVJC -0.714  0.331                                    
mtv_rdrjstF -0.707  0.328  0.505                             
mtvjst:_VJC  0.331 -0.714 -0.463 -0.234                      
mtvjst:mt_F  0.328 -0.707 -0.234 -0.463  0.505               
txt_rVJC:_F  0.505 -0.234 -0.707 -0.714  0.328   0.331       
mtv:_VJC:_F -0.234  0.505  0.328  0.331 -0.707  -0.714 -0.463

Norm

Code
facet_plot_fn(first_gjg_long, "cell", "normSignal", "text_order", "normSignal", c("gen", "just", "", "")," ", 393, 2, 2)

Code
facet_plot_fn(first_gjg_long, "cell", "normSignal", "motive_order", "normSignal", c("gen", "just", "", "")," ", 393, 2, 2)

Code
mod_normSignal_text <- lmer(normSignal ~ motive*text_order + (1 | pid), data = first_gjg_long)
summary(mod_normSignal_text)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: normSignal ~ motive * text_order + (1 | pid)
   Data: first_gjg_long

REML criterion at convergence: 1180.6

Scaled residuals: 
     Min       1Q   Median       3Q      Max 
-2.67924 -0.59824  0.06186  0.59271  1.99492 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.4427   0.6653  
 Residual             0.8091   0.8995  
Number of obs: 392, groups:  pid, 196

Fixed effects:
                                        Estimate Std. Error       df t value
(Intercept)                               3.2083     0.1142 344.8686  28.097
motivejust                                0.5938     0.1298 194.0000   4.573
text_ordergenValueJustCommit              0.3717     0.1599 344.8686   2.325
motivejust:text_ordergenValueJustCommit  -0.4138     0.1818 194.0000  -2.276
                                        Pr(>|t|)    
(Intercept)                              < 2e-16 ***
motivejust                              8.54e-06 ***
text_ordergenValueJustCommit              0.0207 *  
motivejust:text_ordergenValueJustCommit   0.0239 *  
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst tx_VJC
motivejust  -0.568              
txt_rdrgVJC -0.714  0.406       
mtvjst:_VJC  0.406 -0.714 -0.568
Code
mod_normSignal_motive <- lmer(normSignal ~ motive*motive_order + (1 | pid), data = first_gjg_long)
summary(mod_normSignal_motive)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: normSignal ~ motive * motive_order + (1 | pid)
   Data: first_gjg_long

REML criterion at convergence: 1186

Scaled residuals: 
     Min       1Q   Median       3Q      Max 
-2.75228 -0.59541  0.04195  0.53955  2.03991 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.4333   0.6582  
 Residual             0.8306   0.9113  
Number of obs: 392, groups:  pid, 196

Fixed effects:
                                  Estimate Std. Error        df t value
(Intercept)                        3.47959    0.11356 347.19659  30.641
motivejust                         0.36735    0.13019 194.00000   2.822
motive_orderjustFirst             -0.16327    0.16060 347.19659  -1.017
motivejust:motive_orderjustFirst   0.03061    0.18412 194.00000   0.166
                                 Pr(>|t|)    
(Intercept)                       < 2e-16 ***
motivejust                        0.00528 ** 
motive_orderjustFirst             0.31005    
motivejust:motive_orderjustFirst  0.86812    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst mtv_rF
motivejust  -0.573              
mtv_rdrjstF -0.707  0.405       
mtvjst:mt_F  0.405 -0.707 -0.573
Code
mod_normSignal_motive <- lmer(normSignal ~ motive*text_order*motive_order + (1 | pid), data = first_gjg_long)
summary(mod_normSignal_motive)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: normSignal ~ motive * text_order * motive_order + (1 | pid)
   Data: first_gjg_long

REML criterion at convergence: 1183.8

Scaled residuals: 
     Min       1Q   Median       3Q      Max 
-2.71596 -0.58370  0.02864  0.56663  1.95958 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.4404   0.6636  
 Residual             0.8174   0.9041  
Number of obs: 392, groups:  pid, 196

Fixed effects:
                                                               Estimate
(Intercept)                                                     3.25000
motivejust                                                      0.58333
text_ordergenValueJustCommit                                    0.45000
motive_orderjustFirst                                          -0.08333
motivejust:text_ordergenValueJustCommit                        -0.42333
motivejust:motive_orderjustFirst                                0.02083
text_ordergenValueJustCommit:motive_orderjustFirst             -0.15667
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst   0.01917
                                                              Std. Error
(Intercept)                                                      0.16187
motivejust                                                       0.18454
text_ordergenValueJustCommit                                     0.22662
motive_orderjustFirst                                            0.22892
motivejust:text_ordergenValueJustCommit                          0.25836
motivejust:motive_orderjustFirst                                 0.26099
text_ordergenValueJustCommit:motive_orderjustFirst               0.32049
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst    0.36538
                                                                     df t value
(Intercept)                                                   342.06426  20.077
motivejust                                                    192.00000   3.161
text_ordergenValueJustCommit                                  342.06426   1.986
motive_orderjustFirst                                         342.06426  -0.364
motivejust:text_ordergenValueJustCommit                       192.00000  -1.639
motivejust:motive_orderjustFirst                              192.00000   0.080
text_ordergenValueJustCommit:motive_orderjustFirst            342.06426  -0.489
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst 192.00000   0.052
                                                              Pr(>|t|)    
(Intercept)                                                    < 2e-16 ***
motivejust                                                     0.00183 ** 
text_ordergenValueJustCommit                                   0.04787 *  
motive_orderjustFirst                                          0.71607    
motivejust:text_ordergenValueJustCommit                        0.10295    
motivejust:motive_orderjustFirst                               0.93646    
text_ordergenValueJustCommit:motive_orderjustFirst             0.62527    
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst  0.95822    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst tx_VJC mtv_rF mt:_VJC mtv:_F t_VJC:
motivejust  -0.570                                           
txt_rdrgVJC -0.714  0.407                                    
mtv_rdrjstF -0.707  0.403  0.505                             
mtvjst:_VJC  0.407 -0.714 -0.570 -0.288                      
mtvjst:mt_F  0.403 -0.707 -0.288 -0.570  0.505               
txt_rVJC:_F  0.505 -0.288 -0.707 -0.714  0.403   0.407       
mtv:_VJC:_F -0.288  0.505  0.403  0.407 -0.707  -0.714 -0.570

Factor 6: Emotion

Code
facet_plot_fn(first_gjg_long, "cell", "emotion", "text_order", "emotion", c("gen", "just", "", "")," ", 393, 2, 2)

Code
facet_plot_fn(first_gjg_long, "cell", "emotion", "motive_order", "emotion", c("gen", "just", "", "")," ", 393, 2, 2)

Code
mod_emotion_text <- lmer(emotion ~ motive*text_order + (1 | pid), data = first_gjg_long)
summary(mod_emotion_text)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: emotion ~ motive * text_order + (1 | pid)
   Data: first_gjg_long

REML criterion at convergence: 1132.6

Scaled residuals: 
     Min       1Q   Median       3Q      Max 
-2.56337 -0.52726  0.08215  0.51456  1.89911 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.3355   0.5792  
 Residual             0.7521   0.8672  
Number of obs: 392, groups:  pid, 196

Fixed effects:
                                        Estimate Std. Error       df t value
(Intercept)                               3.3229     0.1064 354.2876  31.219
motivejust                                0.3750     0.1252 194.0000   2.996
text_ordergenValueJustCommit              0.1571     0.1490 354.2876   1.054
motivejust:text_ordergenValueJustCommit  -0.2450     0.1752 194.0000  -1.398
                                        Pr(>|t|)    
(Intercept)                              < 2e-16 ***
motivejust                               0.00309 ** 
text_ordergenValueJustCommit             0.29253    
motivejust:text_ordergenValueJustCommit  0.16369    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst tx_VJC
motivejust  -0.588              
txt_rdrgVJC -0.714  0.420       
mtvjst:_VJC  0.420 -0.714 -0.588
Code
mod_emotion_motive <- lmer(emotion ~ motive*motive_order + (1 | pid), data = first_gjg_long)
summary(mod_emotion_motive)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: emotion ~ motive * motive_order + (1 | pid)
   Data: first_gjg_long

REML criterion at convergence: 1134.3

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-2.5258 -0.4976  0.1142  0.4539  1.8607 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.3325   0.5766  
 Residual             0.7586   0.8710  
Number of obs: 392, groups:  pid, 196

Fixed effects:
                                  Estimate Std. Error        df t value
(Intercept)                        3.38776    0.10551 355.03322  32.107
motivejust                         0.29592    0.12443 194.00000   2.378
motive_orderjustFirst              0.03061    0.14922 355.03322   0.205
motivejust:motive_orderjustFirst  -0.09184    0.17596 194.00000  -0.522
                                 Pr(>|t|)    
(Intercept)                        <2e-16 ***
motivejust                         0.0184 *  
motive_orderjustFirst              0.8376    
motivejust:motive_orderjustFirst   0.6023    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst mtv_rF
motivejust  -0.590              
mtv_rdrjstF -0.707  0.417       
mtvjst:mt_F  0.417 -0.707 -0.590
Code
mod_emotion_motive <- lmer(emotion ~ motive*text_order*motive_order + (1 | pid), data = first_gjg_long)
summary(mod_emotion_motive)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: emotion ~ motive * text_order * motive_order + (1 | pid)
   Data: first_gjg_long

REML criterion at convergence: 1135.5

Scaled residuals: 
     Min       1Q   Median       3Q      Max 
-2.53716 -0.50457  0.09805  0.57608  1.80382 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.3435   0.5861  
 Residual             0.7507   0.8664  
Number of obs: 392, groups:  pid, 196

Fixed effects:
                                                                Estimate
(Intercept)                                                     3.375000
motivejust                                                      0.291667
text_ordergenValueJustCommit                                    0.025000
motive_orderjustFirst                                          -0.104167
motivejust:text_ordergenValueJustCommit                         0.008333
motivejust:motive_orderjustFirst                                0.166667
text_ordergenValueJustCommit:motive_orderjustFirst              0.264167
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst  -0.506667
                                                              Std. Error
(Intercept)                                                     0.150983
motivejust                                                      0.176854
text_ordergenValueJustCommit                                    0.211377
motive_orderjustFirst                                           0.213523
motivejust:text_ordergenValueJustCommit                         0.247596
motivejust:motive_orderjustFirst                                0.250110
text_ordergenValueJustCommit:motive_orderjustFirst              0.298932
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst   0.350154
                                                                      df
(Intercept)                                                   349.543363
motivejust                                                    192.000000
text_ordergenValueJustCommit                                  349.543363
motive_orderjustFirst                                         349.543363
motivejust:text_ordergenValueJustCommit                       192.000000
motivejust:motive_orderjustFirst                              192.000000
text_ordergenValueJustCommit:motive_orderjustFirst            349.543363
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst 192.000000
                                                              t value Pr(>|t|)
(Intercept)                                                    22.353   <2e-16
motivejust                                                      1.649    0.101
text_ordergenValueJustCommit                                    0.118    0.906
motive_orderjustFirst                                          -0.488    0.626
motivejust:text_ordergenValueJustCommit                         0.034    0.973
motivejust:motive_orderjustFirst                                0.666    0.506
text_ordergenValueJustCommit:motive_orderjustFirst              0.884    0.377
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst  -1.447    0.150
                                                                 
(Intercept)                                                   ***
motivejust                                                       
text_ordergenValueJustCommit                                     
motive_orderjustFirst                                            
motivejust:text_ordergenValueJustCommit                          
motivejust:motive_orderjustFirst                                 
text_ordergenValueJustCommit:motive_orderjustFirst               
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst tx_VJC mtv_rF mt:_VJC mtv:_F t_VJC:
motivejust  -0.586                                           
txt_rdrgVJC -0.714  0.418                                    
mtv_rdrjstF -0.707  0.414  0.505                             
mtvjst:_VJC  0.418 -0.714 -0.586 -0.296                      
mtvjst:mt_F  0.414 -0.707 -0.296 -0.586  0.505               
txt_rVJC:_F  0.505 -0.296 -0.707 -0.714  0.414   0.418       
mtv:_VJC:_F -0.296  0.505  0.414  0.418 -0.707  -0.714 -0.586

Third Person Results

Factor 1: Warmth

Code
third_gjg_long <- gjg_long %>% filter(condition == "thirdPerson")

mod_warmth <- lmer(warmth ~ motive + (1 | pid), data = third_gjg_long)
summary(mod_warmth)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: warmth ~ motive + (1 | pid)
   Data: third_gjg_long

REML criterion at convergence: 905.4

Scaled residuals: 
     Min       1Q   Median       3Q      Max 
-3.15065 -0.47757  0.01349  0.57665  2.40244 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.2409   0.4908  
 Residual             0.3816   0.6177  
Number of obs: 394, groups:  pid, 197

Fixed effects:
             Estimate Std. Error        df t value Pr(>|t|)    
(Intercept)   3.90102    0.05621 340.93290  69.397   <2e-16 ***
motivejust   -0.12690    0.06224 196.00000  -2.039   0.0428 *  
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
           (Intr)
motivejust -0.554
Code
third_warmthP <- ggplot(third_gjg_long,  aes(x = motive, y = warmth, color = motive)) +
  xlab("") +
  ylab("") +
  geom_point(stat="summary", fun="mean", size = 5) +
  stat_summary(fun.data = "mean_cl_normal", geom = "errorbar", linewidth = 1.5, width = .3) +
  geom_point(position = position_jitter(width = 0.1, height = 0.1), alpha = 0.4) +
    labs(x = "", y = "", title = "Warmth (N = 393)") +
    theme(
        plot.title = element_text(hjust = 0.5, size = 25),
        axis.text.x = element_text(face = "plain", size = 23, color = "black"),
        axis.text.y = element_text(face = "plain", size = 20, color = "black"),
        axis.title.y = element_text(face = "plain", size = 23, color = "black"), 
        axis.title.x = element_text(face = "plain", size = 20, color = "black"), ) +
  scale_x_discrete(labels = c("Third Person \n\ Generosity-motivated \n\ Donor", "Third Person \n\ Justice-motivated \n\ Donor"))

print(third_warmthP)

Factor 2: Competence

Code
mod_competence <- lmer(competence ~ motive + (1 | pid), data = third_gjg_long)
summary(mod_competence)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: competence ~ motive + (1 | pid)
   Data: third_gjg_long

REML criterion at convergence: 508.8

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-3.4015 -0.3946  0.0005  0.3198  3.4332 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.32915  0.5737  
 Residual             0.06058  0.2461  
Number of obs: 394, groups:  pid, 197

Fixed effects:
             Estimate Std. Error        df t value Pr(>|t|)    
(Intercept)   3.59492    0.04448 228.80178  80.824  < 2e-16 ***
motivejust    0.11777    0.02480 196.00000   4.749 3.95e-06 ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
           (Intr)
motivejust -0.279
Code
third_compP <- ggplot(third_gjg_long,  aes(x = motive, y = competence, color = motive)) +
  xlab("") +
  ylab("") +
  geom_point(stat="summary", fun="mean", size = 5) +
  stat_summary(fun.data = "mean_cl_normal", geom = "errorbar", linewidth = 1.5, width = .3) +
  geom_point(position = position_jitter(width = 0.1, height = 0.1), alpha = 0.4) +
    labs(x = "", y = "", title = "Competence (N = 393)") +
    theme(
        plot.title = element_text(hjust = 0.5, size = 25),
        axis.text.x = element_text(face = "plain", size = 23, color = "black"),
        axis.text.y = element_text(face = "plain", size = 20, color = "black"),
        axis.title.y = element_text(face = "plain", size = 23, color = "black"), 
        axis.title.x = element_text(face = "plain", size = 20, color = "black"), ) +
  scale_x_discrete(labels = c("Third Person \n\ Generosity-motivated \n\ Donor", "Third Person \n\ Justice-motivated \n\ Donor"))

print(third_compP)

Factor 3: Moral Goodness

Code
plot_cooker("motive", "moralGoodness", "Moral Goodness", c("genFirst", "justFirst", "genThird", "justThird")," ", 393)

Code
mod_moral <- lmer(moralGoodness ~ motive + (1 | pid), data = third_gjg_long)
summary(mod_moral)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: moralGoodness ~ motive + (1 | pid)
   Data: third_gjg_long

REML criterion at convergence: 879.5

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-4.0083 -0.3477  0.0707  0.4035  3.0658 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.3878   0.6227  
 Residual             0.2749   0.5243  
Number of obs: 394, groups:  pid, 197

Fixed effects:
             Estimate Std. Error        df t value Pr(>|t|)    
(Intercept)   4.08968    0.05800 292.01060  70.514   <2e-16 ***
motivejust    0.04230    0.05283 196.00000   0.801    0.424    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
           (Intr)
motivejust -0.455
Code
third_moralP <- ggplot(third_gjg_long,  aes(x = motive, y = moralGoodness, color = motive)) +
  xlab("") +
  ylab("") +
  geom_point(stat="summary", fun="mean", size = 5) +
  stat_summary(fun.data = "mean_cl_normal", geom = "errorbar", linewidth = 1.5, width = .3) +
  geom_point(position = position_jitter(width = 0.1, height = 0.1), alpha = 0.4) +
    labs(x = "", y = "", title = "Moral Goodness (N = 393)") +
    theme(
        plot.title = element_text(hjust = 0.5, size = 25),
        axis.text.x = element_text(face = "plain", size = 23, color = "black"),
        axis.text.y = element_text(face = "plain", size = 20, color = "black"),
        axis.title.y = element_text(face = "plain", size = 23, color = "black"), 
        axis.title.x = element_text(face = "plain", size = 20, color = "black"), ) +
  scale_x_discrete(labels = c("Third Person \n\ Generosity-motivated \n\ Donor", "Third Person \n\ Justice-motivated \n\ Donor", "Third Person \n\ Generosity-motivated \n\ Donor", "Third Person \n\ Justice-motivated \n\ Donor"))

print(third_moralP)

Factor 4: Decision Speed

Code
mod_speed <- lmer(decisionSpeed ~ motive + (1 | pid), data = third_gjg_long)
summary(mod_speed)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: decisionSpeed ~ motive + (1 | pid)
   Data: third_gjg_long

REML criterion at convergence: 1008.9

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-3.5557 -0.3440 -0.0629  0.2785  3.6307 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.8165   0.9036  
 Residual             0.2932   0.5415  
Number of obs: 393, groups:  pid, 197

Fixed effects:
             Estimate Std. Error        df t value Pr(>|t|)    
(Intercept)   2.92095    0.07514 254.97146  38.873   <2e-16 ***
motivejust   -0.10877    0.05468 195.37592  -1.989   0.0481 *  
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
           (Intr)
motivejust -0.365
Code
third_speedP <- ggplot(third_gjg_long,  aes(x = motive, y = decisionSpeed, color = motive)) +
  xlab("") +
  ylab("") +
  geom_point(stat="summary", fun="mean", size = 5) +
  stat_summary(fun.data = "mean_cl_normal", geom = "errorbar", linewidth = 1.5, width = .3) +
  geom_point(position = position_jitter(width = 0.1, height = 0.1), alpha = 0.4) +
    labs(x = "", y = "", title = "Decision Speed (N = 393)") +
    theme(
        plot.title = element_text(hjust = 0.5, size = 25),
        axis.text.x = element_text(face = "plain", size = 23, color = "black"),
        axis.text.y = element_text(face = "plain", size = 20, color = "black"),
        axis.title.y = element_text(face = "plain", size = 23, color = "black"), 
        axis.title.x = element_text(face = "plain", size = 20, color = "black"), ) +
  scale_x_discrete(labels = c("Third Person \n\ Generosity-motivated \n\ Donor", "Third Person \n\ Justice-motivated \n\ Donor", "Third Person \n\ Generosity-motivated \n\ Donor", "Third Person \n\ Justice-motivated \n\ Donor"))

ggpar(speedP, legend = "none") + scale_color_manual(values = c("genFirst" = "#7CCCB0", "justFirst" = "#D193DC", "genThird" = "#cc917c", "justThird" = "#4e2de0" ))

Code
print(third_speedP)

Factor 5: Signaling

Reputational

Code
mod_rep <- lmer(reputationSignal ~ motive + (1 | pid), data = third_gjg_long)
summary(mod_rep)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: reputationSignal ~ motive + (1 | pid)
   Data: third_gjg_long

REML criterion at convergence: 1259.3

Scaled residuals: 
     Min       1Q   Median       3Q      Max 
-2.39226 -0.52781 -0.06928  0.46734  2.63536 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 1.1324   1.0642  
 Residual             0.6804   0.8249  
Number of obs: 394, groups:  pid, 197

Fixed effects:
             Estimate Std. Error        df t value Pr(>|t|)    
(Intercept)   2.63959    0.09593 281.97224  27.516   <2e-16 ***
motivejust   -0.14721    0.08311 196.00001  -1.771   0.0781 .  
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
           (Intr)
motivejust -0.433
Code
third_repP <- ggplot(third_gjg_long,  aes(x = motive, y = reputationSignal, color = motive)) +
  xlab("") +
  ylab("") +
  geom_point(stat="summary", fun="mean", size = 5) +
  stat_summary(fun.data = "mean_cl_normal", geom = "errorbar", linewidth = 1.5, width = .3) +
  geom_point(position = position_jitter(width = 0.1, height = 0.1), alpha = 0.4) +
    labs(x = "", y = "", title = "Reputation Signaling (N = 393)") +
    theme(
        plot.title = element_text(hjust = 0.5, size = 25),
        axis.text.x = element_text(face = "plain", size = 23, color = "black"),
        axis.text.y = element_text(face = "plain", size = 20, color = "black"),
        axis.title.y = element_text(face = "plain", size = 23, color = "black"), 
        axis.title.x = element_text(face = "plain", size = 20, color = "black"), ) +
  scale_x_discrete(labels = c("Third Person \n\ Generosity-motivated \n\ Donor", "Third Person \n\ Justice-motivated \n\ Donor", "Third Person \n\ Generosity-motivated \n\ Donor", "Third Person \n\ Justice-motivated \n\ Donor"))

print(third_repP)

Norm

Code
mod_norm <- lmer(normSignal ~ motive + (1 | pid), data = third_gjg_long)
summary(mod_norm)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: normSignal ~ motive + (1 | pid)
   Data: third_gjg_long

REML criterion at convergence: 1200.4

Scaled residuals: 
     Min       1Q   Median       3Q      Max 
-2.77538 -0.45995  0.06106  0.41231  2.44731 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.8218   0.9065  
 Residual             0.6476   0.8048  
Number of obs: 394, groups:  pid, 197

Fixed effects:
             Estimate Std. Error        df t value Pr(>|t|)    
(Intercept)   3.36548    0.08637 298.60813  38.968   <2e-16 ***
motivejust    0.20305    0.08109 196.00000   2.504   0.0131 *  
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
           (Intr)
motivejust -0.469
Code
third_normP <- ggplot(third_gjg_long,  aes(x = motive, y = normSignal, color = motive)) +
  xlab("") +
  ylab("") +
  geom_point(stat="summary", fun="mean", size = 5) +
  stat_summary(fun.data = "mean_cl_normal", geom = "errorbar", linewidth = 1.5, width = .3) +
  geom_point(position = position_jitter(width = 0.1, height = 0.1), alpha = 0.4) +
    labs(x = "", y = "", title = "Norm Signaling (N = 393)") +
    theme(
        plot.title = element_text(hjust = 0.5, size = 25),
        axis.text.x = element_text(face = "plain", size = 23, color = "black"),
        axis.text.y = element_text(face = "plain", size = 20, color = "black"),
        axis.title.y = element_text(face = "plain", size = 23, color = "black"), 
        axis.title.x = element_text(face = "plain", size = 20, color = "black"), ) +
  scale_x_discrete(labels = c("Third Person \n\ Generosity-motivated \n\ Donor", "Third Person \n\ Justice-motivated \n\ Donor", "Third Person \n\ Generosity-motivated \n\ Donor", "Third Person \n\ Justice-motivated \n\ Donor"))

print(third_normP)

Factor 6: Emotion

Code
mod_emotion <- lmer(emotion ~ motive + (1 | pid), data = third_gjg_long)
summary(mod_emotion)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: emotion ~ motive + (1 | pid)
   Data: third_gjg_long

REML criterion at convergence: 1087

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-3.1829 -0.4857  0.1549  0.4943  2.3620 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.4817   0.6941  
 Residual             0.5499   0.7415  
Number of obs: 394, groups:  pid, 197

Fixed effects:
             Estimate Std. Error        df t value Pr(>|t|)    
(Intercept)   3.89340    0.07236 321.82224  53.804   <2e-16 ***
motivejust   -0.11168    0.07471 196.00000  -1.495    0.137    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
           (Intr)
motivejust -0.516
Code
third_emotionP <- ggplot(third_gjg_long,  aes(x = motive, y = emotion, color = motive)) +
  xlab("") +
  ylab("") +
  geom_point(stat="summary", fun="mean", size = 5) +
  stat_summary(fun.data = "mean_cl_normal", geom = "errorbar", linewidth = 1.5, width = .3) +
  geom_point(position = position_jitter(width = 0.1, height = 0.1), alpha = 0.4) +
    labs(x = "", y = "", title = "Emotion (N = 393)") +
    theme(
        plot.title = element_text(hjust = 0.5, size = 25),
        axis.text.x = element_text(face = "plain", size = 23, color = "black"),
        axis.text.y = element_text(face = "plain", size = 20, color = "black"),
        axis.title.y = element_text(face = "plain", size = 23, color = "black"), 
        axis.title.x = element_text(face = "plain", size = 20, color = "black"), ) +
  scale_x_discrete(labels = c("Third Person \n\ Generosity-motivated \n\ Donor", "Third Person \n\ Justice-motivated \n\ Donor", "Third Person \n\ Generosity-motivated \n\ Donor", "Third Person \n\ Justice-motivated \n\ Donor"))

print(third_emotionP)

Third Person Faceted By Vignette Order and Text Order

Factor 1: Warmth

Code
facet_plot_fn(third_gjg_long, "cell", "warmth", "text_order", "Warmth", c("gen", "just", "", "")," ", 393, 2, 2)

Code
facet_plot_fn(third_gjg_long, "cell", "warmth", "motive_order", "Warmth", c("gen", "just", "", "")," ", 393, 2, 2)

Code
mod_warmth_text <- lmer(warmth ~ motive*text_order + (1 | pid), data = third_gjg_long)
summary(mod_warmth_text)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: warmth ~ motive * text_order + (1 | pid)
   Data: third_gjg_long

REML criterion at convergence: 909.4

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-3.2045 -0.4430  0.0139  0.5646  2.4541 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.2401   0.4900  
 Residual             0.3831   0.6189  
Number of obs: 394, groups:  pid, 197

Fixed effects:
                                         Estimate Std. Error        df t value
(Intercept)                               3.86869    0.07934 339.58872  48.761
motivejust                               -0.15657    0.08797 195.00000  -1.780
text_ordergenValueJustCommit              0.06499    0.11249 339.58872   0.578
motivejust:text_ordergenValueJustCommit   0.05963    0.12473 195.00000   0.478
                                        Pr(>|t|)    
(Intercept)                               <2e-16 ***
motivejust                                0.0767 .  
text_ordergenValueJustCommit              0.5638    
motivejust:text_ordergenValueJustCommit   0.6331    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst tx_VJC
motivejust  -0.554              
txt_rdrgVJC -0.705  0.391       
mtvjst:_VJC  0.391 -0.705 -0.554
Code
mod_warmth_motive <- lmer(warmth ~ motive*motive_order + (1 | pid), data = third_gjg_long)
summary(mod_warmth_motive)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: warmth ~ motive * motive_order + (1 | pid)
   Data: third_gjg_long

REML criterion at convergence: 905.3

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-3.2385 -0.4318 -0.0132  0.5256  2.4746 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.2437   0.4937  
 Residual             0.3753   0.6126  
Number of obs: 394, groups:  pid, 197

Fixed effects:
                                   Estimate Std. Error         df t value
(Intercept)                       3.788e+00  7.908e-02  3.377e+02  47.901
motivejust                        2.237e-17  8.708e-02  1.950e+02   0.000
motive_orderjustFirst             2.274e-01  1.121e-01  3.377e+02   2.028
motivejust:motive_orderjustFirst -2.551e-01  1.235e-01  1.950e+02  -2.066
                                 Pr(>|t|)    
(Intercept)                        <2e-16 ***
motivejust                         1.0000    
motive_orderjustFirst              0.0433 *  
motivejust:motive_orderjustFirst   0.0401 *  
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst mtv_rF
motivejust  -0.551              
mtv_rdrjstF -0.705  0.388       
mtvjst:mt_F  0.388 -0.705 -0.551
Code
mod_warmth_motive <- lmer(warmth ~ motive*text_order*motive_order + (1 | pid), data = third_gjg_long)
summary(mod_warmth_motive)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: warmth ~ motive * text_order * motive_order + (1 | pid)
   Data: third_gjg_long

REML criterion at convergence: 910.7

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-3.2312 -0.4217 -0.0070  0.5582  2.4470 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.2438   0.4937  
 Residual             0.3777   0.6146  
Number of obs: 394, groups:  pid, 197

Fixed effects:
                                                                Estimate
(Intercept)                                                     3.769608
motivejust                                                      0.009804
text_ordergenValueJustCommit                                    0.037684
motive_orderjustFirst                                           0.204350
motivejust:text_ordergenValueJustCommit                        -0.020221
motivejust:motive_orderjustFirst                               -0.343137
text_ordergenValueJustCommit:motive_orderjustFirst              0.043358
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst   0.173554
                                                              Std. Error
(Intercept)                                                     0.110388
motivejust                                                      0.121701
text_ordergenValueJustCommit                                    0.158533
motive_orderjustFirst                                           0.158533
motivejust:text_ordergenValueJustCommit                         0.174780
motivejust:motive_orderjustFirst                                0.174780
text_ordergenValueJustCommit:motive_orderjustFirst              0.224742
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst   0.247775
                                                                      df
(Intercept)                                                   334.526519
motivejust                                                    193.000000
text_ordergenValueJustCommit                                  334.526519
motive_orderjustFirst                                         334.526519
motivejust:text_ordergenValueJustCommit                       193.000000
motivejust:motive_orderjustFirst                              193.000000
text_ordergenValueJustCommit:motive_orderjustFirst            334.526519
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst 193.000000
                                                              t value Pr(>|t|)
(Intercept)                                                    34.149   <2e-16
motivejust                                                      0.081   0.9359
text_ordergenValueJustCommit                                    0.238   0.8123
motive_orderjustFirst                                           1.289   0.1983
motivejust:text_ordergenValueJustCommit                        -0.116   0.9080
motivejust:motive_orderjustFirst                               -1.963   0.0511
text_ordergenValueJustCommit:motive_orderjustFirst              0.193   0.8471
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst   0.700   0.4845
                                                                 
(Intercept)                                                   ***
motivejust                                                       
text_ordergenValueJustCommit                                     
motive_orderjustFirst                                            
motivejust:text_ordergenValueJustCommit                          
motivejust:motive_orderjustFirst                              .  
text_ordergenValueJustCommit:motive_orderjustFirst               
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst tx_VJC mtv_rF mt:_VJC mtv:_F t_VJC:
motivejust  -0.551                                           
txt_rdrgVJC -0.696  0.384                                    
mtv_rdrjstF -0.696  0.384  0.485                             
mtvjst:_VJC  0.384 -0.696 -0.551 -0.267                      
mtvjst:mt_F  0.384 -0.696 -0.267 -0.551  0.485               
txt_rVJC:_F  0.491 -0.271 -0.705 -0.705  0.389   0.389       
mtv:_VJC:_F -0.271  0.491  0.389  0.389 -0.705  -0.705 -0.551

Factor 2: Competence

Code
facet_plot_fn(third_gjg_long, "cell", "competence", "text_order", "competence", c("gen", "just", "", "")," ", 393, 2, 2)

Code
facet_plot_fn(third_gjg_long, "cell", "competence", "motive_order", "competence", c("gen", "just", "", "")," ", 393, 2, 2)

Code
mod_competence_text <- lmer(competence ~ motive*text_order + (1 | pid), data = third_gjg_long)
summary(mod_competence_text)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: competence ~ motive * text_order + (1 | pid)
   Data: third_gjg_long

REML criterion at convergence: 514.2

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-3.3682 -0.3882 -0.0165  0.3213  3.3703 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.32911  0.5737  
 Residual             0.06063  0.2462  
Number of obs: 394, groups:  pid, 197

Fixed effects:
                                         Estimate Std. Error        df t value
(Intercept)                               3.56364    0.06274 227.65987  56.797
motivejust                                0.09495    0.03500 195.00000   2.713
text_ordergenValueJustCommit              0.06289    0.08896 227.65987   0.707
motivejust:text_ordergenValueJustCommit   0.04587    0.04962 195.00000   0.924
                                        Pr(>|t|)    
(Intercept)                              < 2e-16 ***
motivejust                               0.00726 ** 
text_ordergenValueJustCommit             0.48028    
motivejust:text_ordergenValueJustCommit  0.35643    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst tx_VJC
motivejust  -0.279              
txt_rdrgVJC -0.705  0.197       
mtvjst:_VJC  0.197 -0.705 -0.279
Code
mod_competence_motive <- lmer(competence ~ motive*motive_order + (1 | pid), data = third_gjg_long)
summary(mod_competence_motive)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: competence ~ motive * motive_order + (1 | pid)
   Data: third_gjg_long

REML criterion at convergence: 515.5

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-3.3938 -0.3745 -0.0032  0.3124  3.4050 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.32995  0.5744  
 Residual             0.06088  0.2467  
Number of obs: 394, groups:  pid, 197

Fixed effects:
                                  Estimate Std. Error        df t value
(Intercept)                      3.568e+00  6.283e-02 2.277e+02  56.782
motivejust                       1.131e-01  3.507e-02 1.950e+02   3.226
motive_orderjustFirst            5.477e-02  8.908e-02 2.277e+02   0.615
motivejust:motive_orderjustFirst 9.318e-03  4.972e-02 1.950e+02   0.187
                                 Pr(>|t|)    
(Intercept)                       < 2e-16 ***
motivejust                        0.00147 ** 
motive_orderjustFirst             0.53927    
motivejust:motive_orderjustFirst  0.85155    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst mtv_rF
motivejust  -0.279              
mtv_rdrjstF -0.705  0.197       
mtvjst:mt_F  0.197 -0.705 -0.279
Code
mod_competence_motive <- lmer(competence ~ motive*text_order*motive_order + (1 | pid), data = third_gjg_long)
summary(mod_competence_motive)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: competence ~ motive * text_order * motive_order + (1 | pid)
   Data: third_gjg_long

REML criterion at convergence: 525.3

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-3.3412 -0.3838 -0.0078  0.3106  3.3344 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.33145  0.5757  
 Residual             0.06124  0.2475  
Number of obs: 394, groups:  pid, 197

Fixed effects:
                                                                Estimate
(Intercept)                                                     3.521569
motivejust                                                      0.094118
text_ordergenValueJustCommit                                    0.095098
motive_orderjustFirst                                           0.086765
motivejust:text_ordergenValueJustCommit                         0.039216
motivejust:motive_orderjustFirst                                0.001716
text_ordergenValueJustCommit:motive_orderjustFirst             -0.067431
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst   0.012951
                                                              Std. Error
(Intercept)                                                     0.087749
motivejust                                                      0.049006
text_ordergenValueJustCommit                                    0.126019
motive_orderjustFirst                                           0.126019
motivejust:text_ordergenValueJustCommit                         0.070380
motivejust:motive_orderjustFirst                                0.070380
text_ordergenValueJustCommit:motive_orderjustFirst              0.178650
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst   0.099773
                                                                      df
(Intercept)                                                   225.412193
motivejust                                                    193.000003
text_ordergenValueJustCommit                                  225.412194
motive_orderjustFirst                                         225.412194
motivejust:text_ordergenValueJustCommit                       193.000003
motivejust:motive_orderjustFirst                              193.000003
text_ordergenValueJustCommit:motive_orderjustFirst            225.412195
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst 193.000003
                                                              t value Pr(>|t|)
(Intercept)                                                    40.132   <2e-16
motivejust                                                      1.921   0.0563
text_ordergenValueJustCommit                                    0.755   0.4513
motive_orderjustFirst                                           0.689   0.4918
motivejust:text_ordergenValueJustCommit                         0.557   0.5780
motivejust:motive_orderjustFirst                                0.024   0.9806
text_ordergenValueJustCommit:motive_orderjustFirst             -0.377   0.7062
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst   0.130   0.8969
                                                                 
(Intercept)                                                   ***
motivejust                                                    .  
text_ordergenValueJustCommit                                     
motive_orderjustFirst                                            
motivejust:text_ordergenValueJustCommit                          
motivejust:motive_orderjustFirst                                 
text_ordergenValueJustCommit:motive_orderjustFirst               
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst tx_VJC mtv_rF mt:_VJC mtv:_F t_VJC:
motivejust  -0.279                                           
txt_rdrgVJC -0.696  0.194                                    
mtv_rdrjstF -0.696  0.194  0.485                             
mtvjst:_VJC  0.194 -0.696 -0.279 -0.135                      
mtvjst:mt_F  0.194 -0.696 -0.135 -0.279  0.485               
txt_rVJC:_F  0.491 -0.137 -0.705 -0.705  0.197   0.197       
mtv:_VJC:_F -0.137  0.491  0.197  0.197 -0.705  -0.705 -0.279

Factor 3: Moral Goodness

Code
facet_plot_fn(third_gjg_long, "cell", "moralGoodness", "text_order", "moralGoodness", c("gen", "just", "", "")," ", 393, 2, 2)

Code
facet_plot_fn(third_gjg_long, "cell", "moralGoodness", "motive_order", "moralGoodness", c("gen", "just", "", "")," ", 393, 2, 2)

Code
mod_moralGoodness_text <- lmer(moralGoodness ~ motive*text_order + (1 | pid), data = third_gjg_long)
summary(mod_moralGoodness_text)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: moralGoodness ~ motive * text_order + (1 | pid)
   Data: third_gjg_long

REML criterion at convergence: 884.3

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-4.0462 -0.3706  0.1066  0.4460  3.0865 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.3897   0.6242  
 Residual             0.2757   0.5250  
Number of obs: 394, groups:  pid, 197

Fixed effects:
                                         Estimate Std. Error        df t value
(Intercept)                             4.088e+00  8.198e-02 2.904e+02  49.861
motivejust                              6.734e-03  7.462e-02 1.950e+02   0.090
text_ordergenValueJustCommit            4.295e-03  1.162e-01 2.904e+02   0.037
motivejust:text_ordergenValueJustCommit 7.150e-02  1.058e-01 1.950e+02   0.676
                                        Pr(>|t|)    
(Intercept)                               <2e-16 ***
motivejust                                 0.928    
text_ordergenValueJustCommit               0.971    
motivejust:text_ordergenValueJustCommit    0.500    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst tx_VJC
motivejust  -0.455              
txt_rdrgVJC -0.705  0.321       
mtvjst:_VJC  0.321 -0.705 -0.455
Code
mod_moralGoodness_motive <- lmer(moralGoodness ~ motive*motive_order + (1 | pid), data = third_gjg_long)
summary(mod_moralGoodness_motive)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: moralGoodness ~ motive * motive_order + (1 | pid)
   Data: third_gjg_long

REML criterion at convergence: 882.8

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-3.9928 -0.3539  0.0831  0.4180  3.1149 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.3849   0.6204  
 Residual             0.2760   0.5253  
Number of obs: 394, groups:  pid, 197

Fixed effects:
                                  Estimate Std. Error        df t value
(Intercept)                        4.00673    0.08170 291.22838  49.041
motivejust                         0.06734    0.07467 195.00000   0.902
motive_orderjustFirst              0.16674    0.11584 291.22838   1.439
motivejust:motive_orderjustFirst  -0.05033    0.10587 195.00000  -0.475
                                 Pr(>|t|)    
(Intercept)                        <2e-16 ***
motivejust                          0.368    
motive_orderjustFirst               0.151    
motivejust:motive_orderjustFirst    0.635    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst mtv_rF
motivejust  -0.457              
mtv_rdrjstF -0.705  0.322       
mtvjst:mt_F  0.322 -0.705 -0.457
Code
mod_moralGoodness_motive <- lmer(moralGoodness ~ motive*text_order*motive_order + (1 | pid), data = third_gjg_long)
summary(mod_moralGoodness_motive)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: moralGoodness ~ motive * text_order * motive_order + (1 | pid)
   Data: third_gjg_long

REML criterion at convergence: 889.3

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-4.0205 -0.3572  0.0767  0.4421  3.1712 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.3869   0.6220  
 Residual             0.2780   0.5272  
Number of obs: 394, groups:  pid, 197

Fixed effects:
                                                               Estimate
(Intercept)                                                     4.05882
motivejust                                                      0.01307
text_ordergenValueJustCommit                                   -0.10743
motive_orderjustFirst                                           0.05923
motivejust:text_ordergenValueJustCommit                         0.11193
motivejust:motive_orderjustFirst                               -0.01307
text_ordergenValueJustCommit:motive_orderjustFirst              0.21605
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst  -0.07859
                                                              Std. Error
(Intercept)                                                      0.11418
motivejust                                                       0.10441
text_ordergenValueJustCommit                                     0.16398
motive_orderjustFirst                                            0.16398
motivejust:text_ordergenValueJustCommit                          0.14994
motivejust:motive_orderjustFirst                                 0.14994
text_ordergenValueJustCommit:motive_orderjustFirst               0.23247
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst    0.21257
                                                                     df t value
(Intercept)                                                   288.34802  35.547
motivejust                                                    193.00000   0.125
text_ordergenValueJustCommit                                  288.34802  -0.655
motive_orderjustFirst                                         288.34802   0.361
motivejust:text_ordergenValueJustCommit                       193.00000   0.746
motivejust:motive_orderjustFirst                              193.00000  -0.087
text_ordergenValueJustCommit:motive_orderjustFirst            288.34802   0.929
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst 193.00000  -0.370
                                                              Pr(>|t|)    
(Intercept)                                                     <2e-16 ***
motivejust                                                       0.900    
text_ordergenValueJustCommit                                     0.513    
motive_orderjustFirst                                            0.718    
motivejust:text_ordergenValueJustCommit                          0.456    
motivejust:motive_orderjustFirst                                 0.931    
text_ordergenValueJustCommit:motive_orderjustFirst               0.353    
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst    0.712    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst tx_VJC mtv_rF mt:_VJC mtv:_F t_VJC:
motivejust  -0.457                                           
txt_rdrgVJC -0.696  0.318                                    
mtv_rdrjstF -0.696  0.318  0.485                             
mtvjst:_VJC  0.318 -0.696 -0.457 -0.222                      
mtvjst:mt_F  0.318 -0.696 -0.222 -0.457  0.485               
txt_rVJC:_F  0.491 -0.225 -0.705 -0.705  0.323   0.323       
mtv:_VJC:_F -0.225  0.491  0.323  0.323 -0.705  -0.705 -0.457

Factor 4: Decision Speed

Code
facet_plot_fn(third_gjg_long, "cell", "decisionSpeed", "text_order", "decisionSpeed", c("gen", "just", "", "")," ", 393, 2, 2)

Code
facet_plot_fn(third_gjg_long, "cell", "decisionSpeed", "motive_order", "decisionSpeed", c("gen", "just", "", "")," ", 393, 2, 2)

Code
mod_decisionSpeed_text <- lmer(decisionSpeed ~ motive*text_order + (1 | pid), data = third_gjg_long)
summary(mod_decisionSpeed_text)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: decisionSpeed ~ motive * text_order + (1 | pid)
   Data: third_gjg_long

REML criterion at convergence: 1013.1

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-3.5402 -0.3555 -0.0438  0.2846  3.6405 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.8187   0.9048  
 Residual             0.2947   0.5428  
Number of obs: 393, groups:  pid, 197

Fixed effects:
                                         Estimate Std. Error        df t value
(Intercept)                               2.96914    0.10630 254.61581  27.932
motivejust                               -0.11560    0.07750 194.61149  -1.492
text_ordergenValueJustCommit             -0.09669    0.15053 253.78382  -0.642
motivejust:text_ordergenValueJustCommit   0.01356    0.10963 194.38550   0.124
                                        Pr(>|t|)    
(Intercept)                               <2e-16 ***
motivejust                                 0.137    
text_ordergenValueJustCommit               0.521    
motivejust:text_ordergenValueJustCommit    0.902    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst tx_VJC
motivejust  -0.368              
txt_rdrgVJC -0.706  0.260       
mtvjst:_VJC  0.260 -0.707 -0.366
Code
mod_decisionSpeed_motive <- lmer(decisionSpeed ~ motive*motive_order + (1 | pid), data = third_gjg_long)
summary(mod_decisionSpeed_motive)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: decisionSpeed ~ motive * motive_order + (1 | pid)
   Data: third_gjg_long

REML criterion at convergence: 1007

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-3.5724 -0.3113 -0.0246  0.2884  3.7389 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.7969   0.8927  
 Residual             0.2926   0.5409  
Number of obs: 393, groups:  pid, 197

Fixed effects:
                                  Estimate Std. Error        df t value
(Intercept)                        2.73232    0.10490 253.91268  26.047
motivejust                        -0.04545    0.07688 194.18259  -0.591
motive_orderjustFirst              0.38016    0.14891 254.76324   2.553
motivejust:motive_orderjustFirst  -0.12825    0.10924 194.41551  -1.174
                                 Pr(>|t|)    
(Intercept)                        <2e-16 ***
motivejust                         0.5550    
motive_orderjustFirst              0.0113 *  
motivejust:motive_orderjustFirst   0.2418    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst mtv_rF
motivejust  -0.366              
mtv_rdrjstF -0.704  0.258       
mtvjst:mt_F  0.258 -0.704 -0.368
Code
mod_decisionSpeed_motive <- lmer(decisionSpeed ~ motive*text_order*motive_order + (1 | pid), data = third_gjg_long)
summary(mod_decisionSpeed_motive)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: decisionSpeed ~ motive * text_order * motive_order + (1 | pid)
   Data: third_gjg_long

REML criterion at convergence: 1011.7

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-3.4992 -0.3211 -0.0649  0.2725  3.6951 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.8040   0.8967  
 Residual             0.2932   0.5415  
Number of obs: 393, groups:  pid, 197

Fixed effects:
                                                                Estimate
(Intercept)                                                     2.754902
motivejust                                                      0.009804
text_ordergenValueJustCommit                                   -0.046569
motive_orderjustFirst                                           0.445195
motivejust:text_ordergenValueJustCommit                        -0.113971
motivejust:motive_orderjustFirst                               -0.261984
text_ordergenValueJustCommit:motive_orderjustFirst             -0.123528
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst   0.266151
                                                              Std. Error
(Intercept)                                                     0.146679
motivejust                                                      0.107236
text_ordergenValueJustCommit                                    0.210652
motive_orderjustFirst                                           0.211186
motivejust:text_ordergenValueJustCommit                         0.154006
motivejust:motive_orderjustFirst                                0.154736
text_ordergenValueJustCommit:motive_orderjustFirst              0.299005
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst   0.218840
                                                                      df
(Intercept)                                                   251.000341
motivejust                                                    192.183702
text_ordergenValueJustCommit                                  251.000342
motive_orderjustFirst                                         252.773100
motivejust:text_ordergenValueJustCommit                       192.183702
motivejust:motive_orderjustFirst                              192.667323
text_ordergenValueJustCommit:motive_orderjustFirst            251.883825
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst 192.425337
                                                              t value Pr(>|t|)
(Intercept)                                                    18.782   <2e-16
motivejust                                                      0.091   0.9273
text_ordergenValueJustCommit                                   -0.221   0.8252
motive_orderjustFirst                                           2.108   0.0360
motivejust:text_ordergenValueJustCommit                        -0.740   0.4602
motivejust:motive_orderjustFirst                               -1.693   0.0921
text_ordergenValueJustCommit:motive_orderjustFirst             -0.413   0.6799
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst   1.216   0.2254
                                                                 
(Intercept)                                                   ***
motivejust                                                       
text_ordergenValueJustCommit                                     
motive_orderjustFirst                                         *  
motivejust:text_ordergenValueJustCommit                          
motivejust:motive_orderjustFirst                              .  
text_ordergenValueJustCommit:motive_orderjustFirst               
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst tx_VJC mtv_rF mt:_VJC mtv:_F t_VJC:
motivejust  -0.366                                           
txt_rdrgVJC -0.696  0.255                                    
mtv_rdrjstF -0.695  0.254  0.484                             
mtvjst:_VJC  0.255 -0.696 -0.366 -0.177                      
mtvjst:mt_F  0.253 -0.693 -0.176 -0.370  0.483               
txt_rVJC:_F  0.491 -0.179 -0.705 -0.706  0.258   0.261       
mtv:_VJC:_F -0.179  0.490  0.257  0.261 -0.704  -0.707 -0.368

Factor 5: Signaling

Reputational

Code
facet_plot_fn(third_gjg_long, "cell", "reputationSignal", "text_order", "reputationSignal", c("gen", "just", "", "")," ", 393, 2, 2)

Code
facet_plot_fn(third_gjg_long, "cell", "reputationSignal", "motive_order", "reputationSignal", c("gen", "just", "", "")," ", 393, 2, 2)

Code
mod_reputationSignal_text <- lmer(reputationSignal ~ motive*text_order + (1 | pid), data = third_gjg_long)
summary(mod_reputationSignal_text)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: reputationSignal ~ motive * text_order + (1 | pid)
   Data: third_gjg_long

REML criterion at convergence: 1261.8

Scaled residuals: 
     Min       1Q   Median       3Q      Max 
-2.41967 -0.49735 -0.07407  0.43812  2.68462 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 1.1377   1.0666  
 Residual             0.6817   0.8256  
Number of obs: 394, groups:  pid, 197

Fixed effects:
                                         Estimate Std. Error        df t value
(Intercept)                               2.64646    0.13557 280.36560  19.522
motivejust                               -0.08081    0.11735 195.00001  -0.689
text_ordergenValueJustCommit             -0.01381    0.19221 280.36560  -0.072
motivejust:text_ordergenValueJustCommit  -0.13348    0.16638 195.00001  -0.802
                                        Pr(>|t|)    
(Intercept)                               <2e-16 ***
motivejust                                 0.492    
text_ordergenValueJustCommit               0.943    
motivejust:text_ordergenValueJustCommit    0.423    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst tx_VJC
motivejust  -0.433              
txt_rdrgVJC -0.705  0.305       
mtvjst:_VJC  0.305 -0.705 -0.433
Code
mod_reputationSignal_motive <- lmer(reputationSignal ~ motive*motive_order + (1 | pid), data = third_gjg_long)
summary(mod_reputationSignal_motive)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: reputationSignal ~ motive * motive_order + (1 | pid)
   Data: third_gjg_long

REML criterion at convergence: 1260.7

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-2.4762 -0.4458 -0.1174  0.4200  2.6874 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 1.1380   1.0668  
 Residual             0.6783   0.8236  
Number of obs: 394, groups:  pid, 197

Fixed effects:
                                 Estimate Std. Error       df t value Pr(>|t|)
(Intercept)                        2.7475     0.1354 280.0577  20.285   <2e-16
motivejust                        -0.2525     0.1171 195.0000  -2.157   0.0322
motive_orderjustFirst             -0.2169     0.1920 280.0577  -1.129   0.2598
motivejust:motive_orderjustFirst   0.2117     0.1660 195.0000   1.276   0.2036
                                    
(Intercept)                      ***
motivejust                       *  
motive_orderjustFirst               
motivejust:motive_orderjustFirst    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst mtv_rF
motivejust  -0.432              
mtv_rdrjstF -0.705  0.305       
mtvjst:mt_F  0.305 -0.705 -0.432
Code
mod_reputationSignal_motive <- lmer(reputationSignal ~ motive*text_order*motive_order + (1 | pid), data = third_gjg_long)
summary(mod_reputationSignal_motive)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: reputationSignal ~ motive * text_order * motive_order + (1 |      pid)
   Data: third_gjg_long

REML criterion at convergence: 1263.5

Scaled residuals: 
     Min       1Q   Median       3Q      Max 
-2.53430 -0.44236 -0.09874  0.38828  2.76503 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 1.1501   1.0724  
 Residual             0.6816   0.8256  
Number of obs: 394, groups:  pid, 197

Fixed effects:
                                                               Estimate
(Intercept)                                                     2.72549
motivejust                                                     -0.13725
text_ordergenValueJustCommit                                    0.04534
motive_orderjustFirst                                          -0.16299
motivejust:text_ordergenValueJustCommit                        -0.23775
motivejust:motive_orderjustFirst                                0.11642
text_ordergenValueJustCommit:motive_orderjustFirst             -0.10784
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst   0.19858
                                                              Std. Error
(Intercept)                                                      0.18951
motivejust                                                       0.16349
text_ordergenValueJustCommit                                     0.27217
motive_orderjustFirst                                            0.27217
motivejust:text_ordergenValueJustCommit                          0.23479
motivejust:motive_orderjustFirst                                 0.23479
text_ordergenValueJustCommit:motive_orderjustFirst               0.38583
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst    0.33285
                                                                     df t value
(Intercept)                                                   276.85222  14.382
motivejust                                                    193.00001  -0.840
text_ordergenValueJustCommit                                  276.85222   0.167
motive_orderjustFirst                                         276.85222  -0.599
motivejust:text_ordergenValueJustCommit                       193.00001  -1.013
motivejust:motive_orderjustFirst                              193.00001   0.496
text_ordergenValueJustCommit:motive_orderjustFirst            276.85222  -0.280
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst 193.00001   0.597
                                                              Pr(>|t|)    
(Intercept)                                                     <2e-16 ***
motivejust                                                       0.402    
text_ordergenValueJustCommit                                     0.868    
motive_orderjustFirst                                            0.550    
motivejust:text_ordergenValueJustCommit                          0.313    
motivejust:motive_orderjustFirst                                 0.621    
text_ordergenValueJustCommit:motive_orderjustFirst               0.780    
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst    0.551    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst tx_VJC mtv_rF mt:_VJC mtv:_F t_VJC:
motivejust  -0.431                                           
txt_rdrgVJC -0.696  0.300                                    
mtv_rdrjstF -0.696  0.300  0.485                             
mtvjst:_VJC  0.300 -0.696 -0.431 -0.209                      
mtvjst:mt_F  0.300 -0.696 -0.209 -0.431  0.485               
txt_rVJC:_F  0.491 -0.212 -0.705 -0.705  0.304   0.304       
mtv:_VJC:_F -0.212  0.491  0.304  0.304 -0.705  -0.705 -0.431

Norm

Code
facet_plot_fn(third_gjg_long, "cell", "normSignal", "text_order", "normSignal", c("gen", "just", "", "")," ", 393, 2, 2)

Code
facet_plot_fn(third_gjg_long, "cell", "normSignal", "motive_order", "normSignal", c("gen", "just", "", "")," ", 393, 2, 2)

Code
mod_normSignal_text <- lmer(normSignal ~ motive*text_order + (1 | pid), data = third_gjg_long)
summary(mod_normSignal_text)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: normSignal ~ motive * text_order + (1 | pid)
   Data: third_gjg_long

REML criterion at convergence: 1203.5

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-2.7316 -0.4428  0.0208  0.4505  2.4103 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.8268   0.9093  
 Residual             0.6492   0.8057  
Number of obs: 394, groups:  pid, 197

Fixed effects:
                                         Estimate Std. Error        df t value
(Intercept)                               3.34343    0.12210 296.84705  27.382
motivejust                                0.26263    0.11452 195.00000   2.293
text_ordergenValueJustCommit              0.04432    0.17312 296.84705   0.256
motivejust:text_ordergenValueJustCommit  -0.11977    0.16237 195.00000  -0.738
                                        Pr(>|t|)    
(Intercept)                               <2e-16 ***
motivejust                                0.0229 *  
text_ordergenValueJustCommit              0.7981    
motivejust:text_ordergenValueJustCommit   0.4616    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst tx_VJC
motivejust  -0.469              
txt_rdrgVJC -0.705  0.331       
mtvjst:_VJC  0.331 -0.705 -0.469
Code
mod_normSignal_motive <- lmer(normSignal ~ motive*motive_order + (1 | pid), data = third_gjg_long)
summary(mod_normSignal_motive)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: normSignal ~ motive * motive_order + (1 | pid)
   Data: third_gjg_long

REML criterion at convergence: 1202.1

Scaled residuals: 
     Min       1Q   Median       3Q      Max 
-2.76602 -0.46022  0.05461  0.42107  2.37460 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.8189   0.9050  
 Residual             0.6490   0.8056  
Number of obs: 394, groups:  pid, 197

Fixed effects:
                                 Estimate Std. Error       df t value Pr(>|t|)
(Intercept)                        3.4848     0.1218 297.4322  28.618   <2e-16
motivejust                         0.1414     0.1145 195.0000   1.235    0.218
motive_orderjustFirst             -0.2400     0.1726 297.4322  -1.390    0.166
motivejust:motive_orderjustFirst   0.1239     0.1623 195.0000   0.763    0.446
                                    
(Intercept)                      ***
motivejust                          
motive_orderjustFirst               
motivejust:motive_orderjustFirst    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst mtv_rF
motivejust  -0.470              
mtv_rdrjstF -0.705  0.332       
mtvjst:mt_F  0.332 -0.705 -0.470
Code
mod_normSignal_motive <- lmer(normSignal ~ motive*text_order*motive_order + (1 | pid), data = third_gjg_long)
summary(mod_normSignal_motive)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: normSignal ~ motive * text_order * motive_order + (1 | pid)
   Data: third_gjg_long

REML criterion at convergence: 1205.4

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-2.6972 -0.4682  0.0329  0.4237  2.2815 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.8273   0.9096  
 Residual             0.6522   0.8076  
Number of obs: 394, groups:  pid, 197

Fixed effects:
                                                               Estimate
(Intercept)                                                     3.39216
motivejust                                                      0.25490
text_ordergenValueJustCommit                                    0.19118
motive_orderjustFirst                                          -0.10049
motivejust:text_ordergenValueJustCommit                        -0.23407
motivejust:motive_orderjustFirst                                0.01593
text_ordergenValueJustCommit:motive_orderjustFirst             -0.28284
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst   0.22324
                                                              Std. Error
(Intercept)                                                      0.17032
motivejust                                                       0.15993
text_ordergenValueJustCommit                                     0.24461
motive_orderjustFirst                                            0.24461
motivejust:text_ordergenValueJustCommit                          0.22968
motivejust:motive_orderjustFirst                                 0.22968
text_ordergenValueJustCommit:motive_orderjustFirst               0.34677
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst    0.32561
                                                                     df t value
(Intercept)                                                   294.06001  19.916
motivejust                                                    193.00000   1.594
text_ordergenValueJustCommit                                  294.06001   0.782
motive_orderjustFirst                                         294.06001  -0.411
motivejust:text_ordergenValueJustCommit                       193.00000  -1.019
motivejust:motive_orderjustFirst                              193.00000   0.069
text_ordergenValueJustCommit:motive_orderjustFirst            294.06001  -0.816
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst 193.00000   0.686
                                                              Pr(>|t|)    
(Intercept)                                                     <2e-16 ***
motivejust                                                       0.113    
text_ordergenValueJustCommit                                     0.435    
motive_orderjustFirst                                            0.682    
motivejust:text_ordergenValueJustCommit                          0.309    
motivejust:motive_orderjustFirst                                 0.945    
text_ordergenValueJustCommit:motive_orderjustFirst               0.415    
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst    0.494    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst tx_VJC mtv_rF mt:_VJC mtv:_F t_VJC:
motivejust  -0.469                                           
txt_rdrgVJC -0.696  0.327                                    
mtv_rdrjstF -0.696  0.327  0.485                             
mtvjst:_VJC  0.327 -0.696 -0.469 -0.228                      
mtvjst:mt_F  0.327 -0.696 -0.228 -0.469  0.485               
txt_rVJC:_F  0.491 -0.231 -0.705 -0.705  0.331   0.331       
mtv:_VJC:_F -0.231  0.491  0.331  0.331 -0.705  -0.705 -0.469

Factor 6: Emotion

Code
facet_plot_fn(third_gjg_long, "cell", "emotion", "text_order", "emotion", c("gen", "just", "", "")," ", 393, 2, 2)

Code
facet_plot_fn(third_gjg_long, "cell", "emotion", "motive_order", "emotion", c("gen", "just", "", "")," ", 393, 2, 2)

Code
mod_emotion_text <- lmer(emotion ~ motive*text_order + (1 | pid), data = third_gjg_long)
summary(mod_emotion_text)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: emotion ~ motive * text_order + (1 | pid)
   Data: third_gjg_long

REML criterion at convergence: 1089.9

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-3.2490 -0.4163  0.1127  0.5592  2.4065 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.4851   0.6965  
 Residual             0.5494   0.7412  
Number of obs: 394, groups:  pid, 197

Fixed effects:
                                        Estimate Std. Error       df t value
(Intercept)                               3.9596     0.1022 319.6958  38.735
motivejust                               -0.1919     0.1054 195.0000  -1.822
text_ordergenValueJustCommit             -0.1331     0.1449 319.6958  -0.918
motivejust:text_ordergenValueJustCommit   0.1613     0.1494 195.0000   1.080
                                        Pr(>|t|)    
(Intercept)                               <2e-16 ***
motivejust                                 0.070 .  
text_ordergenValueJustCommit               0.359    
motivejust:text_ordergenValueJustCommit    0.282    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst tx_VJC
motivejust  -0.515              
txt_rdrgVJC -0.705  0.363       
mtvjst:_VJC  0.363 -0.705 -0.515
Code
mod_emotion_motive <- lmer(emotion ~ motive*motive_order + (1 | pid), data = third_gjg_long)
summary(mod_emotion_motive)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: emotion ~ motive * motive_order + (1 | pid)
   Data: third_gjg_long

REML criterion at convergence: 1088.2

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-3.0956 -0.4007  0.1496  0.5871  2.3623 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.4759   0.6899  
 Residual             0.5508   0.7421  
Number of obs: 394, groups:  pid, 197

Fixed effects:
                                  Estimate Std. Error        df t value
(Intercept)                        3.76768    0.10184 321.02191  36.998
motivejust                        -0.05051    0.10548 195.00000  -0.479
motive_orderjustFirst              0.25273    0.14438 321.02191   1.750
motivejust:motive_orderjustFirst  -0.12296    0.14955 195.00000  -0.822
                                 Pr(>|t|)    
(Intercept)                        <2e-16 ***
motivejust                          0.633    
motive_orderjustFirst               0.081 .  
motivejust:motive_orderjustFirst    0.412    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst mtv_rF
motivejust  -0.518              
mtv_rdrjstF -0.705  0.365       
mtvjst:mt_F  0.365 -0.705 -0.518
Code
mod_emotion_motive <- lmer(emotion ~ motive*text_order*motive_order + (1 | pid), data = third_gjg_long)
summary(mod_emotion_motive)
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: emotion ~ motive * text_order * motive_order + (1 | pid)
   Data: third_gjg_long

REML criterion at convergence: 1090.6

Scaled residuals: 
    Min      1Q  Median      3Q     Max 
-3.1748 -0.4548  0.1110  0.5298  2.4798 

Random effects:
 Groups   Name        Variance Std.Dev.
 pid      (Intercept) 0.4784   0.6916  
 Residual             0.5506   0.7421  
Number of obs: 394, groups:  pid, 197

Fixed effects:
                                                                Estimate
(Intercept)                                                     3.803922
motivejust                                                     -0.196078
text_ordergenValueJustCommit                                   -0.074755
motive_orderjustFirst                                           0.321078
motivejust:text_ordergenValueJustCommit                         0.300245
motivejust:motive_orderjustFirst                                0.008578
text_ordergenValueJustCommit:motive_orderjustFirst             -0.130245
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst  -0.272745
                                                              Std. Error
(Intercept)                                                     0.142046
motivejust                                                      0.146949
text_ordergenValueJustCommit                                    0.203998
motive_orderjustFirst                                           0.203998
motivejust:text_ordergenValueJustCommit                         0.211040
motivejust:motive_orderjustFirst                                0.211040
text_ordergenValueJustCommit:motive_orderjustFirst              0.289195
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst   0.299178
                                                                      df
(Intercept)                                                   317.403901
motivejust                                                    193.000002
text_ordergenValueJustCommit                                  317.403902
motive_orderjustFirst                                         317.403902
motivejust:text_ordergenValueJustCommit                       193.000002
motivejust:motive_orderjustFirst                              193.000002
text_ordergenValueJustCommit:motive_orderjustFirst            317.403902
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst 193.000002
                                                              t value Pr(>|t|)
(Intercept)                                                    26.780   <2e-16
motivejust                                                     -1.334    0.184
text_ordergenValueJustCommit                                   -0.366    0.714
motive_orderjustFirst                                           1.574    0.116
motivejust:text_ordergenValueJustCommit                         1.423    0.156
motivejust:motive_orderjustFirst                                0.041    0.968
text_ordergenValueJustCommit:motive_orderjustFirst             -0.450    0.653
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst  -0.912    0.363
                                                                 
(Intercept)                                                   ***
motivejust                                                       
text_ordergenValueJustCommit                                     
motive_orderjustFirst                                            
motivejust:text_ordergenValueJustCommit                          
motivejust:motive_orderjustFirst                                 
text_ordergenValueJustCommit:motive_orderjustFirst               
motivejust:text_ordergenValueJustCommit:motive_orderjustFirst    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Correlation of Fixed Effects:
            (Intr) mtvjst tx_VJC mtv_rF mt:_VJC mtv:_F t_VJC:
motivejust  -0.517                                           
txt_rdrgVJC -0.696  0.360                                    
mtv_rdrjstF -0.696  0.360  0.485                             
mtvjst:_VJC  0.360 -0.696 -0.517 -0.251                      
mtvjst:mt_F  0.360 -0.696 -0.251 -0.517  0.485               
txt_rVJC:_F  0.491 -0.254 -0.705 -0.705  0.365   0.365       
mtv:_VJC:_F -0.254  0.491  0.365  0.365 -0.705  -0.705 -0.517