Kirsten Lydic, Dani Cosme

Overview

This project investigates the relationship between autonomous functioning and civic engagement attitudes and behaviors, including voting specifically. Autonomous functioning refers to the trait-level quality of being self-motivated and driven by intrinsic motivation, as compared to controlled functioning, which is the quality of being extrinsically motivated. In particular, we examine autonomous vs. controlled motivations to vote, in addition to the general trait-level qualities of autonomous and controlled functioning. Please refer to the measures described below for more information. The primary question we ask is: Is autonomous motivation to vote and/or autonomous functioning positively associated with voting-related intentions and behavior, and/or civic engagement attitudes and behavior?

We hypothesized that both autonomous functioning and autonomous motivation to vote would positively relate to voting intentions, voting behavior, civic engagement attitudes, and civic engagement behaviors, while controlled motivation to vote and controlled functioning would be negatively related or not related to these outcome measures.

Our hypotheses are supported regarding all tests with autonomous and controlled motivation to vote (hypotheses 1-3), and regarding autonomous functioning predicting voting intentions (H4). That is, autonomous motivation to vote is positively related to voting intentions and behavior and civic engagement attitudes and behavior, but controlled motivation to vote is not. Autonomous functioning more broadly also predicts intention to vote, while controlled functioning does not. However, both autonomous and controlled functioning positively relate to civic engagement attitudes and behavior (though this is driven by one of the several samples included) (H5), and voting behavior is not significantly predicted by either autonomous or controlled functioning (H6).

Samples

  • Data from 7 samples across 3 elections
    • 100million SHORT
    • MTurk LONG
    • SONA initial
    • SONA follow-up
    • SONA within-person
    • SONA between-person
    • PROLIFIC within
    • PROLIFIC between

Measures:

Independent variables:

Autonomous and controlled motivation:

  • 5 item scale adapted from Milyavskaya et al., 2015

  • each item is 7pt

  • Autonomous motivation

    • I plan to vote in the X election because I really believe that it is important to do.
    •  I plan to vote in the X election because of the fun and enjoyment which it will provide me–the primary reason is simply my interest in the experience itself.
    •  I plan to vote in the X election because it represents who I am and reflects what I value most in life
  • Controlled motivation

    • I plan to vote in the X election because somebody else (parent, professor, friend, etc.) wants me to, or because I’ll get something from someone if I do.
    • I plan to vote in the X election because I would feel ashamed, guilty, or anxious if I didn’t.

Autonomous and controlled functioning:

  • index of Autonomous Functioning scale (Weinstein et al., 2012).
    • Autonomous functioning = authorship / self-congruence sub scale
      1. My decisions represent my most important values and feelings
      2. I strongly identify with the things that I do
      3. My actions are congruent with who I really am
      4. My whole self stands behind the important decisions I make
      5. My decisions are steadily informed by things I want or care about
    • Controlled functioning: susceptibility to control sub scale
      1. I do things in order to avoid feeling badly about myself
      2. I do a lot of things to avoid feeling ashamed
      3. I try to manipulate myself into doing certain things
      4. I believe certain things so that others will like me
      5. I often pressure myself

Dependent variables:

Civic engagement attitudes

  • Civic Engagement Scale (Doolittle & Faul, 2013):
    • I feel responsible for my community.
    • I believe I should make a difference in my community.
    • I believe that I have a responsibility to help the poor and the hungry.
    • I am committed to serve in my community.
    • I believe that all citizens have a responsibility to their community.
    • I believe that it is important to be informed of community issues.
    • I believe that it is important to volunteer.
    • I believe that it is important to financially support charitable organizations.

Civic engagement behaviors

  • Adapted from A new engagement?: Political participation, civic life, and the changing American citizen (Zukin et al., 2006).
  • Yes = 1, no = 0
  • Summed per person
  • Behaviors:
    • Worked on community problem

    • Community/volunteer service

    • Belonged to group/association, or donated to one, locally or nationally

    • Walked/ran/cycled for charity

    • Did something else to help raise money for charity

    • Talked to people about why to vote for a particular candidate or party

    • Wore sticker/button/had sign for a campaign

    • Contributed money to candidate, party, or organizatio supporting candidates

    • Volunteered for a p political organization / to work for a candidate

    • Contacted public official to ask for help or express opinion

    • Contacted newspaper/magazine to express opinion

    • Took part in protest, march, or demonstration

    • Signed a written petition

    • Boycotted

    • Buy-cotted

    • Canvassing for voting (particular party/candidate)

    • Frequency of

      • voting in local and national elections
      • Follow government/public affairs
      • Discuss current events / news with family or friends

Voting behavior

  • follow-up survey after election
  • also have DOB and address for subset of SONA participants to validate self-report

Pre-registered hypotheses:

Note, see pre-registration here

Is autonomous motivation for voting and/or individual differences in autonomous functioning positively associated with voting-related intentions, attitudes, and behaviors and/or actual voting behavior?

H1: Higher autonomous motivation for voting will be positively associated with intentions to engage in voting-related behavior (registering and voting), whereas higher controlled motivation will be negatively or not associated with these intentions.

H2: Higher autonomous motivation for voting will be positively associated with civic engagement A) attitudes and B) behaviors , whereas higher controlled motivation will be negatively or not associated with these attitudes and behaviors .

H3: Higher autonomous motivation for voting will be associated with an increased probability of voting, whereas higher controlled motivation will be unrelated to or associated with a lower probability of voting.

H4: Higher autonomous functioning will be positively associated with intentions to engage in voting-related behavior (registering and voting), whereas higher controlled functioning will be negatively or not associated with these intentions.

H5: Higher autonomous functioning will be positively associated with civic engagement A) attitudes and B) behaviors , whereas higher controlled functioning will be negatively or not associated with these attitudes and behaviors .

H6: Higher autonomous functioning will be associated with an increased probability of voting, whereas higher controlled functioning will be unrelated to or associated with a lower probability of voting.

Secondary analyses:

  • Moderation analyses (motivation x functioning interaction)

  • Robustness test (we will test the robustness of these effects across various control variables e.g. demographics, political party, sample–Penn psych pool, Twitter, MTurk, date of collection) and alternative ways of operationalizing the variables of interest (e.g., voting-related intentions) using specification curve analysis.

Analyses and results

(TODO: Visualize the controlled and autonomous relationships)

Results: descriptive

N per study, including for initial studies and post election follow-up studies for SONA samples:

data_scored %>% group_by(study) %>% summarise('study_N' = n())
# for follow up studies (with voting behavior) for SONA: 
subset(data_scored, !is.na(intention_vote_followup)) %>% group_by(study) %>% summarise('study_N' = n())

relationships between IVs: vote motive autonomous vs. vote motive controlled:

ggplot(data = filter(data_scored, grepl("2020_SONA|2022_SONA|PLTV|MTurk|prolific", study)), 
       aes(x = vote_motive_controlled, y = vote_motive_autonomous)) +
  stat_smooth(aes(color=study, alpha = 0.2), geom = 'line', alpha = 0.7, method = "lm", se = FALSE, size=0.75) + 
  geom_smooth(color = "black",method = "lm") +
  theme_minimal() + #coord_cartesian(ylim = c(1,7), xlim = c(1,7)) + 
  labs(x = "\nControlled motivation", y = "Autonomous motivation\n", title = "Relationship between controlled and autonomous motivation to vote")

ggplot(data = filter(data_scored, grepl("2020_SONA|2022_SONA|PLTV|MTurk|prolific", study)), 
       aes(x = IAF_controlled, y = IAF_autonomous)) +
  stat_smooth(aes(color=study, alpha = 0.2), geom = 'line', alpha = 0.7, method = "lm", se = FALSE, size=0.75) + 
  geom_smooth(color = "black",method = "lm") +
  theme_minimal() + #coord_cartesian(ylim = c(1,7), xlim = c(1,7)) + 
  labs(x = "\nControlled functioning", y = "Autonomous functioning\n", title = "IAF subscale relationship: \ncontrolled and autonomous functioning")

correlations between motivations to vote (VM) and autonomous/controlled functioning (IAF):

keyvars <- data_scored[c('vote_motive_autonomous', 
                         'vote_motive_controlled',
                         'IAF_autonomous', 
                         'IAF_controlled')]
colnames(keyvars) <- c('VM-A','VM-C','IAF-A','IAF-C')

corr_matx <- rcorr(as.matrix(keyvars),type="pearson")

corrplot(corr_matx$r, method="shade", order = 'alphabet', addCoef.col ='black', number.cex = 0.8)

distributions of dependent variables:

ggplot(data = filter(data_scored,
                  grepl("2020_SONA|2022_SONA|PLTV|MTurk|prolific",
                          study)), 
       aes(x = intention_vote, color = study)) +
  geom_density() + 
  labs(x = "reported voting intention", y = "density\n") +
  ggtitle("Reported voting intention by study") + 
  theme_minimal() 

ggplot(data = filter(data_scored, grepl("2020_SONA|2022_SONA|PLTV|MTurk|prolific", study)), 
       aes(x = CE_attitudes, color = study)) +
  geom_density() +  
  labs(x = "Civic engagement attitudes", y = "density\n") +
  ggtitle("Civic engagement attitudes by study") + 
  theme_minimal() 

ggplot(data = filter(data_scored, grepl("2020_SONA|2022_SONA|PLTV|MTurk|prolific", study)), 
       aes(x = CE_checklist, color = study)) +
  geom_density() +  
  labs(x = "Civic engagement behaviors", y = "density\n") +
  ggtitle("Civic engagement behaviors by study") + 
  theme_minimal() 

# n responses per each question, per study
data_scored %>%
  group_by(study) %>%
  summarise(Nresponses_voteintention = sum(!is.na(intention_vote)),
            Nresponses_CEchecklist = sum(!is.na(CE_attitudes)), 
            Nresponses_CEattitudes = sum(!is.na(CE_checklist)))

Results: re-registered analyses

H2: Higher autonomous motivation for voting will be positively associated with civic engagement A) attitudes and B) behaviors , whereas higher controlled motivation will be negatively or not associated with these attitudes and behaviors .

H2a: Civic engagement attitudes

h2a = lmer(CE_attitudes ~ vote_motive_autonomous + vote_motive_controlled + (1 | study), data = filter(data_scored, grepl("SONA|PLTV|MTurk|prolific", study)))
tab_model(h2a, show.icc = FALSE, show.re.var = FALSE)
  CE_attitudes
Predictors Estimates CI p
(Intercept) 3.64 3.33 – 3.94 <0.001
vote motive autonomous 0.42 0.39 – 0.46 <0.001
vote motive controlled -0.00 -0.03 – 0.03 0.957
N study 7
Observations 2063
Marginal R2 / Conditional R2 0.191 / 0.273
# plot, across all studies (main effects, not accounting for study)

ggeffects::ggpredict(h2a, c("vote_motive_autonomous [1:7]")) %>%
  data.frame() %>%
  mutate(type = "autonomous") %>%
  bind_rows(ggeffects::ggpredict(h2a, c("vote_motive_controlled [1:7]")) %>%
              data.frame() %>%
              mutate(type = "controlled")) %>%
  mutate(election = ifelse(group == "PLTV", "2021 primary",
                    ifelse(grepl("2022", group), "2022 general", "2020 general"))) %>%
  ggplot(aes(x, predicted, color = type, fill = type)) +
  geom_ribbon(aes(ymin = conf.low, ymax = conf.high), alpha = .2, color = NA) +
  geom_line() +
  scale_color_manual(name = "", values = palette) +
  scale_fill_manual(name = "", values = palette) +
  labs(x = "\nmotivation to vote", y = " Civic engagement attitudes\n(model prediction)\n", title = "Civic engagement attitudes predicted by \nautonomous vs. controlled motivation to vote, \ncollapsed across studies") +
  plot_aes

# plot per study 
  
h2a_b = lm(CE_attitudes ~ vote_motive_autonomous*study + vote_motive_controlled*study, data = filter(data_scored, grepl("SONA|PLTV|MTurk|prolific", study)))

ggeffects::ggpredict(h2a_b, c("vote_motive_autonomous [1:7]", "study")) %>%
  data.frame() %>%
  mutate(type = "autonomous") %>%
  bind_rows(ggeffects::ggpredict(h2a_b, c("vote_motive_controlled [1:7]", "study")) %>%
              data.frame() %>%
              mutate(type = "controlled")) %>%
  mutate(election = ifelse(group == "PLTV", "2021 primary",
                    ifelse(grepl("2022", group), "2022 general", "2020 general"))) %>%
  ggplot(aes(x, predicted, color = type, fill = type)) +
  geom_ribbon(aes(ymin = conf.low, ymax = conf.high), alpha = .2, color = NA) +
  geom_line() +
  facet_grid(~election + group) +
  scale_color_manual(name = "", values = palette) +
  scale_fill_manual(name = "", values = palette) +
  labs(x = "\nmotivation to vote", y = " Civic engagement attitudes\n(model prediction)\n", title = "Civic engagement attitudes predicted by \nautonomous vs. controlled motivation to vote, \nper study")  +
  plot_aes

H2b: Civic engagement behavior

h2b = lmer(CE_checklist ~ vote_motive_autonomous + vote_motive_controlled + (1 | study), data = filter(data_scored, grepl("SONA|PLTV|MTurk|prolific", study)))
tab_model(h2b, show.icc = FALSE, show.re.var = FALSE)
  CE_checklist
Predictors Estimates CI p
(Intercept) 1.02 0.03 – 2.00 0.043
vote motive autonomous 0.80 0.64 – 0.96 <0.001
vote motive controlled 0.52 0.39 – 0.66 <0.001
N study 6
Observations 1375
Marginal R2 / Conditional R2 0.140 / 0.189

exploratory interaction model:

h2b_exp = lmer(CE_checklist ~ vote_motive_autonomous*vote_motive_controlled + (1 | study), data = filter(data_scored, grepl("SONA|PLTV|MTurk|prolific", study)))
tab_model(h2b_exp, show.icc = FALSE, show.re.var = FALSE)
  CE_checklist
Predictors Estimates CI p
(Intercept) 2.34 0.79 – 3.89 0.003
vote motive autonomous 0.51 0.20 – 0.81 0.001
vote motive controlled 0.02 -0.45 – 0.49 0.927
vote motive autonomous ×
vote motive controlled
0.11 0.01 – 0.20 0.029
N study 6
Observations 1375
Marginal R2 / Conditional R2 0.144 / 0.195
# plot, across all studies (main effects, not accounting for study)

ggeffects::ggpredict(h2b, c("vote_motive_autonomous [1:7]")) %>%
  data.frame() %>%
  mutate(type = "autonomous") %>%
  bind_rows(ggeffects::ggpredict(h2b, c("vote_motive_controlled [1:7]")) %>%
              data.frame() %>%
              mutate(type = "controlled")) %>%
  mutate(election = ifelse(group == "PLTV", "2021 primary",
                    ifelse(grepl("2022", group), "2022 general", "2020 general"))) %>%
  ggplot(aes(x, predicted, color = type, fill = type)) +
  geom_ribbon(aes(ymin = conf.low, ymax = conf.high), alpha = .2, color = NA) +
  geom_line() +
  scale_color_manual(name = "", values = palette) +
  scale_fill_manual(name = "", values = palette) +
  labs(x = "\nmotivation to vote", y = " Civic engagement behavior\n(model prediction)\n", title = "Civic engagement behavior predicted by \nautonomous vs. controlled motivation to vote, \ncollapsed across studies") +
  plot_aes

# plot difference 

ggplot(data = filter(data_scored, grepl("SONA|PLTV|MTurk|prolific", study)), aes(x = (vote_motive_autonomous - vote_motive_controlled), y = CE_checklist)) +
  geom_smooth(method = "lm") +  
  geom_vline(xintercept = 0, alpha = 0.4) + 
  labs(x = "(controlled>autonomous                     autonomous>controlled)\nvote motive autonomous minus controlled", y = "reported CE behaviors") +
  ggtitle("Civic engagement behavior by vote motive: \nautonomous minus controlled") +
  theme_minimal() 

ggplot(data = filter(data_scored, grepl("SONA|PLTV|prolific", study)), aes(x = (vote_motive_autonomous - vote_motive_controlled), y = CE_checklist)) +
  geom_smooth(method = "lm") +  
  geom_vline(xintercept = 0, alpha = 0.4) + 
  labs(x = "(controlled>autonomous                     autonomous>controlled)\nvote motive autonomous minus controlled", y = "reported CE behaviors") +
  ggtitle("Civic engagement behavior by vote motive: \nautonomous minus controlled (NO MTURK SAMPLE)") +
  theme_minimal() 

# plot per study 
  
h2b_b = lm(CE_checklist ~ vote_motive_autonomous*study + vote_motive_controlled*study, data = filter(data_scored, grepl("SONA|PLTV|MTurk|prolific", study)))

ggeffects::ggpredict(h2b_b, c("vote_motive_autonomous [1:7]", "study")) %>%
  data.frame() %>%
  mutate(type = "autonomous") %>%
  bind_rows(ggeffects::ggpredict(h2b_b, c("vote_motive_controlled [1:7]", "study")) %>%
              data.frame() %>%
              mutate(type = "controlled")) %>%
  mutate(election = ifelse(group == "PLTV", "2021 primary",
                    ifelse(grepl("2022", group), "2022 general", "2020 general"))) %>%
  ggplot(aes(x, predicted, color = type, fill = type)) +
  geom_ribbon(aes(ymin = conf.low, ymax = conf.high), alpha = .2, color = NA) +
  geom_line() +
  facet_grid(~election + group) +
  scale_color_manual(name = "", values = palette) +
  scale_fill_manual(name = "", values = palette) +
  labs(x = "\nmotivation to vote", y = " Civic engagement behavior\n(model prediction)\n", title = "Civic engagement behavior predicted by autonomous vs. controlled motivation to vote, \nper study")  +
  plot_aes

H3: Higher autonomous motivation for voting will be associated with an increased probability of voting, whereas higher controlled motivation will be unrelated to or associated with a lower probability of voting.

Distribution across SONA samples:

ggplot(data = filter(data_scored, grepl("SONA", study)), 
       aes(x = intention_vote_followup, fill = study, color = study)) +
  geom_bar(position = "dodge", alpha = 0.4) +  
  labs(x = "reported voting behavior (0 = no, 1 = yes)", y = "proportion of sample\n") +
  ggtitle("Reported voting behavior by study") + 
  scale_x_continuous(breaks=c(0,1)) + 
  theme_minimal() 

#ggplot(data = filter(data_scored, grepl("SONA", study)), 
#       aes(x = intention_vote_followup, color = study)) +
#  geom_density(aes(y=..count..)) +  
#  labs(x = "reported voting behavior (0 = no, 1 = yes)", y = "n respondents\n") +
#  ggtitle("Reported voting behavior by study") + 
#  theme_minimal() 
h3 = glmer(intention_vote_followup ~ vote_motive_autonomous + vote_motive_controlled + (1 | study),
        data = filter(data_scored, grepl("SONA", study)), family = "binomial")
tab_model(h3, show.icc = FALSE, show.re.var = FALSE)
  intention_vote_followup
Predictors Odds Ratios CI p
(Intercept) 0.24 0.05 – 1.09 0.065
vote motive autonomous 1.86 1.48 – 2.35 <0.001
vote motive controlled 1.02 0.83 – 1.24 0.872
N study 3
Observations 407
Marginal R2 / Conditional R2 0.108 / 0.300
# plot, across all studies (main effects, not accounting for study)
vals = seq(1,7,.2)

ggeffects::ggpredict(h3, c("vote_motive_autonomous [vals]")) %>%
  data.frame() %>%
  mutate(type = "autonomous") %>%
  bind_rows(ggeffects::ggpredict(h3, c("vote_motive_controlled [vals]")) %>%
              data.frame() %>%
              mutate(type = "controlled")) %>%
  ggplot(aes(x, predicted, color = type, fill = type)) +
  geom_ribbon(aes(ymin = conf.low, ymax = conf.high), alpha = .2, color = NA) +
  geom_line() +
  scale_color_manual(name = "", values = palette) +
  scale_fill_manual(name = "", values = palette) +
  labs(x = "\nmotivation to vote", y = "Voting behavior\n(model prediction)\n", title = "Voting behavior predicted by \nautonomous vs. controlled motivation \nto vote, collapsed across studies") +
  plot_aes

# plot per study 
  
h3_b = glm(intention_vote_followup ~ vote_motive_autonomous*study + vote_motive_controlled*study,
           data = filter(data_scored, grepl("SONA", study)), family = "binomial")

ggeffects::ggpredict(h3_b, c("vote_motive_autonomous [1:7]", "study")) %>%
  data.frame() %>%
  mutate(type = "autonomous") %>%
  bind_rows(ggeffects::ggpredict(h3_b, c("vote_motive_controlled [1:7]", "study")) %>%
              data.frame() %>%
              mutate(type = "controlled")) %>%
  mutate(election = ifelse(group == "PLTV", "2021 primary",
                    ifelse(grepl("2022", group), "2022 general", "2020 general"))) %>%
  ggplot(aes(x, predicted, color = type, fill = type)) +
  geom_ribbon(aes(ymin = conf.low, ymax = conf.high), alpha = .2, color = NA) +
  geom_line() +
  facet_grid(~election + group) +
  scale_color_manual(name = "", values = palette) +
  scale_fill_manual(name = "", values = palette) +
  labs(x = "\nmotivation to vote", y = "Voting behavior\n(model prediction)\n", title = "Reported voting behavior predicted by \nautonomous vs. controlled motivation to vote, \nper study")  +
  plot_aes

# plot difference 

ggplot(data = filter(data_scored, grepl("SONA|PLTV|MTurk|prolific", study)), aes(x = (vote_motive_autonomous - vote_motive_controlled), y = intention_vote_followup, color = study, fill = study)) +
  geom_smooth(method = "glm") +  
  geom_vline(xintercept = 0, alpha = 0.4) + 
  labs(x = "(controlled>autonomous                     autonomous>controlled)\nvote motive autonomous minus controlled", y = "reported voting behavior") +
  ggtitle("Reported voting behavior by vote motive: \nautonomous minus controlled") +
  theme_minimal() 

H5: Higher autonomous functioning will be positively associated with civic engagement A) attitudes and B) behaviors , whereas higher controlled functioning will be negatively or not associated with these attitudes and behaviors.

H5a: Civic engagement attitudes

h5a = lmer(CE_attitudes ~ IAF_autonomous + IAF_controlled + (1 | study), data = filter(data_scored, grepl("SONA|MTurk|prolific", study)))
tab_model(h5a, show.icc = FALSE, show.re.var = FALSE)
  CE_attitudes
Predictors Estimates CI p
(Intercept) 2.33 1.95 – 2.71 <0.001
IAF autonomous 0.72 0.65 – 0.78 <0.001
IAF controlled 0.14 0.08 – 0.19 <0.001
N study 6
Observations 1964
Marginal R2 / Conditional R2 0.178 / 0.234
# plot, across all studies (main effects, not accounting for study)

ggeffects::ggpredict(h5a, c("IAF_autonomous [1:7]")) %>%
  data.frame() %>%
  mutate(type = "autonomous") %>%
  bind_rows(ggeffects::ggpredict(h5a, c("IAF_controlled [1:7]")) %>%
              data.frame() %>%
              mutate(type = "controlled")) %>%
  mutate(election = ifelse(group == "PLTV", "2021 primary",
                    ifelse(grepl("2022", group), "2022 general", "2020 general"))) %>%
  ggplot(aes(x, predicted, color = type, fill = type)) +
  geom_ribbon(aes(ymin = conf.low, ymax = conf.high), alpha = .2, color = NA) +
  geom_line() +
  scale_color_manual(name = "", values = palette) +
  scale_fill_manual(name = "", values = palette) +
  labs(x = "\nIAF subscale score", y = " Civic engagement attitudes\n(model prediction)\n", title = "Civic engagement attitudes predicted by \nautonomous vs. controlled functioning, \ncollapsed across studies") +
  plot_aes

# plot per study 
  
h5a_b = lm(CE_attitudes ~ IAF_autonomous*study + IAF_controlled*study, data = filter(data_scored, grepl("SONA|MTurk|prolific", study)))

ggeffects::ggpredict(h5a_b, c("IAF_autonomous [1:7]", "study")) %>%
  data.frame() %>%
  mutate(type = "autonomous") %>%
  bind_rows(ggeffects::ggpredict(h5a_b, c("IAF_controlled [1:7]", "study")) %>%
              data.frame() %>%
              mutate(type = "controlled")) %>%
  mutate(election = ifelse(group == "PLTV", "2021 primary",
                    ifelse(grepl("2022", group), "2022 general", "2020 general"))) %>%
  ggplot(aes(x, predicted, color = type, fill = type)) +
  geom_ribbon(aes(ymin = conf.low, ymax = conf.high), alpha = .2, color = NA) +
  geom_line() +
  facet_grid(~election + group) +
  scale_color_manual(name = "", values = palette) +
  scale_fill_manual(name = "", values = palette) +
  labs(x = "\nIAF subscale score", y = " Civic engagement attitudes\n(model prediction)\n", title = "Civic engagement attitudes predicted by \nautonomous vs. controlled functioning, \nper study") + 
  plot_aes

H5b: Civic engagement behavior

h5b = lmer(CE_checklist ~ IAF_autonomous + IAF_controlled + (1 | study), data = filter(data_scored, grepl("SONA|MTurk|prolific", study)))
tab_model(h5b, show.icc = FALSE, show.re.var = FALSE)
  CE_checklist
Predictors Estimates CI p
(Intercept) 0.18 -1.21 – 1.57 0.796
IAF autonomous 0.68 0.40 – 0.96 <0.001
IAF controlled 1.16 0.94 – 1.39 <0.001
N study 5
Observations 1279
Marginal R2 / Conditional R2 0.091 / 0.130
# plot, across all studies (main effects, not accounting for study)

ggeffects::ggpredict(h5b, c("IAF_autonomous [1:7]")) %>%
  data.frame() %>%
  mutate(type = "autonomous") %>%
  bind_rows(ggeffects::ggpredict(h5b, c("IAF_controlled [1:7]")) %>%
              data.frame() %>%
              mutate(type = "controlled")) %>%
  mutate(election = ifelse(group == "PLTV", "2021 primary",
                    ifelse(grepl("2022", group), "2022 general", "2020 general"))) %>%
  ggplot(aes(x, predicted, color = type, fill = type)) +
  geom_ribbon(aes(ymin = conf.low, ymax = conf.high), alpha = .2, color = NA) +
  geom_line() +
  scale_color_manual(name = "", values = palette) +
  scale_fill_manual(name = "", values = palette) +
  labs(x = "\nIAF subscale score", y = " Civic engagement behavior\n(model prediction)\n", title = "Civic engagement behavior predicted by \nautonomous vs. controlled functioning, \ncollapsed across studies") +
  plot_aes

# plot difference 

ggplot(data = filter(data_scored, grepl("SONA|PLTV|MTurk|prolific", study)), aes(x = (IAF_autonomous - IAF_controlled), y = CE_checklist)) +
  geom_smooth(method = "lm") +  
  geom_vline(xintercept = 0, alpha = 0.4) +  
  labs(x = "(controlled>autonomous                                                                 autonomous>controlled)\nIAF subscale autonomous minus controlled",   
       y = "reported CE behaviors") +
  ggtitle("Civic engagement behavior by IAF subscale difference: \nautonomous minus controlled") +
  theme_minimal() 

# plot per study 
  
h5b_b = lm(CE_checklist ~ IAF_autonomous*study + IAF_controlled*study, data = filter(data_scored, grepl("SONA|PLTV|MTurk|prolific", study)))

ggeffects::ggpredict(h5b_b, c("IAF_autonomous [1:7]", "study")) %>%
  data.frame() %>%
  mutate(type = "autonomous") %>%
  bind_rows(ggeffects::ggpredict(h5b_b, c("IAF_controlled [1:7]", "study")) %>%
              data.frame() %>%
              mutate(type = "controlled")) %>%
  mutate(election = ifelse(group == "PLTV", "2021 primary",
                    ifelse(grepl("2022", group), "2022 general", "2020 general"))) %>%
  ggplot(aes(x, predicted, color = type, fill = type)) +
  geom_ribbon(aes(ymin = conf.low, ymax = conf.high), alpha = .2, color = NA) +
  geom_line() +
  facet_grid(~election + group) +
  scale_color_manual(name = "", values = palette) +
  scale_fill_manual(name = "", values = palette) +
  labs(x = "\nIAF subscale score", y = " Civic engagement behavior\n(model prediction)\n", title = "Civic engagement behavior predicted by autonomous vs. controlled functioning, \nper study") +
  plot_aes

H6: Higher autonomous functioning will be associated with an increased probability of voting, whereas higher controlled functioning will be unrelated to or associated with a lower probability of voting.

h6 = glmer(intention_vote_followup ~ IAF_autonomous + IAF_controlled + (1 | study),
        data = filter(data_scored, grepl("SONA", study)), family = "binomial")
tab_model(h6, show.icc = FALSE, show.re.var = FALSE)
  intention_vote_followup
Predictors Odds Ratios CI p
(Intercept) 0.84 0.14 – 5.15 0.854
IAF autonomous 1.33 0.93 – 1.90 0.121
IAF controlled 1.09 0.81 – 1.46 0.566
N study 3
Observations 435
Marginal R2 / Conditional R2 0.009 / 0.168
# note: IAF_autonomous -> significant without study random effect 
# plot, across all studies (main effects, not accounting for study)
vals = seq(1,7,.2)

ggeffects::ggpredict(h6, c("IAF_autonomous [vals]")) %>%
  data.frame() %>%
  mutate(type = "autonomous") %>%
  bind_rows(ggeffects::ggpredict(h6, c("IAF_controlled [vals]")) %>%
              data.frame() %>%
              mutate(type = "controlled")) %>%
  ggplot(aes(x, predicted, color = type, fill = type)) +
  geom_ribbon(aes(ymin = conf.low, ymax = conf.high), alpha = .2, color = NA) +
  geom_line() +
  scale_color_manual(name = "", values = palette) +
  scale_fill_manual(name = "", values = palette) +
  labs(x = "\nIAF subscale score", y = "Voting behavior\n(model prediction)\n", title = "Voting behavior predicted by \nautonomous vs. controlled functioning, \ncollapsed across studies") +
  plot_aes

# plot per study 
  
h6_b = glm(intention_vote_followup ~ IAF_autonomous*study + IAF_controlled*study,
           data = filter(data_scored, grepl("SONA", study)), family = "binomial")

ggeffects::ggpredict(h6_b, c("IAF_autonomous [1:7]", "study")) %>%
  data.frame() %>%
  mutate(type = "autonomous") %>%
  bind_rows(ggeffects::ggpredict(h6_b, c("IAF_controlled [1:7]", "study")) %>%
              data.frame() %>%
              mutate(type = "controlled")) %>%
  mutate(election = ifelse(group == "PLTV", "2021 primary",
                    ifelse(grepl("2022", group), "2022 general", "2020 general"))) %>%
  ggplot(aes(x, predicted, color = type, fill = type)) +
  geom_ribbon(aes(ymin = conf.low, ymax = conf.high), alpha = .2, color = NA) +
  geom_line() +
  facet_grid(~election + group) +
  scale_color_manual(name = "", values = palette) +
  scale_fill_manual(name = "", values = palette) +
  labs(x = "\nIAF subscale score", y = "Voting behavior\n(model prediction)\n", title = "Reported voting behavior predicted by \nautonomous vs. controlled functioning, \nper study")  +
  plot_aes

# plot difference 

ggplot(data = filter(data_scored, grepl("SONA", study)), aes(x = (IAF_autonomous - IAF_controlled), y = intention_vote_followup, color = study, fill = study)) +
  geom_smooth(method = "glm") +  
  geom_vline(xintercept = 0, alpha = 0.4) + 
  labs(x = "(controlled>autonomous                                  autonomous>controlled)\nIAF subscales, autonomous minus controlled", y = "reported voting behavior") +
  ggtitle("Reported voting behavior by IAF subscale scores: \nautonomous minus controlled") +
  theme_minimal() 

incomplete:

  • control for: Age, race/eth, gender, political party, date of collection, election type

    • test whether any of these controls cover the variance across study
  • Moderation analyses (IAF x motivation to vote, matched types)

  • report VIF for all models

Exploratory analyses

  • Break down of scales (civic engagement behaviors, autonomous/controlled motivation)

    • Get Cronbach’s alpha on scale items
  • Split pre-election intentions to post-election behavior charts by high v. low autonomous motivation

  • validate self-reported voting by getting voting records for SONA samples

  • open ended text data: civic engagement motivations?

Exploring text data

all_OE <- data %>% filter(str_detect(item, "^OE_"))
unique(all_OE$item)
##  [1] "OE_issues"        "OE_effects"       "OE_strategies"    "OE_feelings"     
##  [5] "OE_meaning"       "OE_matter"        "OE_belonging"     "OE_support"      
##  [9] "OE_advantages"    "OE_disadvantages" "OE_barriers"      "OE_solutions"
for (OEi in unique(all_OE$item)) {
  OEdata_i <- subset(all_OE, item == OEi)
  docs <- Corpus(VectorSource(OEdata_i$value))
  
  # Convert the text to lower case
  docs <- tm_map(docs, content_transformer(tolower))
  # Remove numbers
  docs <- tm_map(docs, removeNumbers)
  # Remove english common stopwords
  docs <- tm_map(docs, removeWords, stopwords("english"))
  # Remove your own stop word
  # specify your stopwords as a character vector
  docs <- tm_map(docs, removeWords, c("NA"))
  # Remove punctuations
  docs <- tm_map(docs, removePunctuation)
  # Eliminate extra white spaces
  docs <- tm_map(docs, stripWhitespace)
  # Text stemming
  #docs <- tm_map(docs, stemDocument)
  
  #inspect(docs)
  
  dtm <- TermDocumentMatrix(docs)
  m <- as.matrix(dtm)
  v <- sort(rowSums(m), decreasing = TRUE)
  d <- data.frame(word = names(v), freq = v)
  
  
  wordcloud(
    words = d$word,
    freq = d$freq,
    min.freq = 1,
    max.words = 200,
    random.order = FALSE,
    rot.per = 0.35,
    colors = brewer.pal(8, "Dark2")
  )
  
}