polynomials | R Documentation |
A dataset containing the information of 160 subject and their responses to 588 linupes. There are a total of 588 lineups, where lineup 577 - 588 are used as attention checks. Every subject evaluates 18 different lineups and two randomly assigned attention checks. Every lineup except those used as attention checks has been evaluated by five different subjects. Every lineup consists of 20 residual plots with one actual residual plot and 19 null residual plots drawn with rotated residuals.
polynomials
A tibble with 3200 rows and 30 variables:
The page number of the study website
Time spent on a page, in milliseconds (1 second = 1000 milliseconds)
The set number or the subject ID
The lineup number in a set
Selections made by the subject. Multiple selections are allowed and seperated by "_"
. "0"
means the subject can't tell the difference between plots
Number of selections made by the subject
The reason for making the selections provided by the subject
Level of difference between the selected plots and others provided by the subject
Age group of the subject
Educational background of the subject
Preferred pronoun
Previous experience in any research that requires reading data graphs
Lineup ID
Type of the model
The main formula of the model
Shape of the Hermite polynomials, please check POLY_MODEL$hermite
Distribution of the variable x
Whether to include variable z
in the model
Distribution of error term e
The standard deviation of the error term e
Name of the model
Number of residual plots in a lineup
Number of observations in a residual plot
Effect size of the actual residual plot
The answer of the lineup
Whether the subject selects the actual residual plot
P-value of the conventional test (F-test) by comparing the null model (y ~ x) and the correct model (y ~ x + z)
If detect == TRUE
, weighted_detect = detect/num_selection
. Otherwise, weighted_detect = 0
.
Poportion of detection of a lineup. For a lineup, prop_detect = mean(weighted_detect)
.
To reproduce the models, use poly_model()
.
For x_dist = "uniform"
, define x = rand_uniform(-1, 1)
.
For x_dist = "normal"
, define x = {stand_dist <- function(x) {(x - min(x))/max(x - min(x)) * 2 - 1}; raw_x <- rand_normal(sigma = 0.3); closed_form(~stand_dist(raw_x))}
.
For x_dist = "lognormal"
, define x = {stand_dist <- function(x) {(x - min(x))/max(x - min(x)) * 2 - 1}; raw_x <- rand_lognormal(sigma = 0.6); closed_form(~stand_dist(raw_x/3 - 1))}
.
For x_dist = "uniform_discrete"
, define x = rand_uniform_d(k = 5, even = TRUE)
.
For example, if shape = 1
, e_sigma = 1
, include_z = TRUE
and x_dist = "uniform"
,
then the model can be defined as y = poly_model(shape = 1, sigma = 1, include_z = TRUE, x = rand_uniform(-1, 1))
.
Note that the models will not produce exactly the same lineups as shown to
subjects due to randomness. Data stored in get_polynomials_lineup()
should be used instead.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.