By prior vax intent
Don’t want
First, we can see participants responses to the question about vaccine interest at wave 1.
- I definitely do NOT want to get the vaccine (1)
- I do NOT want to get the vaccine (2)
- Uncertain (3)
- I WANT to get the vaccine (4)
- I definitely WANT to get the vaccine (5)
and subset to look at the effect of messages compared to control among people who were hesitant at wave 1 (responses 1 and 2). This gives us an n of 86.
##
## 1 2 3 4 5
## 66 20 103 69 103
##
## 1 2
## 66 20
Vax interest (Dont want)
Overall descriptives for interest in getting vaccinated from those who were hesitant at wave 1.
## vars n mean sd median trimmed mad min max range skew kurtosis se
## X1 1 86 1.84 1.09 1 1.67 0 1 5 4 1.23 0.88 0.12
Checking for assumptions before running ANOVA
## V1
## Mode:logical
## TRUE:86
Plots do not look too extreme and levene’s test looks good too


## Warning: Converting "partno" to factor for ANOVA.
## Warning: Data is unbalanced (unequal N per group). Make sure you specified a
## well-considered value for the type argument to ezANOVA().
## Coefficient covariances computed by hccm()
Get anova results
## Warning: Converting "partno" to factor for ANOVA.
## Warning: Data is unbalanced (unequal N per group). Make sure you specified a
## well-considered value for the type argument to ezANOVA().
## Coefficient covariances computed by hccm()
ANOVA:
| 2 |
XIgroup |
2 |
83 |
0.3243 |
0.7239 |
|
0.007755 |
Get results with additional effect sizes and power
| XIgroup |
XIgroup |
2 |
0.789 |
0.394 |
0.324 |
0.724 |
0.008 |
0.008 |
-0.016 |
-0.016 |
-0.016 |
0.088 |
0.102 |
| …2 |
Residuals |
83 |
100.9 |
1.216 |
|
|
|
|
|
|
|
|
|
Checking group means
Show least squares means (unadjusted) and CIs around means
| controlcondition |
1.913 |
0.2299 |
83 |
1.456 |
2.37 |
| Vaccinefactbox |
1.692 |
0.2163 |
83 |
1.262 |
2.122 |
| Vaccinetimeline |
1.892 |
0.1813 |
83 |
1.531 |
2.252 |
Also generic means across groups and other descriptives (e.g., skew, range, etc.)
##
## Descriptive statistics by group
## group: controlcondition
## vars n mean sd median trimmed mad min max range skew kurtosis se
## X1 1 23 1.91 1 2 1.84 1.48 1 4 3 0.43 -1.39 0.21
## ------------------------------------------------------------
## group: Vaccinefactbox
## vars n mean sd median trimmed mad min max range skew kurtosis se
## X1 1 26 1.69 1.09 1 1.55 0 1 5 4 1.32 0.89 0.21
## ------------------------------------------------------------
## group: Vaccinetimeline
## vars n mean sd median trimmed mad min max range skew kurtosis se
## X1 1 37 1.89 1.17 2 1.68 1.48 1 5 4 1.41 1.26 0.19
Plotting means for visual inspection

Vax time (Dont want)
Overall descriptives for time before getting vaccinated…
## vars n mean sd median trimmed mad min max range skew kurtosis se
## X1 1 64 7.02 1.91 8 7.46 0 1 8 7 -1.83 2.16 0.24
Checking for assumptions before running ANOVA. Plots do not look too extreme and levene’s test looks good too 

## Warning: Converting "partno" to factor for ANOVA.
## Warning: Data is unbalanced (unequal N per group). Make sure you specified a
## well-considered value for the type argument to ezANOVA().
## Coefficient covariances computed by hccm()
## Warning: Converting "partno" to factor for ANOVA.
## Warning: Data is unbalanced (unequal N per group). Make sure you specified a
## well-considered value for the type argument to ezANOVA().
## Coefficient covariances computed by hccm()
ANOVA:
| 2 |
XIgroup |
2 |
59 |
0.2099 |
0.8113 |
|
0.007064 |
Get results with additional effect sizes and power
| XIgroup |
XIgroup |
2 |
1.09 |
0.545 |
0.21 |
0.811 |
0.007 |
0.007 |
-0.026 |
-0.026 |
-0.027 |
0.084 |
0.083 |
| …2 |
Residuals |
59 |
153.2 |
2.596 |
|
|
|
|
|
|
|
|
|
Checking group means
Show least squares means (unadjusted) and CIs around means
| controlcondition |
7.133 |
0.416 |
59 |
6.301 |
7.966 |
| Vaccinefactbox |
7.375 |
0.3289 |
59 |
6.717 |
8.033 |
| Vaccinetimeline |
7.087 |
0.336 |
59 |
6.415 |
7.759 |
Also generic means across groups and other descriptives (e.g., skew, range, etc.)
##
## Descriptive statistics by group
## group: controlcondition
## vars n mean sd median trimmed mad min max range skew kurtosis se
## X1 1 15 7.13 1.81 8 7.38 0 3 8 5 -1.4 0.07 0.47
## ------------------------------------------------------------
## group: Vaccinefactbox
## vars n mean sd median trimmed mad min max range skew kurtosis se
## X1 1 24 7.38 1.24 8 7.65 0 3 8 5 -2.13 4.09 0.25
## ------------------------------------------------------------
## group: Vaccinetimeline
## vars n mean sd median trimmed mad min max range skew kurtosis se
## X1 1 23 7.09 1.81 8 7.47 0 2 8 6 -1.67 1.37 0.38
Plotting means for visual inspection

Uncertain
Now looking at the effect of messages compared to control among people who were uncertain at wave 1
Again we subset, this time taking only respondents who answered that they were uncertain (3) about getting a vaccine at wave 1. This leaves us with an n of 103.
##
## 1 2 3 4 5
## 66 20 103 69 103
##
## 3
## 103
Vax interest (Uncert)
Overall descriptives for interest in getting vaccinated from those who were uncertain at wave 1
## vars n mean sd median trimmed mad min max range skew kurtosis se
## X1 1 103 3.6 1.21 4 3.72 1.48 1 5 4 -0.5 -0.55 0.12
Checking for assumptions before running ANOVA
## V1
## Mode:logical
## TRUE:103
Plots do not look too extreme and levene’s test looks good too


## Warning: Converting "partno" to factor for ANOVA.
## Warning: Data is unbalanced (unequal N per group). Make sure you specified a
## well-considered value for the type argument to ezANOVA().
## Coefficient covariances computed by hccm()
Get anova results
Get results with additional effect sizes and power
| XIgroup |
XIgroup |
2 |
1.226 |
0.613 |
0.416 |
0.661 |
0.008 |
0.008 |
-0.011 |
-0.011 |
-0.012 |
0.091 |
0.118 |
| …2 |
Residuals |
100 |
147.5 |
1.475 |
|
|
|
|
|
|
|
|
|
Checking group means
Show least squares means (unadjusted) and CIs around means
| controlcondition |
7.133 |
0.416 |
59 |
6.301 |
7.966 |
| Vaccinefactbox |
7.375 |
0.3289 |
59 |
6.717 |
8.033 |
| Vaccinetimeline |
7.087 |
0.336 |
59 |
6.415 |
7.759 |
Also generic means across groups and other descriptives (e.g., skew, range, etc.)
##
## Descriptive statistics by group
## group: controlcondition
## vars n mean sd median trimmed mad min max range skew kurtosis se
## X1 1 35 3.6 1.09 4 3.69 1.48 1 5 4 -0.65 -0.18 0.18
## ------------------------------------------------------------
## group: Vaccinefactbox
## vars n mean sd median trimmed mad min max range skew kurtosis se
## X1 1 39 3.49 1.43 3 3.58 2.97 1 5 4 -0.34 -1.22 0.23
## ------------------------------------------------------------
## group: Vaccinetimeline
## vars n mean sd median trimmed mad min max range skew kurtosis se
## X1 1 29 3.76 1.02 4 3.8 1.48 1 5 4 -0.3 -0.37 0.19
Plotting means for visual inspection

Vax time (Uncert)
Overall descriptives for time before getting vaccinated…
## vars n mean sd median trimmed mad min max range skew kurtosis se
## X1 1 78 3.19 2.19 3 2.95 2.97 1 8 7 0.65 -0.68 0.25
Checking for assumptions before running ANOVA. Plots do not look too extreme and levene’s test looks good too 

## Warning: Converting "partno" to factor for ANOVA.
## Warning: Data is unbalanced (unequal N per group). Make sure you specified a
## well-considered value for the type argument to ezANOVA().
## Coefficient covariances computed by hccm()
Get anova results
## Warning: Converting "partno" to factor for ANOVA.
## Warning: Data is unbalanced (unequal N per group). Make sure you specified a
## well-considered value for the type argument to ezANOVA().
## Coefficient covariances computed by hccm()
ANOVA:
| 2 |
XIgroup |
2 |
75 |
0.1839 |
0.8324 |
|
0.00488 |
Get results with additional effect sizes and power
| XIgroup |
XIgroup |
2 |
1.796 |
0.898 |
0.184 |
0.832 |
0.005 |
0.005 |
-0.021 |
-0.021 |
-0.022 |
0.07 |
0.079 |
| …2 |
Residuals |
75 |
366.3 |
4.884 |
|
|
|
|
|
|
|
|
|
Checking group means
Show least squares means (unadjusted) and CIs around means
| controlcondition |
3.333 |
0.4253 |
75 |
2.486 |
4.181 |
| Vaccinefactbox |
3.233 |
0.4035 |
75 |
2.43 |
4.037 |
| Vaccinetimeline |
2.952 |
0.4823 |
75 |
1.992 |
3.913 |
Also generic means across groups and other descriptives (e.g., skew, range, etc.)
##
## Descriptive statistics by group
## group: controlcondition
## vars n mean sd median trimmed mad min max range skew kurtosis se
## X1 1 27 3.33 2.17 3 3.13 2.97 1 8 7 0.61 -0.54 0.42
## ------------------------------------------------------------
## group: Vaccinefactbox
## vars n mean sd median trimmed mad min max range skew kurtosis se
## X1 1 30 3.23 2.37 3 2.96 2.97 1 8 7 0.61 -1.02 0.43
## ------------------------------------------------------------
## group: Vaccinetimeline
## vars n mean sd median trimmed mad min max range skew kurtosis se
## X1 1 21 2.95 2.01 3 2.71 2.97 1 7 6 0.59 -0.93 0.44
Plotting means for visual inspection

Pro-vaccine
Last, we can look at the effect of messages compared to control among people who wanted a vaccine at wave 1
Again we subset, this time taking only respondents who answered that they wanted (4) or defintely wanted (5) to get a vaccine at wave 1. This leaves us with an n of 172
##
## 1 2 3 4 5
## 66 20 103 69 103
##
## 4 5
## 69 103
Vax interest (Pro-vax)
Overall descriptives for interest in getting vaccinated from those who were provax at wave 1
## vars n mean sd median trimmed mad min max range skew kurtosis se
## X1 1 172 4.66 0.76 5 4.86 0 1 5 4 -2.63 7.28 0.06
Checking for assumptions before running ANOVA
## V1
## Mode :logical
## FALSE:5
## TRUE :167


## Warning: Converting "partno" to factor for ANOVA.
## Warning: Data is unbalanced (unequal N per group). Make sure you specified a
## well-considered value for the type argument to ezANOVA().
## Coefficient covariances computed by hccm()
Get anova results
Get results with additional effect sizes and power
| XIgroup |
XIgroup |
2 |
0.964 |
0.482 |
0.769 |
0.466 |
0.012 |
0.012 |
-0.004 |
-0.004 |
-0.004 |
0.111 |
0.182 |
| …2 |
Residuals |
126 |
78.91 |
0.626 |
|
|
|
|
|
|
|
|
|
Checking group means
Show least squares means (unadjusted) and CIs around means
| controlcondition |
4.659 |
0.1193 |
126 |
4.423 |
4.895 |
| Vaccinefactbox |
4.523 |
0.1193 |
126 |
4.287 |
4.759 |
| Vaccinetimeline |
4.732 |
0.1236 |
126 |
4.487 |
4.976 |
Also generic means across groups and other descriptives (e.g., skew, range, etc.)
##
## Descriptive statistics by group
## group: controlcondition
## vars n mean sd median trimmed mad min max range skew kurtosis se
## X1 1 44 4.66 0.83 5 4.86 0 1 5 4 -2.85 8.22 0.13
## ------------------------------------------------------------
## group: Vaccinefactbox
## vars n mean sd median trimmed mad min max range skew kurtosis se
## X1 1 44 4.52 0.88 5 4.69 0 1 5 4 -2 4.07 0.13
## ------------------------------------------------------------
## group: Vaccinetimeline
## vars n mean sd median trimmed mad min max range skew kurtosis se
## X1 1 41 4.73 0.63 5 4.88 0 2 5 3 -2.62 7.09 0.1
Plotting means for visual inspection

Vax time (Pro-vax)
Overall descriptives for time before getting vaccinated…
## vars n mean sd median trimmed mad min max range skew kurtosis se
## X1 1 167 1.66 1.34 1 1.34 0 1 8 7 2.64 7.85 0.1
Checking for assumptions before running ANOVA 

## Warning: Converting "partno" to factor for ANOVA.
## Warning: Data is unbalanced (unequal N per group). Make sure you specified a
## well-considered value for the type argument to ezANOVA().
## Coefficient covariances computed by hccm()
Get anova results
Get results with additional effect sizes and power
| XIgroup |
XIgroup |
2 |
2.571 |
1.285 |
1.335 |
0.266 |
0.016 |
0.016 |
0.004 |
0.004 |
0.004 |
0.129 |
0.29 |
| …2 |
Residuals |
160 |
154.1 |
0.963 |
|
|
|
|
|
|
|
|
|
Checking group means
Show least squares means (unadjusted) and CIs around means
| controlcondition |
1.351 |
0.13 |
160 |
1.094 |
1.608 |
| Vaccinefactbox |
1.6 |
0.1323 |
160 |
1.339 |
1.861 |
| Vaccinetimeline |
1.627 |
0.1374 |
160 |
1.356 |
1.899 |
Also generic means across groups and other descriptives (e.g., skew, range, etc.)
##
## Descriptive statistics by group
## group: controlcondition
## vars n mean sd median trimmed mad min max range skew kurtosis se
## X1 1 57 1.35 0.77 1 1.17 0 1 4 3 2.13 3.57 0.1
## ------------------------------------------------------------
## group: Vaccinefactbox
## vars n mean sd median trimmed mad min max range skew kurtosis se
## X1 1 55 1.6 1.05 1 1.38 0 1 5 4 1.78 2.41 0.14
## ------------------------------------------------------------
## group: Vaccinetimeline
## vars n mean sd median trimmed mad min max range skew kurtosis se
## X1 1 51 1.63 1.11 1 1.39 0 1 5 4 1.52 0.93 0.16
Plotting means for visual inspection

As covariate
Checking the effect of interventions on vaccine interest by controlling for wave 1 vaccine interest. First creating variable of did not want vaccine (1), uncertain (2), and wanted vaccine (3).
##
## 1 2 3
## 86 103 172
##
## Call:
## lm(formula = vax1.x ~ XIgroup * Vax1W1_grp, data = Dmgxs)
##
## Residuals:
## Min 1Q Median 3Q Max
## -3.7340 -0.6567 0.1729 0.3433 3.1372
##
## Coefficients:
## Estimate Std. Error t value Pr(>|t|)
## (Intercept) 0.73119 0.28851 2.534 0.0117 *
## XIgroupVaccinefactbox -0.26529 0.39902 -0.665 0.5066
## XIgroupVaccinetimeline -0.11076 0.37897 -0.292 0.7703
## Vax1W1_grp 1.33426 0.11770 11.336 <2e-16 ***
## XIgroupVaccinefactbox:Vax1W1_grp 0.06269 0.16490 0.380 0.7040
## XIgroupVaccinetimeline:Vax1W1_grp 0.06798 0.15893 0.428 0.6691
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
##
## Residual standard error: 1.001 on 355 degrees of freedom
## Multiple R-squared: 0.5596, Adjusted R-squared: 0.5534
## F-statistic: 90.21 on 5 and 355 DF, p-value: < 2.2e-16
Run the same again but looking at effect of interventions on time to get vaccine controling for wave 1 vaccine interest
##
## Call:
## lm(formula = vax2ipsos ~ XIgroup * Vax1W1_grp, data = Dmgxs)
##
## Residuals:
## Min 1Q Median 3Q Max
## -5.2285 -0.4976 -0.4453 1.1916 6.5285
##
## Coefficients:
## Estimate Std. Error t value Pr(>|t|)
## (Intercept) 9.0368 0.6121 14.763 <2e-16 ***
## XIgroupVaccinefactbox 0.4401 0.7998 0.550 0.583
## XIgroupVaccinetimeline -0.4167 0.8027 -0.519 0.604
## Vax1W1_grp -2.5131 0.2401 -10.467 <2e-16 ***
## XIgroupVaccinefactbox:Vax1W1_grp -0.1554 0.3203 -0.485 0.628
## XIgroupVaccinetimeline:Vax1W1_grp 0.1215 0.3220 0.377 0.706
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
##
## Residual standard error: 1.783 on 303 degrees of freedom
## (52 observations deleted due to missingness)
## Multiple R-squared: 0.5663, Adjusted R-squared: 0.5592
## F-statistic: 79.14 on 5 and 303 DF, p-value: < 2.2e-16
10Secs
Now looking at the same primary analyses, but subset the data to only include participants who spent at least 10 seconds looking at the messages (if they were in the experimental conditions).
This gives us the following distribution of participants across conditions.
##
## controlcondition Vaccinefactbox Vaccinetimeline
## 120 94 84
Vax interest
Overall descriptives for interest in getting vaccinated from those who spent more than 10seconds on the messages
## vars n mean sd median trimmed mad min max range skew kurtosis se
## X1 1 298 3.65 1.51 4 3.81 1.48 1 5 4 -0.66 -1.04 0.09
Checking for assumptions before running ANOVA.
## V1
## Mode:logical
## TRUE:298
Plots do not look too extreme and levene’s test looks good too 

## Warning: Converting "partno" to factor for ANOVA.
## Warning: Data is unbalanced (unequal N per group). Make sure you specified a
## well-considered value for the type argument to ezANOVA().
## Coefficient covariances computed by hccm()
Get anova results
Get results with additional effect sizes and power
| XIgroup |
XIgroup |
2 |
6.804 |
3.402 |
1.505 |
0.224 |
0.01 |
0.01 |
0.003 |
0.003 |
0.003 |
0.101 |
0.322 |
| …2 |
Residuals |
295 |
666.9 |
2.261 |
|
|
|
|
|
|
|
|
|
Checking group means
Show least squares means (unadjusted) and CIs around means
| controlcondition |
3.833 |
0.1373 |
295 |
3.563 |
4.103 |
| Vaccinefactbox |
3.553 |
0.1551 |
295 |
3.248 |
3.858 |
| Vaccinetimeline |
3.5 |
0.1641 |
295 |
3.177 |
3.823 |
Also generic means across groups and other descriptives (e.g., skew, range, etc.)
##
## Descriptive statistics by group
## group: controlcondition
## vars n mean sd median trimmed mad min max range skew kurtosis se
## X1 1 120 3.83 1.4 4 4.04 1.48 1 5 4 -0.89 -0.56 0.13
## ------------------------------------------------------------
## group: Vaccinefactbox
## vars n mean sd median trimmed mad min max range skew kurtosis se
## X1 1 94 3.55 1.58 4 3.68 1.48 1 5 4 -0.55 -1.26 0.16
## ------------------------------------------------------------
## group: Vaccinetimeline
## vars n mean sd median trimmed mad min max range skew kurtosis se
## X1 1 84 3.5 1.56 4 3.62 1.48 1 5 4 -0.45 -1.35 0.17
Plotting means for visual inspection

Vax time
Overall descriptives for time before getting vaccinated…
## vars n mean sd median trimmed mad min max range skew kurtosis se
## X1 1 255 3.21 2.73 2 2.89 1.48 1 8 7 0.85 -0.91 0.17
Checking for assumptions before running ANOVA. Plots do not look too extreme and levene’s test looks good too 

## Warning: Converting "partno" to factor for ANOVA.
## Warning: Data is unbalanced (unequal N per group). Make sure you specified a
## well-considered value for the type argument to ezANOVA().
## Coefficient covariances computed by hccm()
Get anova results
Get results with additional effect sizes and power
| XIgroup |
XIgroup |
2 |
16.08 |
8.042 |
1.077 |
0.342 |
0.008 |
0.008 |
0.001 |
0.001 |
0.001 |
0.092 |
0.24 |
| …2 |
Residuals |
252 |
1882 |
7.468 |
|
|
|
|
|
|
|
|
|
Checking group means
Show least squares means (unadjusted) and CIs around means
| controlcondition |
2.902 |
0.2706 |
252 |
2.369 |
3.435 |
| Vaccinefactbox |
3.442 |
0.2947 |
252 |
2.862 |
4.022 |
| Vaccinetimeline |
3.373 |
0.3339 |
252 |
2.716 |
4.031 |
Also generic means across groups and other descriptives (e.g., skew, range, etc.)
##
## Descriptive statistics by group
## group: controlcondition
## vars n mean sd median trimmed mad min max range skew kurtosis se
## X1 1 102 2.9 2.58 1 2.51 0 1 8 7 1.09 -0.34 0.26
## ------------------------------------------------------------
## group: Vaccinefactbox
## vars n mean sd median trimmed mad min max range skew kurtosis se
## X1 1 86 3.44 2.84 2 3.2 1.48 1 8 7 0.67 -1.27 0.31
## ------------------------------------------------------------
## group: Vaccinetimeline
## vars n mean sd median trimmed mad min max range skew kurtosis se
## X1 1 67 3.37 2.82 2 3.13 1.48 1 8 7 0.72 -1.17 0.34
Plotting means for visual inspection
