-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmethod.Rmd
2652 lines (2096 loc) · 142 KB
/
method.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
```{r 'init', warning = FALSE, message = FALSE, echo=FALSE}
if(!require(papaja)){devtools::install_github("crsh/papaja")}
library(papaja)
source("material/einles.R")
format_p <- function(pval){
if (pval < .001) return("p < .001")
else if (pval < .01) return(paste0("p = ", round(pval, digits=3)))
else return(paste0("p = ", round(pval, digits=2)))
}
#required libraries
if(!require(data.table)){install.packages("data.table")}
library(data.table)
if(!require(ez)){install.packages("ez")}
library(ez)
if(!require(lsr)){install.packages("lsr")}
library(lsr)
if(!require("reshape2")){install.packages("reshape2")}
library("reshape2")
if(!require("Rmisc")){install.packages("Rmisc")}
library("Rmisc")
if(!require("plotrix")){install.packages("plotrix")}
library("plotrix")
if(!require("UsingR")){install.packages("UsingR")}
library("UsingR")
if(!require("BayesFactor")){install.packages("BayesFactor")}
library(BayesFactor)
```
# Experiment 1
In Experiment 1, nonword CSs were presented for either 30 or 100 ms and paired with multiple USs of the same valence, which were presented as background images during the pairing phase.
After the pairing phase, participants evaluated the CSs on rating scales.
Participants were asked to pay attention to the briefly presented stimuli in the center of the screen, and to try to identify them.
Based on the results of a pretest, we expected CS identification to be slightly above chance in the short (30ms masked) presentation condition.
In addition to the non-words, we also used words of the German language as filler CSs.
This was done to further reduce the overall difficulty of the task of identifying the briefly flashed stimuli in order to keep up participants' motivation throughout the experiment.
The word data are not reported as they are irrelevant for our hypotheses.
```{r 'exp1_prepare', warning = FALSE, message = FALSE, echo=FALSE}
## load data
data.1 <- read.table(file="data/data.1.dat", header=T)
#VPN number 2 was a test dataset
data.1 <- subset(data.1, vpnr!=2)
### prepare variables
data.1$istmaskiert <- factor(data.1$istmaskiert, labels = c("100ms", "30ms"))
data.1$uspositiv <- factor(data.1$uspositiv, labels = c("neg", "pos"))
data.1$istwort <- factor(data.1$istwort, labels = c("nonwords", "words"))
data.1$istpositiv <- factor(data.1$istpositiv, labels = c("non", "pos", "neg"))
data.1$vpnr <- factor(data.1$vpnr)
### compute N_participants and nCS
N.and.CS(data.1$vpnr, data.1$cs)
### prepare ratings variable
dv <- data.frame(data.1$liking0, data.1$liking1, data.1$liking2)
# correlation of dependent variables
dv.cor <- round(cor(dv), digits=2)
# how much variance is explained by one factor?
dv.eigen <- eigen(dv.cor)$values
dv.varexpl <- round(cumsum(dv.eigen/3) * 100, digits = 2)[1]
# compute rating as mean liking
data.1$rating <- (data.1$liking0 + data.1$liking1 + data.1$liking2)/3
### prepare visibility-correct variables
# was the response in a given trial correct or not?
data.1$vis.correct <- ifelse(data.1$sichtbar_response == data.1$cs, 1, 0)
### compile to common format
data.all.1 <- data.frame(exp = 1
, vpnr = data.1$vpnr
, condition = "CS identification"
, cs_duration = data.1$istmaskiert
, masking = "mask"
, us_valence = data.1$uspositiv
, cs_material = data.1$istwort
, cs_wort = data.1$wort
, rating = data.1$rating
, vis.correct = data.1$vis.correct
, chancelevel = 1/48
, n = N_participants)
data.all <- data.all.1
# materials
iaps <- read.csv2("material/iaps.csv", dec=".")
us_list_exp1 <- read.csv2("material/exp1-5_uslist.csv")
uslist <- merge(iaps, us_list_exp1, by.x='Nr.', by.y='IAPS_no' )
uslist_val <- aggregate(PleasureM ~ Val, data = uslist, mean)
```
## Method
### Participants and design
A sample of $N =`r N_participants`$ University of Cologne students from different majors completed the experiment in exchange for either a monetary compensation or partial course credit.
Sample size was sufficient to detect small-to-medium effects ($d = .32$) with a power of $1 - \beta = .95$.
We realized a 2 (US valence: positive vs. negative) x 2 (CS duration: 30 vs. 100 ms) within-participants design.
### Materials
As CSs, we used 24 nonwords [taken from @brendl_how_2001; @stahl_respective_2009].
In addition, 24 words were used as filler stimuli, half being of positive and half of negative valence [taken from @klauer_priming_2007].
As USs, we used 25 positive ($M = `r uslist_val$PleasureM[uslist_val$Val=='Pos']`$) and 25 negative ($M = `r uslist_val$PleasureM[uslist_val$Val=='Neg']`$) IAPS pictures [@lang_international_2008].
A list of IAPS stimuli is given in the Appendix.
Each CS stimulus (nonwords and filler words) was paired with 5 different US images of the same valence.
Half of each of the sets of CS stimuli (24 nonwords, 12 positive words, 12 negative words) was paired with positive USs and the other half with negative USs;
half of each of these sets of pairings was presented in the 100 ms condition, and the other half was presented in the 30 ms condition.
Assignment of CS and US stimuli to experimental conditions was randomized for each participant anew.
Forward and backward masks were generated randomly from the set of consonants for each presentation trial anew.
### Procedure
The study was administered on a personal computer controlled by software written in C.
Participants were seated in a cubicle and instructed that they would see words and meaningless letter strings (nonwords) very briefly, and that they should try to identify them.
They were told that the task is difficult and requires concentration, and that they would not always be able to identify the word or nonword;
in such cases, they were instructed to guess.
We realized simultaneous (i.e., temporally overlapping) presentations of CS and US.
A trial proceeded as follows:
First, the US picture was presented for 1500ms, covering the entire screen.
Then a small grey rectangle was presented centrally for 500 ms as an attentional cue and replaced by the forward mask, which was presented for another 500 ms and replaced by the CS.
CSs were presented for either 30 ms or 100 ms and replaced by a backward mask, which was presented either for 1400 ms (100 ms condition) or 1470 ms (30 ms condition), after which the screen was cleared.
The US remained on screen during the entire CS sequence.
Total trial duration was 4s.
In this and the following studies, US valence as well as CS duration varied on a trial-by-trial basis, and trial order was determined randomly for each participant anew.
Following each CS-US presentation, a list of the 24 words and 24 nonwords was presented on the screen.
Participants were instructed to use the computer mouse to click on the word or nonword they had just seen, and to guess if they had not seen anything.
The response was followed by an inter-trial interval of 1000 ms before the next trial started.
In total, 5 blocks of 48 trials were administered, such that each CS was presented five times (i.e., once with each of five different US images of the same valence).
After the presentation phase, evaluative ratings were collected for all 48 items.
Participants were asked to indicate overall impression, attractiveness, and pleasantness on 8-point rating scales, with higher values reflecting more positive evaluations.
Upon completing the evaluative ratings, participants were debriefed, received their compensation, and were dismissed.
## Results
Evaluative ratings were highly correlated ($`r min(dv.cor)`<r<`r max(dv.cor[dv.cor<1])`$), and an exploratory factor analysis yielded a single factor which explained $`r dv.varexpl`$ % of the variance.
Thus, in the studies in which three evaluative ratings were collected for each CS (i.e., Experiments 1-4), we used the mean of the three ratings as the dependent variable.
^[We used `r cite_r("./material/r-references.bib")` for analyses and reproducible reporting.]
### CS identification
```{r 'exp1_mean_visibility', echo=FALSE, warning=FALSE, message = FALSE}
## only the nonwords are of interest
data.1 <- subset(data.all.1, cs_material == "nonwords")
#MEAN
visibility.1 <- round(tapply(data.1$vis.correct
, list(data.1$cs_duration)
, mean), 2)
#STANDARD DEVIATION
vis.sd.1 <- round(tapply(data.1$vis.correct
, list(data.1$cs_duration)
, sd), 3)
#ANOVA with IV CS duration
glm.mean.vis <- ezANOVA(data = data.1
, dv = vis.correct
, wid = vpnr
, within = .(cs_duration)
, within_full = .(cs_duration, us_valence)
, return_aov = TRUE)
glm.mean.vis <- apa_print(glm.mean.vis$aov)
#t-Test for chance level for the 30ms masked condition
csdata.aggr <- aggregate(vis.correct~vpnr
, data=subset(data.1, cs_duration=='30ms')
, FUN = "mean")
t.abovechance <- t.test(x = csdata.aggr$vis.correct, mu = 1/48)
t.abovechance.out <- apa_print(t.abovechance)
```
Participants' mean proportions of correct CS identifications were analyzed in a repeated-measures ANOVA with CS duration (30 vs. 100ms) as the only factor.
Mean CS identification was affected by CS presentation duration, `r glm.mean.vis$full$cs_duration`:
As illustrated in Figure 1, masked CSs presented for 30ms were identified less often ($M = `r round(visibility.1[2], 3)`$, $SD = `r vis.sd.1[2]`$) than those presented for 100ms ($M = `r round(visibility.1[1], 3)`$, $SD = `r vis.sd.1[1]`$).
Identification of masked CSs was better than chance (i.e., chance level: $1/48 = `r 1/48`$), `r t.abovechance.out$full`.
### Evaluative conditioning
```{r 'exp1_ec_by_presentation', warning = FALSE, echo=FALSE, message=FALSE}
#MEAN
istmaskiert.m <- tapply(data.1$rating
, list(data.1$cs_duration)
, mean)
#STANDARD DEVIATION
istmaskiert.sd <- tapply(data.1$rating
, list(data.1$cs_duration)
, sd)
#anova
ec.duration <- ezANOVA(data = data.1
, dv = rating
, wid = vpnr
, within = .(us_valence, cs_duration)
, return_aov = TRUE)
ec.duration <- apa_print(ec.duration$aov)
#t-Test for the 30ms masked condition
csdata.aggr <- aggregate(rating~vpnr*us_valence
, data=subset(data.1, cs_duration=='30ms')
, FUN = "mean")
e1.t.30 <- t.test(rating ~ us_valence, data = csdata.aggr, paired = TRUE)
t.30.out <- apa_print(e1.t.30)
csdata.aggr <- aggregate(rating~vpnr*us_valence
, data=subset(data.1, cs_duration=='100ms')
, FUN = "mean")
e1.t.100 <- t.test(rating ~ us_valence, data = csdata.aggr, paired = TRUE)
t.100.out <- apa_print(e1.t.100)
```
Evaluative ratings were analyzed in a repeated-measures ANOVA with factors CS duration (30 vs. 100ms) and US valence (positive vs. negative).
We obtained a main effect of presentation duration, `r ec.duration$full$cs_duration`,
but not of US valence, `r ec.duration$full$us_valence`,
nor did we obtain an interaction of the two, `r ec.duration$full$us_valence_cs_duration`.
The main effect of presentation duration reflected the finding that CSs presented for 100ms were evaluated more positively ($M = `r istmaskiert.m[1]`$, $SD = `r istmaskiert.sd[1]`$) than CSs presented for 30 ms ($M = `r istmaskiert.m[2]`$, $SD = `r istmaskiert.sd[2]`$).
As depicted in Figure 1, there was no EC effect for nonword CSs presented for 30ms, `r t.30.out$full`,
nor for CSs presented for 100 ms, `r t.100.out$full`.
```{r 'exp1_ec_by_identification', warning = FALSE, echo = FALSE}
# classify CS as visible (identified in 1 or more cases) vs. not-visible (identified in 0 trials)
data.1 <- subset(data.all.1, cs_duration == "30ms" & cs_material == "nonwords")
datvis.1 <- aggregate(data.1$vis.correct, by=list(data.1$vpnr, data.1$cs_wort), FUN=mean)
datvis.1$visible <- as.numeric(datvis.1$x != 0)
# match with full data file
data.1 <- merge(data.1, datvis.1, by.y = c("Group.1", "Group.2"), by.x=c("vpnr", "cs_wort"), all.y=TRUE)
csdata.agg <- aggregate(list(rating=data.1$rating)
, list(vpnr=data.1$vpnr
, usval=data.1$us_valence
, mvis=data.1$x
, visible = as.factor(data.1$visible))
, FUN= mean)
visdata.1 <- csdata.agg
# for hierarchical model
csdata.agg <- aggregate(list(rating=data.1$rating)
, list(cs_wort =data.1$cs_wort
, usval=as.factor(data.1$us_valence)
, vpnr=data.1$vpnr
, mvis=data.1$x
, visible = as.factor(data.1$visible))
, FUN= mean)
visdata.1h <- csdata.agg
```
## Discussion
First, results showed that participants could identify nonwords above chance level even when they were presented for only 30 ms and masked.
Although identification performance was low, it was clearly above chance, indicating that some CSs could be (at least) partially identified.
Previous work has shown that even clearly subliminal stimuli were able to affect cognitive processes [@van_den_bussche_mechanisms_2009], indicating that, under the present slightly supraliminal presentation conditions, awareness-independent processes should be able to operate on the CSs.
A necessary condition for EC to occur was therefore clearly met.
Experiment 1 nevertheless failed to yield an EC effect:
Participants' evaluation of the CSs did not vary as a function of US valence, even for clearly visible CSs.
This suggests that EC is less robust than often assumed:
EC was not obtained, despite the fact that the experimental paradigm was highly similar to that realized in our earlier studies in which we robustly obtained EC [e.g., @stahl_respective_2009].
In sum, CS identification appears to be necessary but not sufficient for EC.
We identify three potential causes for the lack of an EC effect.
First, we suspected that the instructions' focus on the CS identification task (e.g., instructions referred to identification of CSs as the main task; USs were characterized as background pictures) may have interfered with a more holistic default processing mode that is thought to be conducive to EC, or may simply have led to insufficient attention to the USs.
Second, as participants were asked to evaluate both words and valenced nonwords after the learning phase using the same rating scale, the presence of words might have restricted the range of nonword evaluations, thereby masking potential EC effects.
Third, the requirement to work on the CS identification task during the learning phase may have interfered with evaluative learning.
# Experiment 2
In Experiment 2, we modified three features of the procedure that may have been detrimental to EC.
First, to increase the amount of attention paid to the US, we explored whether EC for 30ms masked stimuli can be found when a valence focus is induced, as EC effects may depend on an attentional focus on valence during learning [@gast_what_2011].
In the valence-focus orienting task, USs were no longer described as background pictures but were to be attended together with the CSs, and participants were instructed, on each trial, to evaluate the pleasantness of the stimulus pair.
Second, words were no longer used as filler CSs.
Third, and most importantly, to investigate whether the absence of EC in Experiment 1 was due to interference from the CS identification task, we manipulated the presence versus absence of that task.
Thus, the CS identification task served as a manipulation in this experiment, not as manipulation check:
If it interfered with EC, we should observe an EC effect for 30ms masked stimuli only for participants who did not perform this task during the learning phase.
Finally, Experiment 2 also used a different stimulus-strength manipulation:
Instead of manipulating presentation duration, we kept duration constant at 30 ms and manipulated the presence versus absence of the forward and backward masks.
```{r 'exp2_prepare', warning = FALSE, message = FALSE}
## import data
data.2 <- read.table(file="data/data.2.dat", header=T)
### prepvare variables
data.2$istmaskiert <- factor(data.2$istmaskiert
, levels=c(0,1)
, labels = c("nomask", "mask"))
data.2$uspositiv <- factor(data.2$uspositiv
, levels=c(0,1)
, labels = c("neg", "pos"))
data.2$vpnr <- factor(data.2$vpnr)
data.2$vischeck <- factor(ifelse(data.2$sichtbar_response == -1
, "nocheck"
, "vischeck"))
N.and.CS(data.2$vpnr, data.2$cs)
### ratings
dv <- data.frame(data.2$liking0, data.2$liking1, data.2$liking2)
#correlation of dependent variables
dv.cor <- round(cor(dv), digits=2)
#how much variance is explained by one factor?
dv.eigen <- eigen(dv.cor)$values
dv.varexpl <- round(cumsum(dv.eigen/3) * 100, digits = 2)[1]
# compute mean rating as mean of three liking ratings
data.2$rating <- (data.2$liking0 + data.2$liking1 + data.2$liking2)/3
### visbility
data.2$vis.correct <- ifelse(data.2$sichtbar_response == data.2$cs, 1, 0)
### combine
data.all.2 <- data.frame(exp=2
, vpnr = data.2$vpnr
, condition = data.2$vischeck
, cs_duration = "30ms"
, masking = data.2$istmaskiert
, us_valence = data.2$uspositiv
, cs_material = "nonwords"
, cs_wort = data.2$wort
, rating = data.2$rating
, vis.correct = data.2$vis.correct
, chancelevel = 1/24
, n = N_participants)
data.all <- rbind(data.all, data.all.2)
```
## Method
### Participants and design
A total of $N = `r N_participants`$ students who had not participated in any of the other studies were recruited and received either a monetary compensation or partial course credit.
We implemented a 2 (US valence: positive vs. negative) x 2 (CS masking: present vs. absent) x 2 (CS identification task: present vs. absent) design, with repeated measures on the first two factors.
Half of participants were randomly assigned to the CS-identification condition, the other half did not perform the CS identification task.
### Materials
In Experiment 2, the same 24 nonwords as in Experiment 1 were used as CS (the words were no longer used as filler CSs because identification was clearly above chance in the 30ms condition).
Each CS was paired with 5 US images of the same valence.
Half of the CS stimuli was paired with positive USs and the other half with negative USs;
half of each of these sets of pairings was presented in the mask-present condition, and the other half was presented in the mask-absent condition.
Forward and backward masks were generated randomly from the set of consonants for each trial anew.
### Procedure
Participants were told that they would see pictures and words from an unfamiliar language.
They were told that words would be presented very briefly, and that they would be hidden by random letter strings on some occasions.
They were instructed to attend to pictures and words and told that we were interested in their overall impression of both.
As an orienting task, we induced a valence focus:
After each pairing, participants were asked to indicate whether they had a pleasant or an unpleasant impression of the picture-nonword pair.
To test whether the CS identification task during learning affected EC, it was administered only to one half of participants.
These participants were asked to identify the nonword they had just seen by selecting it from a list of all 24 nonwords.
For the other half of participants, CS identification was never tested.
Trials were similar to Experiment 1, with the exception that presentation duration was constant at 30ms (and the duration of the backward mask was thus constant at 1470ms in the masked condition).
Instead of presentation duration, the presence (vs. absence) of forward and backward masks was varied.
After each trial, the valence task was presented; in the CS-identification group, it was followed by the CS identification task.
After an inter-trial interval of 1000ms, the next trial started. In total, 10 blocks of 24 trials were administered (i.e., each CS-US pair was presented twice).
^[Due to a programming error, identification performance in the first five blocks was lost.
The remaining data from the second half of the learning phase are therefore a somewhat noisy estimate of overall CS identification performance.
They may also represent a biased estimate, if CS identification increases over time due to learning, or if it decreases over time due to fatigue or decreasing motivation.
However, we consider such a bias unlikely because the number of presentations (6 or 12) did not affect CS identification performance in Experiment 6 (see below).]
After the presentation phase, evaluative ratings were collected for the 24 nonwords as in Experiment 1.
^[Evaluative ratings were highly correlated ($`r min(dv.cor)` < r < `r max(dv.cor[dv.cor<1])`$), and an explorative factor analysis yielded a single factor which explained $`r dv.varexpl` \%$ of the variance.]
## Results
```{r 'exp2_mean_visibility', echo=FALSE, warning=FALSE, message = FALSE}
#Using the data from the visibility-check group
data.2 <- subset(data.all.2, condition == "vischeck")
#MEAN
visibility.2 <- round(tapply(data.2$vis.correct
, list(data.2$masking)
, mean), 2)
#STANDARD DEVIATION
vis.sd.2 <- round(tapply(data.2$vis.correct
, list(data.2$masking)
, sd), 2)
#ANOVA with IV CS duration
glm.mean.vis <- ezANOVA(data = data.2
, dv = vis.correct
, wid = vpnr
, within = .(masking)
, within_full = .(masking, us_valence)
, type = 3
, return_aov = TRUE)
glm.mean.vis <- apa_print(glm.mean.vis$aov)
#t-Test for chance level for the 30ms masked condition
csdata.aggr <- aggregate(vis.correct~vpnr
, data=subset(data.2, masking=='mask')
, FUN = "mean")
t.abovechance <- t.test(x = csdata.aggr$vis.correct, mu = 1/24)
t.abovechance.out <- apa_print(t.abovechance)
```
### CS identification
Using the data from the CS-identification group, the mean proportion of correctly identified CSs was analyzed in a repeated-measures ANOVA with masking (mask present vs. absent) as the only factor.
The results are illustrated in Figure 1.
Mean CS identification was affected by the mask, `r glm.mean.vis$full$masking`: masked items were identified less often ($M = `r visibility.2[2]`, SD = `r vis.sd.2[2]`$) than unmasked items ($M = `r visibility.2[1]`, SD = `r vis.sd.2[1]`$).
Identification of masked CSs was descriptively but only marginally better than chance (chance level: $1/24 = `r 1/24`$), `r t.abovechance.out$full`.
```{r 'exp2_ec_by_presentation', warning = FALSE, echo=FALSE, message=FALSE}
data.2 <- data.all.2
#MEAN
ec.mean <- round(tapply(data.2$rating
, list(data.2$masking, data.2$us_valence)
, mean), 2)
ec.mean.me <- round(tapply(data.2$rating
, list(data.2$masking)
, mean), 2)
#STANDARD DEVIATION
ec.sd <- round(tapply(data.2$rating
, list(data.2$masking, data.2$us_valence)
, sd), 2)
ec.sd.me <- round(tapply(data.2$rating
, list(data.2$masking)
, sd), 2)
#anovas
ec.duration <- ezANOVA(data = data.2
, dv = rating
, wid = vpnr
, within = .(us_valence, masking)
, between = condition
, type = 3
, return_aov = TRUE)
ec.duration <- apa_print(ec.duration$aov)
#split by presentation condition
duration.2 <- split(data.2, f = data.2$masking)
ec.unmasked <- ezANOVA(data = duration.2$nomask
, dv = rating
, wid = vpnr
, within = .(us_valence)
, between = condition
, type = 3
, return_aov = TRUE)
ec.unmasked <- apa_print(ec.unmasked$aov)
ec.masked <- ezANOVA(data = duration.2$mask
, dv = rating
, wid = vpnr
, within = .(us_valence)
, between = condition
, type = 3
, return_aov = TRUE)
ec.masked <- apa_print(ec.masked$aov)
```
### Evaluative conditioning
Evaluative ratings were analyzed in an ANOVA with CS-identification group as between-participants factor, and with masking and US valence as repeated-measures factors.
The between-participants CS-identification factor was not significant, `r ec.duration$full$condition`, and did not enter any significant interactions.
We obtained main effects of masking, `r ec.duration$full$masking`, and of US valence, `r ec.duration$full$us_valence`, as well as an interaction between them, `r ec.duration$full$us_valence_masking`.
The main effect of masking reflects the finding that masked CSs were rated less positively, $M=`r ec.mean.me[2]`$, $SD=`r ec.sd.me[2]`$, than nonmasked CSs, $M=`r ec.mean.me[1]`$, $SD=`r ec.sd.me[1]`$.
The main effect of US valence (i.e., the EC effect, reflecting more positive ratings for CSs paired with positive than with negative USs) was qualified by the interaction with masking:
An EC effect was obtained for unmasked CSs, `r ec.unmasked$full$us_valence`, but not for masked CSs, `r ec.masked$full$us_valence` (see Figure 1).
```{r 'exp2_ec_by_identification', warning = FALSE, echo=FALSE, message=FALSE}
data.2 <- subset(data.all.2, condition == "vischeck" & masking =="mask")
# classify CS as visible (identified in 1 or more cases) vs. not-visible (identified in 0 trials)
datvis.2 <- aggregate(data.2$vis.correct, by=list(data.2$vpnr, data.2$cs_wort), FUN=mean)
datvis.2$visible <- as.numeric(datvis.2$x != 0)
# match with full data file
data.2 <- merge(data.2, datvis.2, by.y = c("Group.1", "Group.2"), by.x=c("vpnr", "cs_wort"), all.y=TRUE)
csdata.agg <- aggregate(list(rating = data.2$rating)
, list(vpnr=data.2$vpnr
, usval=data.2$us_valence
, mvis=data.2$x
, visible = as.factor(data.2$visible))
, FUN= mean)
visdata.2 <- csdata.agg
csdata.agg <- aggregate(list(rating = data.2$rating)
, list(vpnr=data.2$vpnr
, usval=as.factor(data.2$us_valence)
, cs_wort=data.2$cs_wort
, mvis=data.2$x
, visible = as.factor(data.2$visible))
, FUN= mean)
visdata.2h <- csdata.agg
```
## Discussion
In this experiment, CS identification was high for unmasked CSs and was slightly but not significantly above chance for masked CSs (note here that the power of the CS identification test was lower than that of the test for EC, as only half of the participants entered the former analysis).
A robust EC effect was obtained for unmasked and clearly identifiable CSs; this finding support the view that inducing a valence focus promotes EC for identifiable CSs.
In contrast, there was no evidence for EC in the masked condition.
Hence, under valence-focus instructions EC appears to vanish when reaching the boundaries of conscious perception.
Perhaps most importantly, this study revealed that the CS identification task did not affect EC:
both groups had comparable levels of EC for unmasked CSs.
#Experiment 3
Experiment 3 realizes another attempt at demonstrating EC for briefly presented and masked CSs, and to test whether such an EC effect is modulated by processing goals or, put differently, the attentional requirements of the orienting task.
That an EC effect was obtained under valence-focus instructions in Experiment 2 but was not obtained under CS-identification instructions in Experiment 1 is consistent with the view that EC depends on the goal of processing US valence [@corneille_beyond_2009; @gast_what_2011].
We examined the role of processing goals in EC by directly manipulating this factor:
Experiment 3 compared the valence-focus instruction to a brightness-judgment orienting task.
In the brightness-focus condition, we eliminated the valence-processing requirement of the orienting task while maintaining the requirement that attention be directed toward the CS and US as a pair.
```{r 'exp3_prepare', warning = FALSE, message = FALSE}
## import data
data.3 <- read.table(file="data/data.3.dat", header=T)
# prepare variables
data.3$istmaskiert <- factor(data.3$istmaskiert, labels = c("nomask", "mask"))
data.3$uspositiv <- factor(data.3$uspositiv, labels = c("neg", "pos"))
#Which group has the valence focus and which one the brightness focus?
data.3$group <- factor(data.3$group, labels = c("valence", "brightness"))
N.and.CS(data.3$vpnr, data.3$cs)
# ratings
dv <- data.frame(data.3$liking0, data.3$liking1, data.3$liking2)
#correlation of dependent variables
dv.cor <- cor(dv)
#how much variance is explained by one factor?
dv.eigen <- eigen(dv.cor)$values
dv.varexpl <- round(cumsum(dv.eigen/3) * 100, digits = 2)[1]
data.3$rating <- (data.3$liking0 + data.3$liking1 + data.3$liking2)/3
# visibility
data.3$vis.correct <- ifelse(data.3$sichtbar_response == data.3$cs, 1, 0)
# combine
data.all.3 <- data.frame(exp=3
, vpnr=data.3$vpnr
, condition=data.3$group
, cs_duration="30ms"
, masking=data.3$istmaskiert
, us_valence=data.3$uspositiv
, cs_material="nonwords"
, cs_wort=data.3$wort
, rating=data.3$rating
, vis.correct=data.3$vis.correct
, chancelevel=1/24
, n=N_participants)
data.all <- rbind(data.all, data.all.3)
```
## Method
### Participants and design
For Experiment 3, $N=`r N_participants`$ students who had not participated in any of the other studies were recruited; they received either a monetary compensation or partial course credit.
We implemented a 2 (US valence: positive vs. negative) x 2 (CS masking: present vs. absent) x 2 (orienting task: valence vs. brightness) design, with repeated measures on the first two factors.
Half of participants were randomly assigned to the valence orienting task, the other half performed the brightness orienting task.
### Materials and procedure
The same materials were used as in Experiment 2.
Procedure was largely identical to that used in Experiment 2, with the following exceptions:
Participants were instructed to attend to the picture-word pair and told that we were interested in their perceptual impression.
Half of participants performed the valence-focus task (i.e., after each pairing, they were asked to indicate whether they had a pleasant or an unpleasant impression of the stimulus pair).
The other half performed a brightness task: They were asked to indicate whether their perceptual impression of the pair was better described as 'bright' or as 'dark'.
After the perceptual-impression orienting task, all participants were asked, on every trial, to identify the nonword they had seen by selecting it from a list of all `r nCS` nonwords.
^[Evaluative ratings were highly correlated ($`r min(dv.cor)`<r<`r max(dv.cor[dv.cor<1])`$), and an exploratory factor analysis yielded a single factor which explained $`r dv.varexpl`$ % of the variance.]
## Results
### CS identification
```{r 'exp3_mean_visibility', echo=FALSE, warning=FALSE, message = FALSE}
data.3 <- data.all.3
#MEAN
visibility.3 <- tapply(data.3$vis.correct
, list(data.3$masking)
, mean)
data.3 <- subset(data.all.3, condition=='valence')
visibility.3v <- tapply(data.3$vis.correct
, list(data.3$masking)
, mean)
data.3 <- subset(data.all.3, condition=='brightness')
visibility.3b <- tapply(data.3$vis.correct
, list(data.3$masking)
, mean)
#STANDARD DEVIATION
data.3 <- data.all.3
visibility.sd.3 <- tapply(data.3$vis.correct
, list(data.3$masking)
, sd)
data.3 <- subset(data.all.3, condition=='valence')
vis.sd.3v <- tapply(data.3$vis.correct
, list(data.3$masking)
, sd)
data.3 <- subset(data.all.3, condition=='brightness')
vis.sd.3b <- tapply(data.3$vis.correct
, list(data.3$masking)
, sd)
#ANOVA with IV CS duration and orienting task
data.3 <- data.all.3
glm.mean.vis <- ezANOVA(data = data.3
, dv = vis.correct
, wid = vpnr
, within = .(masking)
, within_full = .(masking, us_valence)
, between = condition
, type = 3
, return_aov = TRUE)
glm.mean.vis <- apa_print(glm.mean.vis$aov)
#t-Tests for chance level for the 30ms masked conditions
csdata.aggr <- aggregate(vis.correct~vpnr
, data=subset(data.3
, condition=='valence'
& masking=='mask')
, FUN = "mean")
t.abovechance <- t.test(x = csdata.aggr$vis.correct, mu = 1/24)
t.abovechance.val <- apa_print(t.abovechance)
csdata.aggr <- aggregate(vis.correct~vpnr
, data=subset(data.3
, condition=='brightness'
& masking=='mask')
, FUN = "mean")
t.abovechance <- t.test(x = csdata.aggr$vis.correct, mu = 1/24)
t.abovechance.bri <- apa_print(t.abovechance)
```
Mean proportion of correct CS identifications was analyzed in a masking (mask present vs. absent) by orienting task (valence vs. brightness) ANOVA with repeated measures on the first factor.
Mean CS identification was affected by the mask, `r glm.mean.vis$full$masking`, but neither by orienting task, `r glm.mean.vis$full$condition`, nor the interaction, `r glm.mean.vis$full$condition_masking`.
The main effect of masking is illustrated in Figure 1; it reflected the fact that masked CSs were identified less often ($M = `r round(visibility.3[2],2)`, SD = `r visibility.sd.3[2]`$) than non-masked CSs ($M = `r round(visibility.3[1],2)`, SD = `r round(visibility.sd.3[1],2)`$).
In both groups, identification of masked CSs was above chance; valence-focus: `r t.abovechance.val$full`; brightness-focus: `r t.abovechance.bri$full`.
```{r 'exp3_ec_by_presentation', warning = FALSE}
#MEAN
ec.mean <- tapply(data.3$rating
, list(data.3$masking, data.3$us_valence)
, mean)
ec.mean.me <- tapply(data.3$rating
, list(data.3$masking)
, mean)
#STANDARD DEVIATION
ec.sd <- tapply(data.3$rating
, list(data.3$masking, data.3$us_valence)
, sd)
ec.sd.me <- tapply(data.3$rating
, list(data.3$masking)
, sd)
#ANOVA
ec.duration <- ezANOVA(data = data.3
, dv = rating
, wid = vpnr
, within = .(us_valence, masking)
, between = condition
, type = 3
, return_aov = TRUE )
ec.duration <- apa_print(ec.duration$aov)
# split by masking
ismasked <- split(data.3, f = data.3$masking)
ec.unmasked <- ezANOVA(data = ismasked$nomask
, dv = rating
, wid = vpnr
, within = .(us_valence)
, between = condition
, type = 3
, return_aov = TRUE )
ec.unmasked <- apa_print(ec.unmasked$aov)
ec.masked <- ezANOVA(data = ismasked$mask
, dv = rating
, wid = vpnr
, within = .(us_valence)
, between = condition
, type = 3
, return_aov = TRUE )
ec.masked <- apa_print(ec.masked$aov)
#split also by group
ismasked_by_group <- split(ismasked$mask, f=ismasked$mask$condition)
ec.masked.v <- ezANOVA(data = ismasked_by_group$valence
, dv = rating
, wid = vpnr
, within = .(us_valence)
, type = 3
, return_aov = TRUE )
ec.masked.v <- apa_print(ec.masked.v$aov)
ec.masked.b <- ezANOVA(data = ismasked_by_group$brightness
, dv = rating
, wid = vpnr
, within = .(us_valence)
, type = 3
, return_aov = TRUE )
ec.masked.b <- apa_print(ec.masked.b$aov)
ismasked <- split(data.3[data.3$condition=='valence',], f = data.3[data.3$condition=='valence',]$masking)
duration.3v <- ismasked
ismasked <- split(data.3[data.3$condition=='brightness',], f = data.3[data.3$condition=='brightness',]$masking)
duration.3b <- ismasked
```
### Evaluative conditioning
Evaluative ratings were analyzed in an ANOVA with orienting task as between-participants factor, and with masking as well as US valence as repeated-measures factors.
The between-participants orienting-task factor was not significant and did not enter any interactions, $F \le 1.02$.
We obtained main effects of masking, `r ec.duration$full$masking`, and of US valence, `r ec.duration$full$us_valence`, as well as an interaction between them, `r ec.duration$full$us_valence_masking`.
The main effect of masking again reflected a preference for unmasked CSs ($M=`r ec.mean.me[1]`, SD=`r ec.sd.me[1]`$) over masked CSs ($M=`r ec.mean.me[2]`, SD=`r ec.sd.me[2]`$).
The main effect of US valence (i.e., the EC effect, reflecting more positive ratings for CSs paired with positive than with negative USs) was qualified by the interaction with masking:
As shown in Figure 1, an EC effect was obtained for unmasked CSs, `r ec.unmasked$full$us_valence`, but not for masked CSs, `r ec.masked$full$us_valence`.
The lack of an EC effect for masked CSs also holds when analyzed separately for the orientation task groups; valence: `r ec.masked.v$full$us_valence`; brightness: `r ec.masked.b$full$us_valence`.
```{r 'exp3_ec_by_identification', warning = FALSE}
data.3 <- subset(data.all.3, masking == "mask")
# classify CS as visible (identified in 1 or more cases) vs. not-visible (identified in 0 trials)
datvis.3 <- aggregate(data.3$vis.correct, by=list(data.3$vpnr, data.3$cs_wort), FUN=mean)
datvis.3$visible <- as.numeric(datvis.3$x != 0)
# match with full data file
data.3 <- merge(data.3, datvis.3, by.y = c("Group.1", "Group.2"), by.x=c("vpnr", "cs_wort"), all.y=TRUE)
csdata.agg <- aggregate(list(rating = data.3$rating)
, list(vpnr=data.3$vpnr
, usval=data.3$us_valence
, mvis=data.3$x
, group = data.3$condition
, visible = as.factor(data.3$visible))
, FUN= mean)
visdata.3 <- csdata.agg
csdata.agg <- aggregate(list(rating = data.3$rating)
, list(vpnr=data.3$vpnr
, cs_wort=data.3$cs_wort
, usval=as.factor(data.3$us_valence)
, mvis=data.3$x
, group = data.3$condition
, visible = as.factor(data.3$visible))
, FUN= mean)
visdata.3h <- csdata.agg
```
## Discussion
The brightness task was successful in inducing an EC effect for unmasked CSs.
We replicated the finding that EC does not occur under conditions of reduced CS identification:
Whereas EC was observed for unmasked stimuli, we did not find EC for masked stimuli.
The type of learning instruction did not matter: Identical patterns were obtained under both orientation conditions, suggesting that attention to the valence dimension is not required for EC to obtain.
This finding is consistent with previous findings suggesting that stimulus valence may be processed spontaneously [@olson_implicit_2009].
# Experiment 4
In Experiment 4, we attempted to further generalize the findings to the stimulus-strength manipulation used in Experiment 1, that is, by manipulating presentation duration instead of masking.
The CSs were presented either for 30, 50, or 100 ms, and all CSs were masked.
We also attempted to reduce the orienting task's potential for interference with EC:
By manipulating the presence versus absence of a response requirement in the orienting task, we investigated whether requiring an orienting response during learning disrupts EC in the present paradigm.
All participants were instructed to form an impression of the brightness of the stimuli, with one half reporting their impression after each trial, and the other half never being asked to report their impression.
```{r 'exp4_prepare', warning = FALSE, message = FALSE, echo=FALSE}
#read data
data.4 <- read.table(file="data/data.4.dat", header=T)
#factors: duration of CS (within) x US valence (within) x response on orienting task (between)
data.4$istmaskiert <- factor(data.4$istmaskiert, labels = c("30ms", "50ms", "100ms"))
data.4$uspositiv <- factor(data.4$uspositiv, labels = c("neg", "pos"))
#In this study, all participants were instructed to form an impression of the brightness
#of the stimuli, with one half indicating their impression after each trial, whereas
#the other half was never asked to indicate their impression.
data.4$group <- factor(data.4$group, labels = c("response", "noresponse"))
N.and.CS(data.4$vpnr, data.4$cs)
# ratings
dv <- data.frame(data.4$liking0, data.4$liking1, data.4$liking2)
#correlation of dependent variables
dv.cor <- cor(dv)
#how much variance is explained by one factor?
dv.eigen <- eigen(dv.cor)$values
dv.varexpl <- round(cumsum(dv.eigen/3) * 100, digits = 2)[1]
data.4$rating <- (data.4$liking0 + data.4$liking1 + data.4$liking2)/3
# visibility
data.4$vis.correct <- ifelse(data.4$sichtbar_response == data.4$cs, 1, 0)
# gather
data.all.4 <- data.frame(exp=4
, vpnr=data.4$vpnr
, condition=data.4$group
, cs_duration=data.4$istmaskiert
, masking="mask"
, us_valence=data.4$uspositiv
, cs_material="nonwords"
, cs_wort=data.4$wort
, rating=data.4$rating
, vis.correct=data.4$vis.correct
, chancelevel=1/24
, n=N_participants)
data.all <- rbind(data.all, data.all.4)
```
## Method
### Participants and design
For this study, $N=`r N_participants`$ participants were recruited from the same population who had not taken part in any of the other studies reported herein; participation was compensated by a small monetary amount or partial course credit.
We implemented a 2 (US valence: positive vs. negative) x 3 (CS duration: 30ms, 50ms, 100ms) x 2 (orienting response: present vs. absent) design with repeated measures on the first two factors.
Half of participants were randomly assigned to the orienting-response condition, the other half did not give responses in the brightness orienting task.
### Materials and procedure
The same nonwords (CSs) and IAPS pictures (USs) were used as in Experiments 1-3.
The same procedure was used as in Experiment 3, with the following exceptions:
First, all participants performed the brightness task, whereas only one half gave a brightness judgment after each trial, while the other half was instructed to perform but not to report any brightness judgments.
Second, CS stimuli were always masked.
As in Experiment 3, the CS identification task was administered to all participants.
Breaks were introduced after each block of 40 trials to allow participants to rest and to remind them of the brightness task.
^[Evaluative ratings were highly correlated ($`r min(dv.cor)`<r<`r max(dv.cor[dv.cor<1])`$), and an exploratory factor analysis yielded a single factor which explained $`r dv.varexpl`$ % of the variance.]
## Results
```{r 'exp4_mean_visibility', warning = FALSE, message = FALSE, echo=FALSE, cache=FALSE}
#mean and SD
data.4 <- subset(data.all.4, condition=='response')
visibility.4br <- tapply(data.4$vis.correct
, list(data.4$cs_duration)
, mean)
vis.sd.4br <- tapply(data.4$vis.correct
, list(data.4$cs_duration)
, sd)
data.4 <- subset(data.all.4, condition=='noresponse')
visibility.4bnr <- tapply(data.4$vis.correct
, list(data.4$cs_duration)
, mean)
vis.sd.4bnr <- tapply(data.4$vis.correct
, list(data.4$cs_duration)
, sd)
data.4 <- data.all.4
visibility.4 <- tapply(data.4$vis.correct
, list(data.4$cs_duration)
, mean)
visibility.sd.4 <- tapply(data.4$vis.correct
, list(data.4$cs_duration)
, sd)
#ANOVA with IV CS duration and orienting task
glm.mean.vis <- ezANOVA(data = data.4
, dv = vis.correct
, wid = vpnr
, within = .(cs_duration)
, between = condition
, type = 3
, return_aov = TRUE
, within_full = .(cs_duration, us_valence))
glm.mean.vis <- apa_print(glm.mean.vis$aov)
#t-Test for chance level
csdata.aggr <- aggregate(vis.correct~vpnr
, data=subset(data.4
, condition=='response'
& cs_duration=='30ms')
, FUN = "mean")
t.abovechance <- t.test(x = csdata.aggr$vis.correct, mu = 1/24)
t.abovechance.resp <- apa_print(t.abovechance)
csdata.aggr <- aggregate(vis.correct~vpnr
, data=subset(data.4
, condition=='noresponse'
& cs_duration=='30ms')
, FUN = "mean")
t.abovechance <- t.test(x = csdata.aggr$vis.correct, mu = 1/24)
t.abovechance.noresp <- apa_print(t.abovechance)
```
### CS identification
Participants' mean proportion of correctly identified CSs was analyzed in a CS duration (30, 50, 100 ms) by orienting response (present vs. absent) ANOVA with repeated measures on the first factor.
Results are depicted in Figure 2.
Mean CS identification was affected by duration, `r glm.mean.vis$full$cs_duration`, but not by orienting response, `r glm.mean.vis$full$condition`, nor their interaction, `r glm.mean.vis$full$condition_cs_duration`.
Masked CSs presented for 30ms were identified in less than one out of ten trials ($M=`r round(visibility.4[1],2)`, SD=`r round(visibility.sd.4[1],2)`$), reflecting above-chance (i.e., $1/24=`r 1/24`$) performance in both the response-present and response-absent groups, `r t.abovechance.resp$stat`, and `r t.abovechance.noresp$stat`, respectively.
The CSs presented for 50ms were identified in one out of four trials ($M=`r visibility.4[2]`, SD=`r visibility.sd.4[2]`$),
and those presented for 100 ms were identified in approximately four out of five trials ($M=`r visibility.4[3]`, SD=`r visibility.sd.4[3]`$).
```{r 'exp4_ec_by_presentation', warning = FALSE, message = FALSE, echo=FALSE}
#MEAN
ec.mean <- tapply(data.4$rating
, list(data.4$cs_duration, data.4$us_valence)
, mean)
ec.mean.me <- tapply(data.4$rating
, list(data.4$cs_duration)
, mean)
#STANDARD DEVIATION
ec.sd <- tapply(data.4$rating
, list(data.4$cs_duration, data.4$us_valence)
, sd)
ec.sd.me <- tapply(data.4$rating
, list(data.4$cs_duration)
, sd)
# anova
ec.duration <- ezANOVA(data = data.4
, dv = rating
, wid = vpnr
, within = .(us_valence, cs_duration)
, between = condition
, type = 3
, return_aov = TRUE )
ec.duration <- apa_print(ec.duration$aov)
#split by cs duration
ismasked <- split(data.4, f = data.4$cs_duration)
ec.30 <- ezANOVA(data = ismasked$'30ms'
, dv = rating
, wid = vpnr
, within = .(us_valence)
, between = condition
, type = 3
, return_aov = TRUE )
ec.30 <- apa_print(ec.30$aov)
ec.50 <- ezANOVA(data = ismasked$'50ms'
, dv = rating