0% found this document useful (0 votes)
11 views8 pages

Statistical Analysis Proposal for Ride App

This document is a proposal for a statistical analysis project focusing on the Ride-hailing platform in Addis Ababa, outlining objectives, research questions, data requirements, and analysis plans. The project aims to collect and analyze trip data to produce insights for the company, covering various statistical methods such as descriptive statistics, regression, and hypothesis testing. Deliverables include a written report, Jupyter notebooks, and a presentation, with a focus on ensuring reproducibility and addressing potential limitations.

Uploaded by

user88300
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views8 pages

Statistical Analysis Proposal for Ride App

This document is a proposal for a statistical analysis project focusing on the Ride-hailing platform in Addis Ababa, outlining objectives, research questions, data requirements, and analysis plans. The project aims to collect and analyze trip data to produce insights for the company, covering various statistical methods such as descriptive statistics, regression, and hypothesis testing. Deliverables include a written report, Jupyter notebooks, and a presentation, with a focus on ensuring reproducibility and addressing potential limitations.

Uploaded by

user88300
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Introduction to Computer Science

Assignment Proposal
Department of Statistics 2025

Group Name:
1. Yosef Zinabu ----- UGR/3666/17
2. Yilkal Akele ------- UGR/1707/17
3.
4.
5.

Submitted to: Dr. Getahun

Date of submission: Nov 20,2025


Proposal: Statistical Analysis of Ride (Ride App)
Addis Ababa

This proposal outlines a step-by-step plan to collect, clean, analyze, and


report statistical findings using trip-level and aggregated data from Ride (the
Ride-hailing platform operating in Addis Ababa). The project will address the
lecturer's 10 assignment topics (descriptive statistics, correlation,
comparative analysis, regression, time series, hypothesis testing, outlier
analysis, categorical analysis, ANOVA, chi-square). Deliverables include a
written report, Jupyter notebooks, charts, and a presentation.

1. Objectives
1.1 General objective

To perform a complete statistical analysis of Ride’s trip data to satisfy the


assignment requirements and produce actionable insights for the company
and stakeholders.

1.2 Specific objectives

 Obtain an anonymized dataset or suitable public/synthetic proxy


representing Ride trips in Addis Ababa.

 Produce descriptive statistics (mean, median, mode, range, variance,


SD) for key variables.

 Measure correlations and relationships between key variables


(distance, fare, duration, rating).

 Test differences across groups (time-of-day, vehicle types, promotion


vs non-promotion) using t-tests and ANOVA.

 Build predictive models to estimate fare and short-term demand


(regression and time-series models).

 Detect and treat outliers and assess their impact.

 Conduct categorical analyses and chi-square tests (payment method


vs satisfaction, vehicle type vs cancellation).

 Document methods, results, and code for reproducibility.


2. Research questions
1. What are the mean, median, and mode for Ride’s fare, distance,
duration, and rating?

2. What are the range, variance, and SD of numerical variables in Ride’s


dataset?

3. Is there a significant correlation between fare and distance or duration?


Between surge multiplier and fare?

4. Are there differences in mean fares/durations between vehicle types,


time blocks, or promotion vs non-promotion trips?

5. Can we predict fare or demand using Ride’s available variables and


how much variance is explained?

6. What are the trends and seasonal patterns in daily trips and revenue
for Ride?

7. Did any recent Ride intervention (promotions, surge policy change)


significantly change trip counts or average fare?

8. Are there outliers in Ride’s data and how to handle them?

9. What are the proportions of vehicle types, payment methods, and


cancellation rates?

10. Is there an association between vehicle type and driver rating, or


payment method and satisfaction?

3. Data requirements and variables (About Ride)


3.1 Preferred trip-level scheme (Ride export or API)

 Trip ID - unique identifier

 Date & time - trip start timestamp (YYYY-MM-DD HH:MM)

 Provider - "Ride" (constant)

 Pickup zone - district/neighborhood (anonymized)

 Dropoff zone - district/neighborhood (anonymized)

 Distance km - trip distance


 Duration (min) - trip time in minutes

 Fare ETB - fare charged

 Base fare - base charge

 Surge multiplier - numeric factor

 Driver rating - rating by passenger (1–5)

 Vehicle type - sedan, minibus, moto, etc.

 Payment method - cash, mobile money, card

 Tip ETB - tip amount (if available)

 Cancellation flag - 0/1

 Promotion flag - 0/1 (discount applied)

 City zone code - coarse geocode for spatial aggregation (if allowed)

3.2 Aggregated fields (if trip-level not available)

 Daily trips, daily revenue, avg fare day, avg distance day, peak hour
trips

4. Data sources & collection methods


4.1 Primary: Request from Ride

 Formal data request: Prepare and send a polite, signed request to


Ride’s operations/data team asking for anonymized trip data for
educational use. Provide details on variables needed, anonymization
requirements, intended analyses, and deliverables.

 Data sharing options: CSV export, temporary API access, or


aggregated reports.

Template request items to include: purpose, date range desired (e.g.,


last 6 months), anonymization guarantee, contact details, and how results
will be shared.

4.2 Secondary options

 Public/similar datasets: Use open ride-hailing datasets (Kaggle,


GitHub) and adapt analyses to Ride’s context. We will annotate where
synthetic or proxy data were used.
 Manual/field collection: Short driver/customer survey for categorical
variables not in logs (consent required).

5. Sampling plan & sample size


 Preferred: 200+ trip records covering at least 1 months (to capture
weekly seasonality).

 Minimum: 150–200 records to permit meaningful inference.

 Sampling scheme: Random sampling across dates and hours;


stratified by vehicle type and city zone to preserve representativeness.

6. Data cleaning & preprocessing (Ride-specific steps)


1. Date/time parsing: Convert date time to datetime and extract hour,
weekday, and whether it is a weekend.

2. Fare per km: Compute fare per km = fare ETB/ distance km (handle
zero-distance with NaN).

3. Standardized categories: Normalize vehicle type labels, payment


method names.

4. Aggregate series: Build daily/weekly aggregates for time series


modeling.

7. Analysis plan (step-by-step, Ride-specific)

All tests use significance level α = 0.05 unless otherwise noted.

7.1 Descriptive Statistics

 Compute mean, median, mode, range, variance, SD, IQR for fare ETB,
distance km, duration min, driver rating, and tip ETB.

 Visuals: histograms and boxplots for fare and distance; bar chart for
vehicle-type counts.

Output: Table of descriptive stats with short interpretation (e.g., skewness


indicates right-skewed fares)

7.2 Correlation & Relationships


 Pearson correlation between fare ETB and distance km; between fare
ETB and duration min; Spearman if non-normal.

 Correlation between surge multiplier and fare ETB to quantify surge


effects.

 Visuals: scatter plots with fit lines; a correlation heatmap.

7.3 Comparative Analysis

 Compare average fare during daytime vs nighttime using t-test.

 Compare mean fares across vehicle type using ANOVA.

 Compare promotion flag vs non-promotion mean fares and trip counts.

7.4 Regression Analysis

 Simple model: fare ETB ~ distance km

 Multiple linear regression: fare ETB ~ distance km + duration min


+ surge multiplier + vehicle type + is weekend + hour of day

 Diagnostics: Check VIF for multicollinearity, residual plots for


heteroscedasticity, and normality of residuals.

 Consider log-transform of fare if skewed; use robust regression if


outliers impact results.

7.5 Time Series Analysis

 Aggregate to daily trips and daily revenue.

 Plot trends and decompose series (STL) into trend, seasonality,


residuals.

7.6 Hypothesis Testing (Intervention Analysis)

 If Ride implemented a promotion or policy change during the study


period, define pre/post windows.

 Use interrupted time series analysis or two-sample t-test (daily


aggregates) to test for level or trend change.

 Compute Cohen’s d for effect size.

7.7 Outlier Analysis


 Use distance to identify influential observations in regression.

 Compare model estimates with and without outliers; document effects.

7.8 Categorical Data Analysis

 Proportions of vehicle type, payment method, cancellation flag.

 Cross-tabulations: payment method vs driver rating categories; vehicle


type vs cancellation flag.

7.9 ANOVA (multi-group comparisons)

 One-way ANOVA: compare avg fare across multiple vehicle type


groups.

 Practical implication: which vehicle type is most cost-effective/popular.

7.10 Chi-Square Test

 Contingency table: vehicle type × rating category (e.g., 1–2: low, 3:


neutral, 4–5: high)

 Run chi-square of independence; check expected counts; use Fisher’s


exact if needed.

 Make simple predictive statements (e.g., based on past proportions,


expected percent of high-rated trips for a vehicle type).

8. Potential limitations & mitigations

 Data access denial: Use public ride-hailing datasets and clearly mark
limitations.

 Small sample/time window: Use non-parametric tests and clearly


discuss reduced statistical power.

9. Example hypothesis test (promotion impact)

 Example: Testing the impact of a 2-week promotion

o mean daily trips before promotion = mean daily trips after


promotion

o mean daily trips after promotion > mean daily trips before
promotion
o Test: two-sample t-test on daily trip counts (or interrupted time
series if data allows)

Common questions

Powered by AI

The proposal aims to perform a complete statistical analysis on Ride’s trip data by obtaining an anonymized dataset and conducting various analyses, such as descriptive statistics (mean, median, mode, etc.), correlation measurement, regression for predictive modeling, hypothesis testing, and more. These analyses are intended to satisfy assignment requirements and produce actionable insights that could guide decision-making for the Ride-hailing platform and its stakeholders in Addis Ababa .

The proposal plans to use t-tests to compare average fares during different time blocks, such as daytime versus nighttime, and ANOVA to compare mean fares across different vehicle types. This approach allows the team to identify statistically significant differences between groups and the impact of different factors on the cost and duration of rides .

The research questions proposed aim to cover various statistical topics such as the computation of descriptive statistics, testing correlations, differences in means across groups, predictive modeling for fare and demand, trend analysis, outlier detection, categorical data proportions, and associations between variables. These questions align with the objectives of providing a comprehensive statistical analysis of Ride's trip data and generating insights and recommendations for stakeholders .

To evaluate the impact of promotions or policy changes, the proposal suggests using interrupted time series analysis or a two-sample t-test on daily aggregates of trip counts. If a promotion or change occurs during the study period, pre and post-intervention windows are defined to assess any changes in level or trend, and Cohen’s d is computed to measure effect size .

The data preparation and preprocessing techniques outlined in the proposal include parsing date and time information to extract relevant features, computing fare per km metrics, normalizing categories for variables like vehicle type and payment method, and aggregating data to build daily and weekly summaries for time series modeling .

The proposal will employ Pearson correlation to assess the linear relationship between numerical variables such as fare and distance or duration. If the data are non-normal, Spearman's correlation might be used as an alternative method to evaluate these relationships in the Ride dataset .

The proposal plans to analyze categorical data by examining proportions and creating cross-tabulations, such as payment method versus driver rating categories or vehicle type versus cancellation flag. Further analysis involves conducting chi-square tests to examine associations between categorical variables and make predictive statements based on past data .

The proposal indicates employing both simple and multiple regression models to predict fares. A simple model involves predicting fare based on distance, while a multiple linear regression model includes additional factors like distance, duration, surge multiplier, vehicle type, weekend indicator, and hour of day. Diagnostics like VIF for multicollinearity and residual plots for heteroscedasticity will ensure model validity. Skewed data may be log-transformed for more accurate modeling .

The proposal suggests identifying influential observations in the regression analysis by using distance metrics and comparing model estimates with and without the outliers to document their effects. Outliers may skew the results, impacting the accuracy of predictions and interpretations derived from the regression models. Robust regression or log transformation could be applied if outliers significantly affect the results .

ANOVA is employed to compare average fares across different vehicle types by determining if there are statistically significant differences in cost among them. The practical implication of ANOVA results informs stakeholders about which vehicle type might be more cost-effective or popular based on fare details, thereby aiding strategic decisions regarding fleet management or service offerings .

You might also like