-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAll_analysis.Rmd
2739 lines (1985 loc) · 118 KB
/
All_analysis.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
---
title: "Electronic Supplementary Material"
date: "2023-11-01"
output:
pdf_document:
latex_engine: xelatex
toc: yes
toc_depth: 2
header-includes:
- \usepackage{placeins}
---
```{r setup, echo = FALSE}
knitr::opts_chunk$set(echo = FALSE, message = FALSE, warning = FALSE, results = 'asis')
# Set options for kableExtra
options(knitr.table.format = "latex")
```
```{r libraries}
#Charge necessary libraries for this file
library(kableExtra) # for the HRAF table
library(tidyverse)
library(lme4)
library(lmerTest) # calculating p-values for LMER
library(jtools) # for export_summs function
library(effsize) # for Cohen's d
library(margins) # Marginal effect for Probit GLM
library(metafor) # Meta-analysis
library(ggh4x) # function faced_nested for meta-analysis plot
library(huxtable)
```
\newpage
The Electronic Supplementary Material include the materials used (section 1), information on the Ethnographical Review (section 2), provide pre-registered analysis not presented in the paper for concision (section 3), and provide all the regression table of the analysis presented in the paper both with and without controls (section 4). We also include exploratory analyses (section 5). This pdf file is generated using the RMarkdown file "All_analysis.Rmd". All scripts used for the data processing, the statistical analysis and for creating the figure can be found following this link: <https://osf.io/7qwt2/files/github?view_only=79e6023bddfc440d9e785d7db518b977>. Simply download the folder and run the Rmd file. Pre-registrations are available at this link: <https://osf.io/7qwt2/?view_only=79e6023bddfc440d9e785d7db518b977>.
# 1. Materials
Here, we present the pre-registered materials used.
## Insight Instruction
For the whodunits studies, we explained the concept of insight or "Aha experience" to the participants using this pre-tested wording. The instruction for the riddles studies are available in the main text.
*"We will present you with several short detective fictions. For each, we would like to know whether you experienced a feeling of insight.When solving a problem or reading something, a feeling of insight is a kind of “Aha!”(or Eureka !) characterized by suddenness, obviousness and often relief —like a revelation. By contrast, you experience no insight if the solution occurs to you slowly and stepwise.Insight is different from surprise because it leads you to revise how you perceived the situation, and to understand it better. We ask for your subjective rating whether it felt like an Aha! experience or not, there is no right or wrong answer. Just follow your intuition."*
## Questions asked
Participants were asked two questions to be answered on a scale from 1 to 7. First, to what extent they had experienced a feeling of insight: *"To what extent did you experience a feeling of"Aha!", as explained earlier, when you either found, or were given the correct answer?"*
Then, how likely they were to share the problem with another person: *"How likely would you be to share this brain teaser with other people?"*
Finally, participants were given the choice to see one more problem, similar to the ones they had seen, or to finish the experiment. We specified that they would be paid at the posted rate whether they decided to see a new problem or not: *"Thank you for your participation. We have more brain teasers to show you if you are interested! Would you like to see a new brain teaser? You will be paid at the posted rate whether you decide to see a new one or not. [Yes / No (end the survey)]"*
In study 4 and 5, we also asked participants how convincing they found the explanation on a 7 point scale: *“How convincing do you find this explanation?”*
## Materials for Study 1, 2 and 3
**High Insight Condition**
**01.** A man married 20 women in the town. He and the women are still alive, and he has had no divorces. He is not a bigamist and is not a Mormon and yet he broke no law. How is that possible? **Answer:** The man is a priest.
**02.** Denise is a pretty good tennis player. She made a bet that she could hit a regular tennis ball, send it flying off in the air, and after a bit, it would turn around 180 degrees and fly right back to her -- without making contact with any other object on its way. She won the bet. Explain how in a few sensible words. **Answer:** Denise shot the ball up in the air in a vertical line.
\
**03.** While walking on the newly paved black asphalt road to her home, Jen accidentally dropped her small black leather clutch. The lights on the new road had not been turned on yet, the moon was not out, and Jen did not have on her a flashlight, matches, mobile phone, or any other means of lighting. Explain briefly how Jen nonetheless saw her clutch immediately. **Answer:** It was daylight.
**Low Insight Condition (Study 1)**
**04.** Given a source of unlimited water and four containers of different capacities (99, 14, 25 and 11 L) obtain exactly 86 L of water. (L is the symbol for the Liter, a metric unit of volume equal to 0.26 gallons.) **Answer:** There are several answers. The easiest way is to pour the 25L containers into the 99L containers three times (75L), then add 11L with the corresponding containers.
**05.** Three cards from an ordinary deck are lying on a table, face down. The following information is known about those three cards:
To the left of a queen there is a jack
To the left of a spade there is a diamond
To the right of a heart there is a king
To the right of a king there is a spade
Can you assign the proper suit to each picture card? **Answer:** The left card is a jack of heart, the middle card is a King of diamond, the right card is a queen of spades.
**06.** In a (knock-out) tennis tournament there are 32 players. How many matches are there in the tournament? **Answer:** 31 matches.
**Low Insight Condition (Study 2 and 3)**
**07.** A man in town married 20 women in the town. He and the women are still alive, and he has had no divorces. How is that possible? **Answer**: The man is a polygamist or a priest.
**08.** Denise is a pretty good tennis player. She made a bet that she could hit a regular tennis ball, send it flying off in the air, and after a bit, it would turn around 180 degrees and fly right back to her.She won the bet. Explain how in a few sensible words. **Answer**: Denise shot the ball against a wall or other solid objects. Or, she may have shot the ball up in the air in a vertical line.
**09.** While walking on the newly paved black asphalt road to her home during the night, Jen accidentally dropped her small black leather clutch. Explain briefly how Jen saw her clutch immediately. **Answer:** She saw her clutch thanks to the moonlight or some other source of light.
## Materials for Study 4 and 5
### Cocktail
It's the beginning of a very hot summer, and Claire has just broken up with her boyfriend. They had been together for a very long time, and he took it really hard, becoming nearly abusive. To find a distraction, Claire invited Juliana, her best friend, to go out for drinks together. Juliana insisted on going to the blue lagoon, because they serve delicious, ice cold cocktails here.
At the blue lagoon, they ordered one large drink to be shared between the two of them. The waiter brought up a small pitcher, put two straws in, and served it to the women. Juliana, as usual, finished her half of the drink very quickly. Claire, by contrast, nearly always sips her drink slowly, and this time was no exception, it was a good half hour later that she had finished the rest of the pitcher.
Shortly after she\'d finished the drink, Claire started complaining of stomach pain. Julianna called an ambulance. Claire died one hour after arriving at the hospital, where the doctors said that she had been poisoned. Juliana also felt slightly sick, but nothing serious happened to her.
After the waiter had brought the drink to their table, no one had gone anywhere near them. On that evening, the bartender was the only one who had access to the drink preparation area, while the waiter was the only one to have access to the drinks after they had been prepared. Both the bartender and the waiter are natural suspects since they were both friends with Claire\'s ex-boyfriend, who was known to be very jealous and vindictive.
For the first couple of days, the police can\'t figure out what happened. A few days later, new information has come to light, and you read in a newspaper a journalist writing:
**High-insight resolution:**
\"Both the bartender and the waiter might have conspired with the ex-boyfriend to poison Claire. The poison is unlikely to have been in one of the straws, since they could not have known which straw Claire would use. However, Claire\'s ex-boyfriend knew that she typically slowly sips her drink, while her friend Juliana drinks very quickly. As a result, a way of poisoning Claire and not Juliana was to put poison in the ice, which would be slowly released in the water. This way, only Claire would be poisoned, and not Juliana. Since the bartender is the one who put the ice in the pitcher, it must be him who poisoned Claire.\"
**Low-insight resolution:**
\"The police found deleted text messages between the bartender and Claire\'s ex-boyfriend, in which they plotted her poisoning. Questioning relatives of the bartender and of Claire\'s ex-boyfriend confirmed that they were planning something against Claire. On several occasions, they talked about \"taking care\" by \"any means\" of Claire. The police profilers also established that Claire's ex-boyfriend was a manipulative person. The bartender is known by police services for previous cases of violence and harassment. Confronted with this evidence, the bartender confessed. It must be him who poisoned Claire.\"
### Chocolate
Sir William, a wealthy middle-aged man in the midst of a bitter divorce, receives at his club a box of chocolates, delivered by an anonymous courier. He has no idea where the chocolates came from, and is all the more surprised that he really doesn't like chocolate. As he looks for someone to give the chocolates to, he turns to his chubby friend at the club, Mr. Beresford. Sir William tells him:
You mentioned that you were looking for a small gift for your wife, so I'd happily give you those, are you interested?
Mr. Beresford replies:
if you'd asked me that last week, I would have said, absolutely not, as my wife was until then on a strict no sugar diet. Fortunately, she's done with that, and we can enjoy delicacies together again. So if you absolutely don't want the chocolate box, I'd happily take it off you!
As a result, Sir Williams gives Mr. Beresford the chocolate box.
Mr. Beresford goes home and, after dinner, he gives his wife the chocolates, and they enjoy a few together while watching a movie. During the night, they both feel sick, and Mr. Beresford manages to call an ambulance. Tragically, Mrs. Beresford dies on the way to the hospital, while Mr. Beresford is severely sick but survives after days of treatment.
The police establish that the death of Mrs. Beresford, and the sickness of her husband, is due to the chocolates, which had been poisoned with nitrobenzene. Given the average dose of nitrobenzene in a chocolate, six chocolates would have been enough to kill an adult. Mrs. Beresford ate a dozen chocolates, while her husband ate only two, which saved his life. Police traced the chocolates back to the small, luxury Maison Fauchon chocolate company that made them. It turns out that Sir William's box of chocolates was part of a special request from an unknown customer. The delivery man from the Maison Fauchon remembered the order, because he had been specifically instructed to leave the chocolate box in a park bench, which he thought was weird, given that these are expensive chocolates.
The police weren't able to prove anyone's guilt at first, when Mr. Beresford started making some strong accusations. He said that after his wife's death, he found proof that she had been having a passionate affair with Sir William. Looking at the evidence, the police confirmed that this was the case, and they also found, in secret texts that no one had access to, that she had put a stop to the affair two weeks before her death, and that she and Sir William had had no contact since. Mr. Beresford then accused Sir Willam of poisoning his wife, so the affair wouldn't come out, as the latter would then be sure to lose most of his fortune in the divorce proceedings. According to Mr. Beresford, Sir William ordered the chocolates, poisoned them, and then paid a henchman to deliver them to the club. He then found an excuse to give them to someone else, making it look like he was the intended victim.
In spite of these accusations, the police end up arresting Mr. Beresford. Here's the reasoning of the detective behind the arrest:
**High Insight:**
"Mr. Beresford was already aware of the affair, and he thought of a plan to get rid of both his wife and her lover, while making it very unlikely he would be suspected. He ordered the chocolates, poisoned them, and paid a henchman to deliver them to the club. Knowing that Sir William doesn't like chocolate, he mentioned that he had to find a small gift for his wife, making it natural for Sir William to offer him the chocolates. He was then careful to only eat a few chocolates--even though he would usually have eaten most of the box. If his plan worked well, his wife would die, and Sir William would go to jail for a long time.
Even though both Mr. Beresford and Sir William had a motive, we can tell that Mr. Beresford is the culprit because he was the only one to know that his wife had stopped her diet, and so would eat the chocolates. Since Mrs. Beresford had put an end to this diet a week after she put an end to the affair with Sir William, and they had had no contact since, there was no way for him to know, and thus he would never have planned to poison her with chocolates.
Therefore, Mr. Beresford is the one who killed his wife."
**Low insight:**
"Sir William had to go on an unexpected business trip abroad, and he had just come back on the day of the death. They also found no way for him to have communicated with someone who could have acted for him. That means that he had no opportunity to get the chocolates and poison them.
As we interrogated Mr. Beresford, we found that his behavior during the questioning was suspicious. As a result, we pushed him harder, trying to catch him being inconsistent. After several hours of questioning, he ended up admitting that he was the culprit. He ordered the chocolates to kill his unfaithful wife and have her lover accused and sent to jail. He also told us where to find in his house the bill for the chocolates. We also discovered that Mr. Beresford had accumulated a lot of debt and that his wife's life insurance allowed him to pay it off.
Therefore, Mr. Beresford is the one who killed his wife."
### Nightmare
The old billionaire Edward Conway has invited the famous detective Richard Burton to his home. Mr. Conway lives in an isolated mansion. When he arrives, Burton sees three workers moving rubble in front of the house. On the steps, the butler, Murray, opens the door and explains that the house is being renovated. He apologizes for the inconvenience, and Burton shows him the invitation he received from Mr. Conway.
Murray informs Burton that it is standard procedure to introduce visitors first to the office of the secretary who notifies Mr. Conway of their visit, and he brings Burton to the secretary's office. Burton knocks on the door and an authoritative voice tells him to enter. Once inside, a tall, austere, bespectacled man greets the detective, coldly. It is not the secretary who is there, but Mr. Conway. He explains to Burton that he is using his secretary's office because there is currently work going on in his own office, and asks him to sit. Burton does so, facing a large window, where a strong sun is setting.
For several weeks he has been having the same dream, Mr. Conway says. In this nightmare, he is killing himself in front of his office window with the gun he keeps in his drawer. Not being suicidal, Mr. Conway asks Burton if he has ever encountered cases of murder by suggestion. Mr. Conway wonders if someone could use hypnosis to drive him to suicide by making him dream of ending his life, although he does not remember being hypnotized. He mentions a number of business rivals whom he ruined, and who might want to seek revenge in this perverted manner.
Burton is taken aback because he has never encountered such a case and admits that he's not sure whether he can help Mr. Conway. Mr. Conway then dismisses the detective, and asks him to give back the invitation, as he wants to keep this meeting discreet. However, once Burton is in the hallway, he realizes that he has actually given another letter, addressed to a colleague. Therefore, he goes back to the office, gives the right letter to Mr. Conway, apologizes and goes home.
A week later, Mr. Conway is found dead by apparent suicide. On the same day, the police called Burton to the scene because his letter of invitation had been found on Mr. Conway's table. Once he gets there, he notices that the work is finished, and that the workers have done a good job cleaning up, except for a few pieces of glass on the landing of the house that his experienced eye can't help but notice. Mr. Conway used to water the plants on his windowsill at 1 p.m. sharp every day, and the plants had been watered. Therefore, Mr. Conway's time of death is most likely after 1 p.m. In the house, in addition to the police, are Mr. Conway's widow, and his daughter from a previous marriage, as well as the butler Murray, the cleaning lady Miss Hurtigan and his secretary Mr. Fisher.
Burton first tells the police the contents of his conversation with Mr. Conway. Mr. Conway's widow confirms that her husband had been preoccupied in recent weeks by recurring dreams of suicide. The detective is then introduced to Mr. Conway's office, which is next to his secretary's, entering through a large carved door. Mr. Conway's body is lying in front of his open window, holding a revolver in his hand, dead from a bullet to the head. The body was discovered by Mr. Fisher, who had come to bring him a briefcase of documents, followed a few seconds later by Murray, who was alerted by Mr. Fisher's cry. The body is not wearing glasses, which is strange because Mr. Conway, being extremely short-sighted, rarely took off his glasses. This absence of glasses is all the more puzzling because Mr. Conway had a spare pair in case he lost the first one.
None of the workers heard the shot, which is probably due to them wearing noise-canceling headphones, the noise of the work, and the heavy door of Mr. Conway office. Despite the back and forth of the workers in front of Conway's office, no one saw anyone enter Mr. Conway's office--except Mr. Conway himself earlier in the morning. For most of the day of the shooting, Betsy Conway and Miss. Conway said they were either in another aisle, as the work near Mr. Conway's office was quite noisy. Mr. Conway has kept working there, thanks to the heavy insulation of his office. Fisher, Murray and Hurtigan, to be able to keep working, had borrowed noise-canceling headphones from the workers and continued their tasks as usual. As a result, no one seems to have heard the gunshot.
Mr. Conway's daughter and widow each inherit half of the deceased's considerable fortune. They do not seem particularly distraught, possibly because Mr. Conway was notorious for his bad temper.
A few days later, Burton contacted the police and told them the following:
**High Insight**
"The individual I met a week ago was not Mr. Conway, but his secretary Mr. Fisher, disguised and wearing makeup. It couldn't have been Murray, since he was the one who brought me into the office. Moreover, who else could have used Mr. Fisher's office, knowing that he works there every day. I could not notice the deception because I was partially blinded by the light of the setting sun.
Mr. Fisher dressed up as Edward Conway, welcomed me into the secretary's office, knowing that the real Mr. Conway would probably be in his own office. Mr. Conway could not hear our conversation because his office is so well insulated. Moreover, Mr. Fisher, having put on Mr. Conway's second pair of glasses, which were unsuitable for his eyesight, did not realize that I had handed him the wrong letter at the end of our interview.
Speaking of this letter, Mr. Fisher has asked me to give it to him before I left, so that the police would find it in Mr. Conway's belongings, interview me, and I would tell this made up story of premonitory dreams, confirming the apparent suicide. The real Mr. Conway would not have kept the letter on his desk for a week, he would have destroyed the letter so that people would not know about our appointment. Mr. Fisher then shot Mr. Conway from his office window, as Mr. Conway was watering the plants.
Mr. Conway's glasses fell outside on the landing of the house and shattered there. Later in the day, Mr. Fisher retrieved the frames, but did not diligently clean up the broken glass. Before Murray arrived, Mr. Fisher put the gun hidden in his briefcase into Mr. Conway's hands. I suspect that Mr. Fisher set it up with the help of Mrs. Conway, the only one to have heard of this whimsical story of dreams. Unable to disguise herself as Mr. Conway to deceive me, Mrs. Conway had to offer Mr. Fisher part of the inheritance in exchange for his help in killing her husband.
Therefore, I accuse Harry Fisher and Betsy Conway of killing Mr. Conway."
**Low Insight**
"I have scrupulously checked the alibi of each of the protagonists. On the day of the murder Murray was working in the basement, he could not tell us at first, but he was accompanied but Miss Hurtigan. The two have a secret relationship that could have gotten them fired if the Conway family found out, since such relationships are prohibited in their employment contracts. Faced with my pressing questions, they finally confessed the truth.
With the help of my partners, I tailed the three remaining suspects for several days. I noticed several meetings between Mr. Fisher and Betsy Conway, the widow. I was even able to take pictures of the two of them kissing furtively at a coffee shop. Not only that, but I also spoke with relatives of Mr. Fisher, who testified that he had told them to be that "he was about to hit it big" and that "his life wouldn't be the same". Furthermore, I was subsequently contacted by Miss Conway, the daughter of the deceased, who gave me audio recordings she had made of Mr. Fisher and Mrs. Conway explicitly planning the murder of Mr. Conway.
The forensic analysis did not find any gunshot residue on Mr. Conway's temple consistent, which is inconsistent with a suicide. Finally, the scientific department thought of gathering the fingerprints on the revolver found at the crime scene, but not on the bullets loaded into it. I therefore suggested to the detectives that they also gather fingerprints on the bullets. It turns out that Mr. Fisher had wiped his fingerprints off the revolver, but had forgotten to do the same with the bullets he put in the cylinder.
Therefore, I accuse Mr. Fisher and Betsy Conway of killing Mr. Conway."
# 2. Ethnographic Review
Nowadays, riddles have lost their once prominent place in the playground to other more attractive cultural products. Nevertheless, we still have the trace of what the children's folklore looked like in the 1960s thanks to the work of the Opie couple. As it is possible that Opie & Opie has put forward an idiosyncratic cultural practice, we conducted a search in the Human Relations Area Files anthropological database (eHRAF: World Cultures database) to see if there were any traces of riddles outside of the Anglo-Saxon culture. We searched for the words "riddle", "enigma", "puzzle" and "conundrum" in July 2022. Unfortunately, it is common for researchers to refer to something they do not understand as a riddle, a puzzle or an enigma which makes it difficult to detect ethnographic reports on these cultural practices. Therefore, we restricted our search to the paragraphs already coded in the "Game" category. This research allowed us to identify 43 cultures where the practice of riddles is common.
The majority of the identified cultural groups are in Africa (N = 16) and in Asia (N = 13). For instance, the Maasai people have a riddle saying "I have two skins, one to lie on and the other to cover myself with. What are they?" (Hollis, 1905). The answer "the bare ground and the sky" showed a typical reconstruction of the mental representation of "skin" similar to what we can find in insight problems. Riddles were found in other continents and areas such as Europe (N = 2), Middle East (N = 1), Middle America & the Caribbean (N = 5), North America (N = 4), South America (N = 1) and Oceania (N = 1).
To control for the possibility that this cultural practice was culturally transmitted from one or several common sources, we make use of the Probability Sample Files (PSF). The PSF is a subset of 60 unrelated culture, largely preindustrial, that meet certain data quality controls. One culture is randomly chosen from each culture area.(For more information see: <https://hraf.yale.edu/resources/reference/probability-sample-files-psf/>). 18 out of 60 cultures had records of riddles.
```{r displaying HRAF data}
hraf_d = read.csv("data/hraf_data.csv")
hraf_d[, 1:5] %>%
kable("latex", booktabs = TRUE, longtable = TRUE, caption = "HRAF survey of ethnographics records of culture.") %>%
column_spec(1, width = "3cm") %>%
column_spec(2, width = "5cm") %>%
column_spec(4, width = "3cm") %>%
kable_styling(latex_options = c("striped", "repeat_header", "hold_position"))
```
# 3. Pre-registered analysis not presented
As pre-registered, we conducted a within participants analysis at the level of the problem to test the following hypothesis.
**H1.3**: Within each condition, participants will be more willing to share a problem for which they had a higher insight.
## Study 1
```{r S1 pre-processing}
#Charge the dataset
data_1 = read.csv("data/studies/exp_1.csv")
demo_1 = read.csv("data/studies/demographics_1.csv")
#As preregistred, exclude participants that do not understand the Aha experience
data_1 = data_1 %>% filter(Q4.2_understanding == "1" )
#Create a binary variable for actual_consumption (1 if participants continue the xp, 0 otherwise)
data_1$implicit_motivation[data_1$implicit_motivation == "2"] = "0"
data_1$actual_consumption = as.numeric(data_1$implicit_motivation)
#Create a variable for the mean insight
df_insight = data_1 %>%
select(ends_with("insight") | ResponseId)
df_insight[,1:6] = sapply(df_insight[,1:6],as.numeric)
df_insight[is.na(df_insight)] = 0
df_insight = df_insight %>%
group_by(ResponseId) %>%
mutate(insight_mean = (X11_insight + X12_insight + X15_insight + X14_insight + X16_insight + X40_insight) / 3)
data_1$insight_mean = df_insight$insight_mean
#Create a variable for the mean sharing
df_sharing = data_1 %>%
select(ends_with("sharing") | ResponseId)
df_sharing[,1:6] = sapply(df_sharing[,1:6],as.numeric)
df_sharing[is.na(df_sharing)] = 0
df_sharing = df_sharing %>%
mutate(sharing_mean = (X11_sharing + X12_sharing + X15_sharing + X14_sharing
+ X16_sharing + X40_sharing) / 3)
data_1$sharing_mean = df_sharing$sharing_mean
#Create of the ability variable
df_ability = data_1 %>%
select(ends_with("solved") | ResponseId)
df_ability[,1:6] = sapply(df_ability[,1:6],as.numeric)
df_ability[is.na(df_ability)] = 0
# Only 1 correspond to the solved problem.
df_ability[df_ability == 2] = 0
df_ability[df_ability == 3] = 0
df_ability = df_ability %>%
group_by(ResponseId) %>%
mutate(ability = (X11_solved + X12_solved + X15_solved + X14_solved
+ X16_solved + X40_solved))
data_1$ability = df_ability$ability
#Creation of the "not_understood" variable
df_underst = data_1 %>%
select(ends_with("solved") | ResponseId)
df_underst[,1:6] = sapply(df_underst[,1:6],as.numeric)
df_underst[is.na(df_underst)] = 0
df_underst[df_underst== 1] = 0
df_underst[df_underst== 2] = 0
df_underst[df_underst== 3] = 1
df_underst = df_underst %>%
group_by(ResponseId) %>%
mutate(not_understood = (X11_solved + X12_solved + X15_solved + X14_solved
+ X16_solved + X40_solved))
data_1$not_understood = df_underst$not_understood
# creation of the time variable
df_time = data_1 %>%
select(ends_with("Page.Submit") | ResponseId)
df_time[,1:6] = sapply(df_time[,1:6],as.numeric)
df_time[is.na(df_time)] = 0
df_time = df_time %>%
mutate(mean_RT = rowSums(df_time[,1:6], na.rm = FALSE))
#mean_RT is transformed in log
df_time = df_time %>%
mutate(mean_RT = (mean_RT/3)) %>%
mutate(mean_RT = log(mean_RT))
#we correct for inconsistent naming
df_time = rename(df_time,
X11_time_Page.Submit = X11_Q5.1_Page.Submit,
X12_time_Page.Submit = X12_Q5.1_Page.Submit,
X15_time_Page.Submit = X15_Q5.1_Page.Submit
)
data_1$mean_RT = df_time$mean_RT
# creation of the panel data for the LMM:
df_sharing$condition = data_1$condition
pdata_1 = merge(df_sharing, df_insight, by = "ResponseId")
pdata_1 = merge(pdata_1, df_ability, by = "ResponseId")
pdata_1 = merge(pdata_1, df_time, by = "ResponseId")
data_long1 = pdata_1 %>%
pivot_longer(cols = c(ends_with("sharing"), ends_with("insight"), ends_with("solved"), ends_with("Page.Submit")),
names_to = c("stumpers", ".value"),
names_sep = "_")
#Because we used pivot_longer with a between participants conditions, data points were created for the two conditions for each participants,
#introducing 0's for the condition where the participant did not take part. We exclude these data points:
data_long1 = data_long1 %>%
filter(insight != 0)
#Since ability also include the problem, we construct ability_others corresponding to the score of the participant on the two others problems.
data_long1 = data_long1 %>%
mutate(ability_other = ability - solved)
data_High1 = data_long1 %>%
filter(condition == 1)
data_Low1 = data_long1 %>%
filter(condition == 0)
#for the description of participants
demo_1 = demo_1 %>%
filter(Sex != "CONSENT REVOKED")
demo_1$PROLIFIC_PID = demo_1$participant_id
data_1 = merge(x = data_1, y = demo_1, by = "PROLIFIC_PID", all.x = TRUE)
```
```{r S1 H1.3, echo = TRUE}
S1_h13_1 = lmer(scale(sharing) ~ scale(insight) + factor(solved) + factor(ability_other)
+ log(time) + (1 + insight |ResponseId) + (1 |stumpers),
data = data_High1, control = lmerControl(
optimizer ="bobyqa"
))
S1_h13_2 = lmer(scale(sharing) ~ scale(insight) + factor(solved) + factor(ability_other)
+ log(time) + (1 + insight |ResponseId) + (1 |stumpers),
data = data_Low1, control = lmerControl(
optimizer ="bobyqa"
))
```
```{r}
export_summs(S1_h13_1, S1_h13_2, robust = c("HC1", "HC1"),
model.names = c("Will. to Share High Insight Condition", "Will. to Share Low Insight Condition"), digits = 4,
statistics = c(N = "nobs", AIC = "AIC", BIC = "BIC"),
coefs = c("Intercept" = "(Intercept)", "Reported Insight" = "scale(insight)", "Problem Solved" = "factor(solved)1", "1 other problem solved vs. 0" = "factor(ability_other)1", "2 other problems solved vs. 0" = "factor(ability_other)2", "Time spent" = "log(time)")) %>% set_caption("Study 1: Willingness to share as a function of Insight within each condition")
```
\FloatBarrier
## Study 2
```{r S2 pre-processing}
data_2 = read.csv("data/studies/exp_2.csv", sep = ";")
demo_2 = read.csv("data/studies/demographics_2.csv")
data_2 = data_2 %>%
filter(Q4.2_understanding == "1" )
data_2$implicit_motivation[data_2$implicit_motivation == "2"] = "0"
data_2$actual_consumption = as.numeric(data_2$implicit_motivation)
# create a variable for the mean insight
df_insight = data_2 %>%
select(ends_with("insight") | ResponseId)
df_insight[,1:6] = sapply(df_insight[,1:6],as.numeric)
df_insight[is.na(df_insight)] = 0
df_insight = df_insight %>%
group_by(ResponseId) %>%
mutate(insight_mean = (X1_insight + X2_insight + X3_insight + X4_insight + X5_insight + X6_insight) / 3)
data_2$insight_mean = df_insight$insight_mean
# create a variable for the mean sharing
df_sharing = data_2 %>%
select(ends_with("sharing") | ResponseId)
df_sharing[,1:6] = sapply(df_sharing[,1:6],as.numeric)
df_sharing[is.na(df_sharing)] = 0
df_sharing = df_sharing %>%
mutate(sharing_mean = (X1_sharing + X2_sharing + X3_sharing + X4_sharing
+ X5_sharing + X6_sharing) / 3)
data_2$sharing_mean = df_sharing$sharing_mean
#creation of the ability variable
df_ability = data_2 %>%
select(ends_with("solved") | ResponseId)
df_ability[,1:6] = sapply(df_ability[,1:6],as.numeric)
df_ability[is.na(df_ability)] = 0
# only 1 correspond to the solved problem -> we assume that the persons did answer honestly
# a random verification have been completed
df_ability[df_ability == 2] = 0
df_ability[df_ability == 3] = 0
df_ability = df_ability %>%
group_by(ResponseId) %>%
mutate(ability = (X1_solved + X2_solved + X3_solved + X4_solved
+ X5_solved + X6_solved))
data_2$ability = df_ability$ability
#creation of the "not_understood" variable
df_underst = data_2 %>%
select(ends_with("solved") | ResponseId)
df_underst[,1:6] = sapply(df_underst[,1:6],as.numeric)
df_underst[is.na(df_underst)] = 0
# only 1 correspond to the solved problem -> we randomly verified that participants did not lie.
df_underst[df_underst== 1] = 0
df_underst[df_underst== 2] = 0
df_underst[df_underst== 3] = 1
df_underst = df_underst %>%
group_by(ResponseId) %>%
mutate(not_understood = (X1_solved + X2_solved + X3_solved + X4_solved
+ X5_solved + X6_solved))
data_2$not_understood = df_underst$not_understood
# creation of the time variable
df_time = data_2 %>%
select(ends_with("Page.Submit") | ResponseId)
df_time[,1:6] = sapply(df_time[,1:6],as.numeric)
df_time[is.na(df_time)] = 0
df_time = df_time %>%
mutate(mean_RT = rowSums(df_time[,1:6], na.rm = FALSE))
df_time = df_time %>%
mutate(mean_RT = (mean_RT/3)) %>%
mutate(mean_RT = log(mean_RT))
data_2$mean_RT = df_time$mean_RT
# creation of the panel data_2 for the LMM:
df_sharing$condition = data_2$condition
pdata_2 = merge(df_sharing, df_insight, by = "ResponseId")
pdata_2 = merge(pdata_2, df_ability, by = "ResponseId")
pdata_2 = merge(pdata_2, df_time, by = "ResponseId")
data_long2 = pdata_2 %>%
pivot_longer(cols = c(ends_with("sharing"), ends_with("insight"), ends_with("solved"), ends_with("Page.Submit")),
names_to = c("stumpers", ".value"),
names_sep = "_")
data_long2 = data_long2 %>%
filter(insight != 0)
data_long2 = data_long2 %>%
mutate(ability_other = ability - solved)
data_High2 = data_long2 %>%
filter(condition == 1)
data_Low2 = data_long2 %>%
filter(condition == 0)
demographics = demo_2 %>%
filter(Sex != "CONSENT REVOKED")
demographics$PROLIFIC_PID = demographics$participant_id
data_2 = merge(x = data_2, y = demographics, by = "PROLIFIC_PID", all.x = TRUE)
```
```{r S2 H1.3, echo = TRUE}
S2_h13_1 = lmer(scale(sharing) ~ scale(insight)
+ factor(solved) + factor(ability_other) + log(time)
+ (1 + insight |ResponseId) + (1 |stumpers),
data = data_High2, control = lmerControl(
optimizer ="bobyqa"
))
S2_h13_2 = lmer(scale(sharing) ~ scale(insight)
+ factor(solved) + factor(ability_other)
+ log(time) + (1 + insight |ResponseId) + (1 |stumpers),
data = data_Low2, control = lmerControl(
optimizer ="bobyqa"
))
```
```{r, results='hold'}
export_summs(S2_h13_1, S2_h13_2, robust = c("HC1", "HC1"),
model.names = c("Will. to Share High Insight Condition", "Will. to Share Low Insight Condition"), digits = 4,
statistics = c(N = "nobs", AIC = "AIC", BIC = "BIC"),
coefs = c("Intercept" = "(Intercept)", "Reported Insight" = "scale(insight)", "Problem Solved" = "factor(solved)1", "1 other problem solved vs? 0" = "factor(ability_other)1", "2 other problems solved vs. 0" = "factor(ability_other)2", "Time spent" = "log(time)")) %>% set_caption("Study 2: Willingness to share as a function of Insight, within each condition")
```
\FloatBarrier
## Study 3
```{r pre-processing S3}
data_3 = read.csv("data/studies/exp_3.csv")
demo_3 = read.csv("data/studies/demographics_3.csv")
data_3 = data_3 %>%
filter(Q4.2_understanding == "1" )
data_3$implicit_motivation[data_3$implicit_motivation == "2"] = "0"
data_3$actual_consumption = as.numeric(data_3$implicit_motivation)
#there is one NA that correspond to a participant that continued the study:
#probably a bug:
data_3$actual_consumption[is.na(data_3$actual_consumption)] = 1
# create a variable for the mean insight
df_insight = data_3 %>%
select(ends_with("insight") | ResponseId)
df_insight[,1:6] = sapply(df_insight[,1:6],as.numeric)
df_insight[is.na(df_insight)] = 0
df_insight = df_insight %>%
group_by(ResponseId) %>%
mutate(insight_mean = (X1_insight + X2_insight + X3_insight + X4_insight + X5_insight + X6_insight) / 3)
data_3$insight_mean = df_insight$insight_mean
# create a variable for the mean sharing
df_sharing = data_3 %>%
select(ends_with("sharing") | ResponseId)
df_sharing[,1:6] = sapply(df_sharing[,1:6],as.numeric)
df_sharing[is.na(df_sharing)] = 0
df_sharing = df_sharing %>%
mutate(sharing_mean = (X1_sharing + X2_sharing + X3_sharing + X4_sharing
+ X5_sharing + X6_sharing) / 3)
data_3$sharing_mean = df_sharing$sharing_mean
#creation of the ability variable
df_ability = data_3 %>%
select(ends_with("solved") | ResponseId)
df_ability[,1:6] = sapply(df_ability[,1:6],as.numeric)
df_ability[is.na(df_ability)] = 0
# only 1 correspond to the solved problem -> we assume that the persons did answer honestly
# a random verification has been completed
df_ability[df_ability == 2] = 0
df_ability[df_ability == 3] = 0
df_ability = df_ability %>%
group_by(ResponseId) %>%
mutate(ability = (X1_solved + X2_solved + X3_solved + X4_solved
+ X5_solved + X6_solved))
data_3$ability = df_ability$ability
#creation of the "not_understood" variable
df_underst = data_3 %>%
select(ends_with("solved") | ResponseId)
df_underst[,1:6] = sapply(df_underst[,1:6],as.numeric)
df_underst[is.na(df_underst)] = 0
# only 1 correspond to the solved problem -> we randomly verified that participants did not lie.
df_underst[df_underst== 1] = 0
df_underst[df_underst== 2] = 0
df_underst[df_underst== 3] = 1
df_underst = df_underst %>%
group_by(ResponseId) %>%
mutate(not_understood = (X1_solved + X2_solved + X3_solved + X4_solved
+ X5_solved + X6_solved))
data_3$not_understood = df_underst$not_understood
# creation of the time variable
df_time = data_3 %>%
select(ends_with("Page.Submit") | ResponseId)
df_time[,1:6] = sapply(df_time[,1:6],as.numeric)
df_time[is.na(df_time)] = 0
df_time = df_time %>%
mutate(mean_RT = rowSums(df_time[,1:6], na.rm = FALSE))
df_time = df_time %>%
mutate(mean_RT = (mean_RT/3)) %>%
mutate(mean_RT = log(mean_RT))
data_3$mean_RT = df_time$mean_RT
# Creation of the Consume variable
df_consume = data_3 %>%
select(ends_with("consume") | ResponseId)
df_consume[,1:6] = sapply(df_consume[,1:6],as.numeric)
df_consume[is.na(df_consume)] = 0
df_consume = df_consume %>%
mutate(consume_mean = (X1_consume + X2_consume + X3_consume + X4_consume
+ X5_consume + X6_consume) / 3)
data_3$consume_mean = df_consume$consume_mean
# creation of the panel data_3 for the LMM:
df_sharing$condition = data_3$condition
pdata_3 = merge(df_sharing, df_insight, by = "ResponseId")
pdata_3 = merge(pdata_3, df_ability, by = "ResponseId")
pdata_3 = merge(pdata_3, df_time, by = "ResponseId")
pdata_3 = merge(pdata_3, df_consume, by = "ResponseId")
data_long3 = pdata_3 %>%
pivot_longer(cols = c(ends_with("sharing"), ends_with("insight"), ends_with("solved"), ends_with("consume"), ends_with("Page.Submit")),
names_to = c("stumpers", ".value"),
names_sep = "_")
data_long3 = data_long3 %>%
filter(insight != 0)
data_long3 = data_long3 %>%
mutate(ability_other = ability - solved)
data_High3 = data_long3 %>%
filter(condition == 1)
data_Low3 = data_long3 %>%
filter(condition == 0)
demographics = demo_3 %>%
filter(Sex != "CONSENT REVOKED")
demographics$PROLIFIC_PID = demographics$Participant.id
data_3 = merge(x = data_3, y = demographics, by = "PROLIFIC_PID", all.x = TRUE)
```
```{r S3 H1.3, echo = TRUE}
S3_h13_1 = lmer(scale(sharing) ~ scale(insight)
+ factor(solved) + factor(ability_other) + log(time)
+ (1 + insight |ResponseId) + (1 |stumpers),
data = data_High3, control = lmerControl(
optimizer ="bobyqa"
))
S3_h13_2 = lmer(scale(sharing) ~ scale(insight)
+ factor(solved) + factor(ability_other) + log(time)
+ (1 + insight |ResponseId) + (1 |stumpers),
data = data_Low3, control = lmerControl(
optimizer ="bobyqa"
))
```
```{r, results='hold'}
export_summs(S3_h13_1, S3_h13_2, robust = c("HC1", "HC1"),
model.names = c("Will. to Share High Insight Condition", "Will. to Share Low Insight Condition"), digits = 4,
statistics = c(N = "nobs", AIC = "AIC", BIC = "BIC"),
coefs = c("Intercept" = "(Intercept)", "Reported Insight" = "scale(insight)", "Problem Solved" = "factor(solved)1", "1 other problem solved vs. 0" = "factor(ability_other)1", "2 other problems solved vs. 0" = "factor(ability_other)2", "Time spent" = "log(time)")) %>% set_caption("Study 3: Willingness to share as a function of insight, within each condition")
```
\FloatBarrier
In study 3, we also measured the willingness to consume with a question after each problem. We pre-registered that: **H3.3**: Within each condition, participants will be more willing to consume a problem for which they had a higher insight.
```{r S3 H3.3, echo = TRUE}
S3_h33_1 = lmer(scale(consume) ~ scale(insight)
+ factor(solved) + factor(ability_other) + log(time)
+ (1 + insight |ResponseId) + (1 |stumpers),
data = data_High3, control = lmerControl(
optimizer ="bobyqa"
))
S3_h33_2 = lmer(scale(consume) ~ scale(insight)
+ factor(solved) + factor(ability_other) + log(time)
+ (1 + insight |ResponseId) + (1 |stumpers),
data = data_Low3, control = lmerControl(
optimizer ="bobyqa"
))
```
```{r, results='hold'}
export_summs(S3_h33_1, S3_h33_2, robust = c("HC1", "HC1"),
model.names = c("Will. to Consume High Insight Condition", "Will. to Consume Low Insight Condition"), digits = 4,
statistics = c(N = "nobs", AIC = "AIC", BIC = "BIC"),
coefs = c("Intercept" = "(Intercept)", "Reported Insight" = "scale(insight)", "Problem Solved" = "factor(solved)1", "1 other problem solved vs. 0" = "factor(ability_other)1", "2 other problems solved vs. 0" = "factor(ability_other)2", "Time spent" = "log(time)")) %>% set_caption("Study 3: Willingness to Consume as a function of insight, within each condition")
```
\FloatBarrier
# 4. Main Analysis
We now turn to the regression tables of all hypothesis. The code to computationally replicate all analysis (including descriptive statistics) can be found in the Rmd file. Additional descriptive statistics can be found in the code such as the mean insight, sharing, RT for each problem.
**H1: Willingness to share**
H1.1: Participants in the High Insight Condition, compared to the Low Insight Condition, have a higher willingness to share problems.
H1.2: Participants' mean insight positively predicts their mean willingness to share.
**H2: Actual consumption**
H2.1: Participants in the High Insight Condition, compared to the Low Insight Condition, are more likely to consume another problem.
H2.2: Participants' mean insight positively predicts their odds of consuming another problem.
**H3: Willingness to consume**
H3.1: Participants in the High Insight Condition, compared to the Low Insight Condition, are more willing to consume other problems.
H3.2: Participants' mean insight positively predicts their mean willingness to consume other problems.
## Study 1
In the first study, we did not pre-register the control variable `not_understood`. We report here the result of our pre-registered analysis without this variable.
```{r S1 Descriptive Statistics: Age/Sex, include = FALSE}
table(data_1$Sex)
summary(data_1$age)
sd(data_1$age, na.rm = TRUE)
```
```{r S1 Descriptive Statistics: Time/ Insight/ Sharing/ Consumption, include = FALSE }
# We remove outliers for the descriptive statistics of the time.
Q1 <- quantile(data_long1$time, .25)
Q3 <- quantile(data_long1$time, .75)
IQR <- IQR(data_long1$time)
data_long1 %>%
group_by(condition) %>%
subset(data_long1$time > (Q1 - 1.5*IQR) & data_long1$time< (Q3 + 1.5*IQR)) %>%
summarise(
mean_RT = mean(time)
)
data_1 %>%
group_by(condition) %>%
summarise(Insight = mean(insight_mean),
SD_Insight = sd(insight_mean),
Sharing = mean(sharing_mean),
SD_Sharing = sd(sharing_mean),
Percent_Solved = mean(ability / 3),
Actual_consumption = mean(actual_consumption))
```
```{r S1 Descriptive Statistics per Stumpers,include = FALSE}
data_long1 %>%
group_by(stumpers) %>%
summarise(insight_st = mean(insight),
sharing_st = mean(sharing),
difficutly_st = mean(solved))
data_long1 %>%
group_by(stumpers) %>%
subset(data_long1$time > (Q1 - 1.5*IQR) & data_long1$time< (Q3 + 1.5*IQR)) %>%
summarise(mean_RT = mean(time))
```
```{r S1 More Descriptive Stats, include = FALSE}
data_long1 %>%
group_by(solved, condition) %>%
summarise(insight= mean(insight),
sharing = mean(sharing))
data_long1 %>%
group_by(solved, condition) %>%
subset(data_long1$time > (Q1 - 1.5*IQR) & data_long1$time< (Q3 + 1.5*IQR)) %>%
summarise(mean_RT = mean(time))
```
```{r S1 Manipulation checks, include = FALSE}
t.test(insight_mean ~ condition, data_1)
cohen.d(insight_mean ~ condition, data_1, var.equal = FALSE)
```
### H1.1
```{r S1 H1.1, echo = TRUE}
S1_h11_1 = lm(scale(sharing_mean) ~ factor(condition),
data_1)
S1_h11_2 = lm(scale(sharing_mean) ~ factor(condition)
+ factor(ability) + scale(mean_RT),
data_1)
S1_h11_3 = lm(scale(sharing_mean) ~ factor(condition)
+ factor(ability) + scale(mean_RT) + factor(not_understood),
data_1)
```
```{r, include=FALSE}
paper_MA = data.frame(study = "Study 1", hypothesis = "H1.1", estimate_scaled = coef(S1_h11_3)[2], std_error = summary(S1_h11_3)$coefficients[, "Std. Error"][2], condition = "Overall")
```
```{r}
export_summs(S1_h11_1, S1_h11_2, S1_h11_3, robust = c("HC1", "HC1", "HC1"),
model.names = c("Will. to Share", "Will. to share", "Will. to share"), digits = 4,
statistics = (R2adj = "adj.r.squared"),
coefs = c("Intercept" = "(Intercept)","Being in the High Insight Condition" = "factor(condition)1", "1 problem solved vs. 0" = "factor(ability)1", "2 problems solved vs. 0" = "factor(ability)2", "3 problems solved vs. 0" = "factor(ability)3", "Time Spent" = "scale(mean_RT)", "Not understood 1 problem vs. 0" = "factor(not_understood)1", "Not understood 2 problems vs. 0" = "factor(not_understood)2", "Not understood 3 problems vs. 0" = "factor(not_understood)3")) %>% set_caption("Study 1: Willingness to Share as a function of condition, with and without controls")
```
\FloatBarrier
### H1.2
```{r S1 H1.2, echo = TRUE}
S1_h12_1 = lm(scale(sharing_mean) ~ scale(insight_mean),
data_1)
S1_h12_2 = lm(scale(sharing_mean) ~ scale(insight_mean)
+ factor(ability) + scale(mean_RT),
data_1)
S1_h12_3 = lm(scale(sharing_mean) ~ scale(insight_mean)
+ factor(ability) + scale(mean_RT) + factor(not_understood),
data_1)
```
```{r, include=FALSE}
paper_MA = rbind(paper_MA, data.frame(study = "Study 1", hypothesis = "H1.2", estimate_scaled = coef(S1_h12_3)[2], std_error = summary(S1_h12_3)$coefficients[, "Std. Error"][2], condition = "Overall"))
```
```{r}
export_summs(S1_h12_1, S1_h12_2, S1_h12_3, robust = c("HC1", "HC1", "HC1"),
model.names = c("Will. to Share", "Will. to share", "Will. to share"), digits = 4,
statistics = (R2adj = "adj.r.squared"), coefs = c("Intercept" = "(Intercept)", "Reported Insight" = "scale(insight_mean)", "1 problem solved vs. 0" = "factor(ability)1", "2 problems solved vs. 0" = "factor(ability)2", "3 problems solved vs. 0" = "factor(ability)3", "Time Spent" = "scale(mean_RT)", "Not understood 1 problem vs. 0" = "factor(not_understood)1", "Not understood 2 problems vs. 0" = "factor(not_understood)2", "Not understood 3 problems vs. 0" = "factor(not_understood)3")) %>% set_caption("Study 1: Willingness to Share as a function of insight, with and without controls")
```
\FloatBarrier
### H2.1
```{r S1 H2.1, echo = TRUE}
S1_h21_1 = glm(actual_consumption ~ factor(condition),
family = binomial(link = "probit"), data_1)
S1_h21_2 = glm(actual_consumption ~ factor(condition)
+ factor(ability) + scale(mean_RT),
family = binomial(link = "probit"), data_1)
S1_h21_3 = glm(actual_consumption ~ factor(condition)
+ factor(ability) + scale(mean_RT) + factor(not_understood),
family = binomial(link = "probit"), data_1)
```
```{r, include=FALSE}
paper_MA = rbind(paper_MA, data.frame(study = "Study 1", hypothesis = "H2.1", estimate_scaled = coef(S1_h21_3)[2], std_error = summary(S1_h21_3)$coefficients[, "Std. Error"][2], condition = "Overall"))
```
```{r}
export_summs(S1_h21_1, S1_h21_2, S1_h21_3, robust = c("HC1", "HC1", "HC1"),
model.names = c("Actual Consumption", "Actual Consumption", "Actual Consumption"), digits = 4,
statistics = (R2adj = "adj.r.squared"),
coefs = c("Intercept" = "(Intercept)", "Being in the High Insight Condition" = "factor(condition)1", "1 problem solved vs. 0" = "factor(ability)1", "2 problems solved vs. 0" = "factor(ability)2", "3 problems solved vs. 0" = "factor(ability)3", "Time Spent" = "scale(mean_RT)", "Not understood 1 problem vs. 0" = "factor(not_understood)1", "Not understood 2 problems vs. 0" = "factor(not_understood)2", "Not understood 3 problems vs. 0" = "factor(not_understood)3")) %>% set_caption("Study 1: Actual Consumption as a function of condition, with and without controls")
```
```{r, include= FALSE}
margins(S1_h21_3)
```
\FloatBarrier
### H2.2
```{r S1 H2.2, echo = TRUE}
S1_h22_1 = glm(actual_consumption ~ scale(insight_mean),
family = binomial(link = "probit"), data_1)
S1_h22_2 = glm(actual_consumption ~ scale(insight_mean)
+ factor(ability) + scale(mean_RT),
family = binomial(link = "probit"), data_1)
S1_h22_3 = glm(actual_consumption ~ scale(insight_mean)
+ factor(ability) + scale(mean_RT) + factor(not_understood),
family = binomial(link = "probit"), data_1)
```
```{r, include=FALSE}
paper_MA = rbind(paper_MA, data.frame(study = "Study 1", hypothesis = "H2.2", estimate_scaled = coef(S1_h22_3)[2], std_error = summary(S1_h22_3)$coefficients[, "Std. Error"][2], condition = "Overall"))
```
```{r}
export_summs(S1_h22_1, S1_h22_2, S1_h22_3, robust = c("HC1", "HC1", "HC1"),
model.names = c("Actual Consumption", "Actual Consumption", "Actual Consumption"), digits = 4,
statistics = (R2adj = "adj.r.squared"),
coefs = c("Intercept" = "(Intercept)", "Reported Insight" = "scale(insight_mean)", "1 problem solved vs. 0" = "factor(ability)1", "2 problems solved vs. 0" = "factor(ability)2", "3 problems solved vs. 0" = "factor(ability)3", "Time Spent" = "scale(mean_RT)", "Not understood 1 problem vs. 0" = "factor(not_understood)1", "Not understood 2 problems vs. 0" = "factor(not_understood)2", "Not understood 3 problems vs. 0" = "factor(not_understood)3")
) %>% set_caption("Study 1: Actual Consumption as a function of insight, with and without controls")
```
\FloatBarrier
## Study 2
```{r S2 Descriptive Statistics: Age/Sex, include = FALSE}
table(data_2$Sex)
summary(data_2$age)
sd(data_2$age, na.rm = TRUE)
```
```{r S2 Descriptive Statistics: Time/ Insight/ Sharing/ Consumption, include = FALSE }
# We remove outliers for the descriptive statistics of the time.
Q1 <- quantile(data_long2$time, .25)
Q3 <- quantile(data_long2$time, .75)
IQR <- IQR(data_long2$time)
data_long2 %>%
group_by(condition) %>%
subset(data_long2$time > (Q1 - 1.5*IQR) & data_long2$time< (Q3 + 1.5*IQR)) %>%
summarise(
mean_RT = mean(time)
)
data_2 %>%