### Analysis Script
One analysis script runs on both sets of data. Automatically handles exclusions and generates figures. Files should be in the same structure (including a subdirectory for the data) as they are on OSF.
### Variables Collected
#### Moore & Egeth (1997)
* **`workerID`**: The subject's worker ID as assigned by Mechanical Turk. In the posted data, this variable will be replaced with a **`subjectID`** column with arbitrary numerical assignment to protect subject anonymity.
* **`illusion_type`**: String. Which illusion the background dots formed on the critical trial. `ponzo` or `muller-lyer`.
* **`longer_line`**: String. Which of the two lines on the critical trial appears to be longer due to the illusion. `top` or `bottom`. PLEASE NOTE that for the Ponzo variants of the illusion, these codes are reversed; the "bottom" actually drew the illusion resulting in the top line looking longer, and vice-versa.
* **`line_resp_0 - line_resp_9`**: String. Which line the subject indicated was longer on each trial. `top` or `bottom`. Note that trial 9 is the critical trial on which the two lines are of equal length.
* **`line_corr_0 - line_corr_9`**: Integer. Whether the subject chose the longer line on that trial (`1`) or not (`0`). Note that because the two lines are the same length on trial 9 (the critical trial), the value will always be 0.
* **`dot_notice`**: Integer. Whether the subject indicated noticing a pattern in the background dots on the critical trial (`1`) or not (`0`).
* **`dot_choice`**: String. Which dot pattern the subject chose as being in the background on the critical trial in the forced-choice task. The strings correspond to the filenames of the images in the `Moore and Egeth forced-choice dot patterns` folder in the Materials section.
* **`dot_conf`**: Integer. The subject's self-reported confidence in their choice of dot pattern.
* 0 = Not at all confident
* 1 = Somewhat confident
* 2 = Very confident
* **`dot_choice_fa`**: String. Which dot pattern the subject chose as being in the background on the full attention trial in the forced-choice task. The strings correspond to the filenames of the images in the `Moore and Egeth forced-choice dot patterns` folder in the Materials section.
* **`gender`**: String. The subject's self-reported gender, `male` or `female`.
* **`age`**: Integer. The subject's self-reported age range.
* `0` = under 18
* `1` = 18-24
* `2` = 25 - 49
* `3` = 50 - 80
* `4` = over 80.
* **`vision`**: Integer. Whether the subject requires vision correction and was wearing it during the task.
* `0` = Normal vision
* `1` = correct-to-normal vision, correction worn
* `2` = correct-to-normal vision, correction not worn
* **`prior`**: Boolean. Whether the subject had prior experience with any similar inattentional blindness tasks (`1` = yes, `0` = no).
* **`prior_text`**: String. A text description of the subject's prior inattentional blindness experience.
#### Mack & Rock (1998)
* **`workerID`**: The subject's worker ID as assigned by Mechanical Turk. In the posted data, this variable will be replaced with a **`subjectID`** column with arbitrary numerical assignment to protect subject anonymity.
* **`prime_word`**: String. Which word was presented at fixation on the critical trial. `stall`, `shank`, `trawl`, `chafe`, `cleft`, `grown`, or `dreck`.
* **`cross_x`**: Integer. The X coordinate at which the cross was presented on each trial.
* **`cross_y`**: Integer. The Y coordinate at which the cross was presented on each trial.
* **`line_resp_0 - line_resp_9`**: String. Which line the subject indicated was longer on each trial. `horiz` or `vert`.
* **`line_corr_0 - line_corr_9`**: Integer. Whether the subject chose the longer line on that trial (`1`) or not (`0`).
* **`stem_response`**: String. What the subject completed the stem with.
* **`word_notice`**: Integer. Whether the subject indicated noticing a word at fixation on the critical trial (`1`) or not (`0`).
* **`word_choice`**: String. Which word the subject chose as being at fixation on the critical trial in the forced-choice task.
* **`word_conf`**: Integer. The subject's self-reported confidence in their choice of word.
* 0 = Not at all confident
* 1 = Somewhat confident
* 2 = Very confident
* **`word_choice_fa`**: String. Which word the subject chose as being at fixation on the full attention trial in the forced-choice task.
* **`gender`**: String. The subject's self-reported gender, `male` or `female`.
* **`age`**: Integer. The subject's self-reported age range.
* `0` = under 18
* `1` = 18-24
* `2` = 25 - 49
* `3` = 50 - 80
* `4` = over 80.
* **`vision`**: Integer. Whether the subject requires vision correction and was wearing it during the task.
* `0` = Normal vision
* `1` = correct-to-normal vision, correction worn
* `2` = correct-to-normal vision, correction not worn
* **`prior`**: Boolean. Whether the subject had prior experience with any similar inattentional blindness tasks (`1` = yes, `0` = no).
* **`prior_text`**: String. A text description of the subject's prior inattentional blindness experience.
### Exclusion Rules
Subjects will be excluded for meeting at least one of the following criteria:
* Reporting needing glasses or contacts but not wearing them during the experiment
* Being under 18 years of age
* Reporting prior experience with inattentional blindness experiments
* Responding incorrectly on the forced-choice question following the full-attention trial
### Determining Noticing
There is a "strict" and "lax" noticing criterion. To meet the lax criterion, in both cases subjects need only report noticing the word/dot pattern. To meet the strict criterion, the subjects must also choose the correct option in the forced-choice task.
### Analysis
Please see the [Stage 1 manuscript][1] for the analysis plan and sample figures.
[1]: https://osf.io/q87yb/