ad-dataset-analysis

Analyzes aviation safety data from crash databases and driving studies using Python libraries like pandas, numpy, scipy, statsmodel.

28|4|Updated Mar 25, 2026
One-click install
npx skills add https://github.com/RoboSafe-Lab/ad-safety-research-skills --skill ad-dataset-analysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ad-dataset-analysis
Source: https://github.com/RoboSafe-Lab/ad-safety-research-skills/tree/main/ad-dataset-analysis
Command: npx skills add https://github.com/RoboSafe-Lab/ad-safety-research-skills --skill ad-dataset-analysis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, numpy, scipy, statsmodels, matplotlib, seaborn, pyproj, geopandas, lifelines, pymc3, stan, scikit-learn, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill enables comprehensive analysis of crash data and safety metrics in the context of autonomous driving research, offering insights into traffic safety and potential improvements.

Core Features & Use Cases

  • Crash Data Analysis: Analyze various crash databases like FARS, CRSS, GIDAS, and SHRP2 for safety metrics and exposure-based risk analysis.
  • Surrogate Safety Metrics: Compute Time-to-Collision (TTC), Post-Encroachment Time (PET), and Deceleration Rate to Avoid Crash (DRAC) metrics.
  • Safety Claims Statistical Analysis: Provide Poisson tests and required sample size calculations for safety demonstrations in autonomous driving systems.
  • Use Case: With the ad-dataset-analysis Skill, you can perform a comparative safety analysis between an autonomous driving system and human driving by inputting crash and disengagement data, followed by matching ODD conditions and calculating relative risk.

Quick Start

Run the analysis on the crash dataset by providing the relevant data and executing the command 'calculate_crash_rates'.

Frequently Asked Questions about ad-dataset-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate crash rates for autonomous driving systems using FARS or GIDAS databases?

To calculate crash rates for autonomous driving systems, this Skill analyzes crash databases like FARS, CRSS, GIDAS, and SHRP2. You input crash and disengagement data, match ODD conditions, and execute the 'calculate_crash_rates' command to perform exposure-based risk analysis.

What surrogate safety metrics can I compute for naturalistic driving studies?

For naturalistic driving studies, you can compute surrogate safety metrics including Time-to-Collision (TTC), Post-Encroachment Time (PET), and Deceleration Rate to Avoid Crash (DRAC). These metrics help evaluate traffic safety and potential improvements for autonomous vehicles.

How do I perform statistical significance testing for autonomous driving safety claims?

Statistical significance testing for autonomous driving safety claims is performed using Poisson tests and required sample size calculations. This Skill utilizes Python libraries like scipy and statsmodels to validate safety demonstrations and compare relative risk between systems.

Can I use pandas and geopandas to analyze autonomous driving crash data?

Yes, you can use pandas and geopandas to analyze autonomous driving crash data. The Skill requires Python libraries including pandas, numpy, scipy, statsmodels, and geopandas to process crash datasets and generate spatial safety metrics for risk assessment.

What is the best way to compare autonomous driving safety with human driving risk?

The best way to compare autonomous driving safety with human driving risk is by inputting crash and disengagement data, matching ODD conditions, and calculating relative risk. This Skill provides comparative safety analysis using crash rates and statistical significance testing.