# Packageslibrary(scales)library(knitr)library(here)library(janitor)library(latex2exp)library(brms)library(distributional)library(posterior)library(rstan)library(patchwork)library(tidybayes)library(ggdist)library(tidyverse)# Some settings common to all modulessource(here("modules/_common.R"))
Procedure. Ninety general information questions (see theonline supplemental material) from Nelson and Narens’ (1980) norms, as updated in Bloom et al. (2018), were presented in a random order. The participant typed in an answer and then made a con dence judgment about the correctness of their answer on a sliding scale from 0% (not at all confident) to 100% (completely confident). They were then given yes/no feedback about the correctness of their answer. If incorrect, they rated their curiosity to find out the correct answer on a sliding scale from 0% (do not care) to 100% (care very much).
Code
dat <-read_rds(here("data/metcalfe.rds"))dat <- dat |>mutate(confidence = confidence /100,curiosity = curiosity /100 )head(dat) |>kable()
subject
item
confidence
curiosity
accuracy
1
90
0.03
NA
Correct
1
10
0.04
0.00
Error
1
42
0.00
NA
Correct
1
20
0.16
0.00
Error
1
9
0.51
0.74
Error
1
57
0.00
0.60
Error
Code
dat <- dat |>mutate(cl_confidence =case_when( confidence ==0~"left", confidence ==1~"right",TRUE~"none" ),cl_curiosity =case_when( curiosity ==0~"left", curiosity ==1~"right",TRUE~"none" ) )head(dat) |>kable()
subject
item
confidence
curiosity
accuracy
cl_confidence
cl_curiosity
1
90
0.03
NA
Correct
none
none
1
10
0.04
0.00
Error
none
left
1
42
0.00
NA
Correct
left
none
1
20
0.16
0.00
Error
none
left
1
9
0.51
0.74
Error
none
none
1
57
0.00
0.60
Error
left
none
Code
pa <- dat |>ggplot(aes(confidence, fill = accuracy)) +scale_fill_brewer("Accuracy",palette ="Set1" ) +geom_histogram(position ="dodge")pb <- pa %+%filter( pa$data, subject %in%sample(unique(dat$subject), 9) ) +facet_wrap("subject")(pa | pb) +plot_layout(guides ="collect", axis_titles ="collect")
Metcalfe, Janet, Matti Vuorre, Emily Towner, and Teal S. Eich. 2022. “Curiosity: The Effects of Feedback and Confidence on the Desire to Know.”Journal of Experimental Psychology: General, No Pagination Specified–. https://doi.org/10.1037/xge0001284.