Skip to content

Rajat123456789/flight-data-analysis

Repository files navigation


✈️ Passengers' Airlines Analysis

Table of Contents

  1. 📖 Introduction
  2. 📊 Dataset
  3. ❓ Research Questions
  4. 🎯 Project Objectives
  5. 🔍 Data Analysis Workflow
  6. 📈 Results and Findings
  7. 💻 Technologies and Libraries Used
  8. ⚙️ How to Use
  9. 📜 License
  10. 🙌 Acknowledgments

Introduction

This project analyzes airline passengers' satisfaction ✈️ based on factors like inflight services, delays, and passenger demographics. The analysis is conducted entirely in R, leveraging its robust statistical and visualization capabilities.

Why is this Analysis Important?

Understanding passenger satisfaction is crucial for airlines 🛫 to enhance services, optimize operations, and foster customer loyalty.


Dataset

📊 The dataset used in this project is sourced from Kaggle.
It includes:

  • 👥 Passenger demographics
  • 🎟️ Travel class and purpose
  • 🍽️ Inflight services (Wi-Fi, food, entertainment)
  • ⏳ Flight delays and satisfaction ratings

Research Questions

  1. Is there a significant difference in satisfaction between Business and Economy class travelers? 🏆 vs. 🛋️
  2. Does inflight Wi-Fi 📡 influence satisfaction?
  3. Are loyal customers ❤️ more satisfied than disloyal customers?

Project Objectives

  • 🔍 Explore customer satisfaction trends.
  • ✅ Perform hypothesis testing to validate insights.
  • 📈 Visualize patterns in satisfaction data.
  • 🛠️ Provide actionable recommendations for airlines.

Data Analysis Workflow

  1. 🧹 Data Cleaning and Preparation
    • Handle missing values, remove duplicates, and summarize statistics.
  2. 🔍 Exploratory Data Analysis (EDA)
    • Visualize distributions (e.g., age, satisfaction).
    • Analyze relationships between variables.
  3. 📊 Hypothesis Testing
    • Conduct t-tests and chi-squared tests to validate findings.
  4. 📈 Findings and Recommendations
    • Present insights with compelling visuals and statistical evidence.

Results and Findings

Key Insights

  1. 🏆 Class vs. Satisfaction: Business class passengers showed higher satisfaction than Economy.
  2. 📡 Inflight Wi-Fi Service: Better Wi-Fi quality strongly correlated with higher satisfaction.
  3. ❤️ Customer Loyalty: Loyal customers were significantly more satisfied.

Results

Results

Results

Results

Results

Results

Results

Results

Results


Technologies and Libraries Used

  • Language: 🐍 R
  • Libraries:
    • tidyverse 🧹 (Data manipulation and visualization)
    • ggplot2 🎨 (Advanced visualizations)
    • dplyr 🔍 (Efficient data wrangling)
  • Statistical Tests:
    • 📊 Welch’s t-test
    • ✅ Chi-squared test

How to Use

  1. Clone the repository:
    git clone https://github.com/username/airlines-analysis.git  
  2. Set your working directory and install the required R packages:
    setwd("~/path/to/project/")  
    install.packages(c("tidyverse"))  
  3. Run the analysis script:
    source("analysis.R")  

License

📜 This project is licensed under the MIT License.


Acknowledgments

  • 🛠️ Data Source: Kaggle
  • 🙌 Thanks to mentors, peers, and the R community for their support.

🚀 Happy Analyzing!

About

Analysis on flight data on various parameters.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages