Home

Menu

Loading wiki pages...

View
Wiki Version:
<h1>ATC Interruptions Retention</h1> <p>This repository contains the code and data required to run the analyses required for <em>Prospective memory performance in simulated air traffic control: Robust to interruptions but reduced by retention interval</em>. </p> <p>Authors: Michael Wilson, Luke Strickland, Simon Farrell, Troy A.W. Visser, & Shayne Loft</p> <h2>Requirements</h2> <p>Run the following snippet to install packages required for this project.</p> <pre class="highlight"><code class="language-r">requirements &lt;- c(&quot;ggplot2&quot;, &quot;lme4&quot;, &quot;lmerTest&quot;,&quot;dplyr&quot;, &quot;effects&quot;, &quot;ggeffects&quot;, &quot;ggplot2&quot;, &quot;lme4&quot;, &quot;lmerTest&quot;, &quot;lubridate&quot;, &quot;scales&quot;, &quot;sjPlot&quot;, &quot;stringr&quot;, &quot;tidyverse&quot;, &quot;viridis&quot;, &quot;rmarkdown&quot;) to.install &lt;- requirements[!(requirements %in% installed.packages()[,&quot;Package&quot;])] if(length(to.install)) install.packages(to.install)</code></pre> <h2>Repository Overview</h2> <p>The project is designed to be opened with Rstudio projects. The name of the project file is <code>atc-interruptions-derde.Rproj</code>. The directories in the repository contain the following:</p> <ul> <li><code>analysis</code> - Main script directory, load iteratively.</li> <li><code>data</code> - all the CSVs used for analysing the current data</li> <li><code>reports</code> - Rmarkdown documents - contains most of the in-text analyses</li> <li><code>R</code> - Utility R functions</li> </ul> <h2>Quick Run Guide</h2> <ol> <li>Open <code>reports/deferred_exclusions.Rmd</code> to inspect exclusion criteria for PM task.</li> <li>Open <code>analysis/02_dataparse_deferred.R</code> to inspect deferred handoff models and wrangling.</li> <li>Models associated with deferred handoff results can be found in <code>reports/reported_analyses.Rmd</code></li> <li>Open <code>analysis/03_dataparse_conflicts.R</code> and inspect how conflict cost was calculated; then view models in <code>analysis/20_conflicts_models.R</code></li> <li>Run each of the Rmd documents in reports (interactively perhaps) to reproduce the results.</li> <li>Some exploratory model comparisons are presented throughout.</li> </ol> <h2>Reproducing Analyses</h2> <p>The repository is relatively straightforward to use, and there shouldn't be anything too quirky to get it all working. All <code>source()</code> calls are relative to the project root.</p> <ul> <li>The raw data is large (&gt; 15GB) and not available in the repositoryanalysis/<code>and</code>analysis/10_defhand_plots.</li> <li>Main wrangling and data preparation occurs in <code>01_main_dataload.R</code>. Almost all files will source this to get data related to the deferred handoff PM task.</li> <li>If concerns around exclusions or wrangling, this is the file to check.</li> </ul> <p><strong>In terms of Rmarkdown</strong>, it is important to note all my model analyses are reported using two convenience functions, <code>glmer_report</code> and <code>lmer_report</code>, which are contained in <code>R/rmarkdown_lme4.R</code>. In short, these take two <code>lme4</code> model objects, and perform frequentist model comparisons, and return a list ofanalysis/<code>and</code>analysis/10_defhand_plots. the two models and results. Then, within a knitr document you can call <code>rmdprint(report_object)</code> and it will return the models in APA.</p> <h3>Deferred Handoff Task</h3> <p><strong>Main Wrangling</strong>: The file <code>"analysis/01_main_dataload.R"</code> performs a number of exclusions and joins related to deferred handoff task.</p> <p><strong>Exclusions</strong>: All information relating to the data cleaning/exclusions reported in the start of the results section are listed in <code>"reports/deferred_exclusions.Rmd"</code>. This is well documented and justified.</p> <p><strong>Modelling</strong>: <code>"analysis/11_defhand_models.R"</code> contains the model definitions reported in the paper (and a few unreported models to test slopes etc.) </p> <p><strong>Rmarkdown/Reproducible</strong>: <code>"reports/deferred_results_main.Rmd"</code> contains writeup of the reported lme4 models. However, it's become too much of a burden to keep updating the text with edits from other authors. So the results are identical; but wording is not.</p> <h3>Routine Acceptance and Handoff</h3> <p>Each of these have a unique file in reports directory (<code>routine_*</code>).</p> <h2>Experimental Description</h2> <p><strong>Participants.</strong> Undergraduate students (<em>N</em> = 64; X female; median age = X years) from the University of Western Australia participated in the study in exchange for partial course credit or $25. All participants viewed an information sheet prior to giving informed consent. The information sheet and consent form were approved by the UWA Ethics Committee.</p> <p><strong>Design.</strong> The study used a 2 x 2 x 2 within-subjects design. There were two interruption conditions: no-interruption (no interruption administered), and an ATC- interruption (interrupted by an additional ATC scenario); two retrieval timing conditions (short: handoff flashed immediately after interruption epoch; and long: handoff flashed 50 s after interruption epoch); and two encoding timing conditions (short: handoff encoded 10s before interruption epoch; and long: handoff encoded 40 s before interruption epoch). This resulted in 8 within-subjects conditions. Participants completed 16 air traffic control per day, over the course of two days. The scenarios on the second day were the same as the first day, except the aircraft names were randomized. Simulation trials lasted 5 mins each, with four trials per within-subject condition.</p> <p>In order to counter balance all 32 simulation trials across the eight conditions, two 8 x 8 Latin square schemes were used. Specifically, we first divided the 16 scenarios into eight scenario groups. Then, the ordering of these eight scenario groups were then counter balanced in a 8 (columns) x 8 (rows) using Latin square (see Table 1 for a visual depiction). The columns of the Latin square were used to allocate a condition to each scenario group; whilst the rows were used to allocate equal sized groups of participants to a condition-scenario scheme. This resulted in an even allocation of interruption and timing conditions across the 16 simulation trials. The final exact order in which the scenarios were presented was randomized for each participant. For the second day, we simply reversed the column order. Consequently, for any given scenario seen on the first day: on the second day they received the opposite interruption condition and timing condition allocation. E.g., if you did scenario 5 as ATC-SS on the first day; on the second day you would receive scenario 5 as No Interruption-LL.</p>
OSF does not support the use of Internet Explorer. For optimal performance, please switch to another browser.
Accept
This website relies on cookies to help provide a better user experience. By clicking Accept or continuing to use the site, you agree. For more information, see our Privacy Policy and information on cookie use.
Accept
×

Start managing your projects on the OSF today.

Free and easy to use, the Open Science Framework supports the entire research lifecycle: planning, execution, reporting, archiving, and discovery.