er_wait_time_data.ipynb
- Interactive learning template with:
- Step-by-step instructions
- Educational descriptions
- Accessibility features
- Placeholder cells for student work
er_wait_time_data_filled.ipynb
- Complete analysis with:
- All code executed with results
- Full visualizations and outputs
- Statistical test results
- Comprehensive analysis conclusions
This repository contains a comprehensive analysis of Emergency Room (ER) wait time data, designed for educational purposes. The notebook demonstrates data science techniques including exploratory data analysis, statistical testing, and data visualization using Python.
By completing this analysis, you will learn to:
- Load and inspect healthcare datasets
- Perform exploratory data analysis (EDA)
- Apply statistical tests to healthcare data
- Create meaningful visualizations
- Draw actionable conclusions from data
- Basic Python knowledge
- Familiarity with pandas, matplotlib, and seaborn
- Google Colab account (recommended) or Jupyter environment
Click the "Open In Colab" badge above to run the notebook directly in your browser.
-
Clone this repository:
git clone https://github.com/NCSU-Libraries/ai_in_data_science.git cd ai_in_data_science
-
Install required packages:
pip install -r requirements.txt
-
Launch Jupyter:
jupyter notebook er_wait_time_data.ipynb
- Source: NCSU Libraries AI in Data Science Repository
- Dataset: ER Wait Time Dataset
- Format: CSV, Excel
- Features: Patient demographics, wait times, satisfaction ratings, temporal factors
pandas >= 2.0.0
numpy >= 1.24.0
matplotlib >= 3.7.0
seaborn >= 0.12.0
scipy >= 1.10.0
statsmodels >= 0.14.0
jupyter >= 1.0.0
openpyxl >= 3.1.0
- Downloading data from GitHub repository
- Loading CSV data into pandas DataFrame
- Initial data inspection and quality assessment
- Patient satisfaction analysis
- Temporal patterns (time of day, season)
- Wait time consistency analysis
- Statistical relationships
- Mann-Whitney U tests
- ANOVA testing
- Correlation analysis
- Effect size calculations
- Bar charts and pie charts
- Heatmaps and box plots
- Interactive visualizations
- Statistical plots
- Start with the template: Use
er_wait_time_data.ipynb
- Follow the instructions: Complete each cell step by step
- Reference the filled version: Check
er_wait_time_data_filled.ipynb
if you get stuck - Focus on learning: The template is designed for educational purposes
- Use the template:
er_wait_time_data.ipynb
for classroom instruction - Reference the filled version:
er_wait_time_data_filled.ipynb
for answer key - Customize as needed: Modify the template for your specific course requirements
- Accessibility features: Built-in support for diverse learning needs
- Use the filled version:
er_wait_time_data_filled.ipynb
for complete analysis - Review methodology: See the statistical approaches used
- Adapt the code: Modify for your own datasets
- Cite appropriately: Follow the citation guidelines in the notebook
Feature | Template (er_wait_time_data.ipynb ) |
Filled (er_wait_time_data_filled.ipynb ) |
---|---|---|
Purpose | Learning and teaching | Reference and research |
Code Execution | Students run cells | Pre-executed with results |
Outputs | Students generate | Complete outputs included |
Accessibility | Full accessibility guide | Accessibility guide included |
Educational Content | Step-by-step instructions | Complete analysis |
Best For | Classroom instruction | Research reference |
This project is licensed under the MIT License - see the LICENSE file for details.