Brake#

From the authors: “Although unintended acceleration caused by pedal misapplication is a cause of traffic accidents, fatal accidents may be avoided if drivers realize their error immediately and quickly correct how they are stepping on the pedal. This correction behavior may decline with age because the rate of fatal accidents is fairly higher for older adults than for younger adults.”

undefined

Initialization#

library(fosdata)
data <- fosdata::brake

Accessing fields#

data <- fosdata::brake
p1_p2_p3 <- data$p1_p2_p3 # Just a random field in the dataset

Interactive R Sample#

You can use the R editor below to interactively explore the dataset and generate plots. This contains a fully self-contained R environment with fosdata, ggplot2, and dplyr loaded.

webR + fosdata Test

Console
Plot

    
No plot generated yet.
scatterplot

LLM instructions#

If using an LLM, you can copy-paste the following instructions to accompany your prompt to inform the model of the fields and their types in the dataset.

LLM Instructions
The fosdata::brake dataset containing the following fields:

fields[20]{name,type,values}:
  subject_id,integer,n/a
  age_group,character,[Young,Old]
  age,integer,n/a
  gender,integer,n/a
  latency_p1,numeric,n/a
  latency_p2,numeric,n/a
  latency_p3,numeric,n/a
  p1_p2,numeric,n/a
  p1_p2_p3,numeric,n/a
  cfq,numeric,n/a
  dbq_error,numeric,n/a
  dbq_violation,numeric,n/a
  dbq_laspe,numeric,n/a
  difficulty,integer,n/a
  confidence,integer,n/a
  decline,integer,n/a
  anxiety,integer,n/a
  near_miss,integer,n/a
  mmse,integer,n/a
  education,integer,n/a

Fields#

Name Description Type Min Max Values
subject_id unique identifier of subject integer 1 80 -
age_group Young or Old character - - Young, Old
age age in years integer 18 81 -
gender 1 = male, 0 = female integer - 1 -
latency_p1 time to press brake after seeing red light (ms) numeric 315.6204 1240.2232 -
latency_p2 time to release brake after pressing on it (ms) numeric 485.8605 1932.2926 -
latency_p3 time to press pedal to left of what participant thought was brake (ms) numeric 190.038 2410.4977 -
p1_p2 Sum of latency_p1 and latency_p2 numeric 844.4527 2537.9589 -
p1_p2_p3 Sum of latency_p1, latency_p2, and latency_p3 numeric 1148.7133 4948.4566 -
cfq Score on cognitive failure questionairre numeric 1.25 3.35 -
dbq_error Score on dribing behavior questionnaire error questions numeric 1 3 -
dbq_violation Score on dbq violation questions numeric 1 4.6667 -
dbq_laspe Score on dbq lapse questions numeric 1 3.6667 -
difficulty response to “was the current task difficult for you” on a 1-100 visual scale integer 7 100 -
confidence response to “do you have much confidence in your ability to perform the current task” 1-100 integer 14 100 -
decline asked of older adults. “how well do you think you can perform task relative to younger adults” scale from 1-150 integer 12 89 -
anxiety In daily life, how much are you afraid you will press the wrong pedal? 1-5 integer 1 5 -
near_miss In daily life, how often do you nearly miss the pedal? 1-5 integer 1 3 -
mmse Score on mini mental stat examination (24 necessary to participate) integer 25 30 -
education numeric 12-20 integer 9 20 -

Source#

Hasegawa K, Kimura M, Takeda Y (2020) Age-related differences in correction behavior for unintended acceleration. PLoS ONE 15(7): e0236053. https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0236053 https://osf.io/mre6y/?view_only=5af130ecc3234435b7a7ffc1ba6c391f