ANLY482 AY2016-17 T2 Group3: HOME/Interim

From Analytics Practicum
Jump to navigation Jump to search
V Logo.png


HOME   ABOUT US   PROJECT OVERVIEW   PROJECT FINDINGS   PROJECT MANAGEMENT   DOCUMENTATION   ALL PROJECTS



INTERIM PROGRESS

Overview

Project Background & Motivation

Vanitee was officially launched in May 2015, in an attempt to bridge the gap between customers and independent beauty professionals. Typically, beauty professionals that are listed on the platform are emerging and independent beauty artists. To put it simply, they are professionals who want to grow their brand and customer base. By providing such a platform, Vanitee is able to help them showcase what they do best.

However, this does not mean that there are no competitors. Competitors include brick and mortar shops in local neighbourhoods and even bigger beauty brands with chain stores such as Jean Yip Group. Even though these are physical stores, they still pose as a threat as customers can still choose to go to these stores instead of using Vanitee to engage a beauty professional. Hence, Vanitee does not want to stop at just providing a platform for these beauty professionals and for customers to engage them. Furthermore, with an increasing number of professionals and customers coming on board, evaluating their performance so far becomes much more imperative.

Firstly, to further the success of their application, Vanitee has to place emphasis on attracting new customers as well as retaining their existing customers. Many customers might have become dormant after just one booking. Hence, analysis can be done to find out why they have turned dormant and identify possible solutions to attract them to make the next booking.

Secondly, in response to these dormant customers, Vanitee currently has an extensive loyalty program (as shown in Figure 1) in place that offers customers credits, gems as well as campaign codes with every booking made. However, one issue they face is the lack of understanding of how consumers utilize these in-app resources. Also, they wish to understand the effectiveness of such a loyalty program in encouraging customers to make repeated bookings in the future.


V Loyalty Program.png
Figure 1 - Vanitee’s current loyalty program


Project Objectives

Hence, by utilizing the data from their current application’s database, we would wish to discover meaningful and informative insights which will allow Vanitee to better retain their customers and beauty professionals and understand the effectiveness of their current loyalty program. To achieve the above mentioned, we have set the following objectives:
Customers

  • To determine the customer segmentation (different groups of customers) from the current booking patterns. Which customers are stagnant? Which customers are actively using the app?
  • To understand customers’ behaviour. When was the last time a customer used the app? How frequent does a customer use the app? How much does a customer spend on average?
  • To evaluate the effectiveness of using campaign codes to ensure customers repeat their bookings
  • To understand how customers are using credits and gems (refer to Figure 2), whether they are accumulating before use or using them in their next booking
V Process Flow.png
Figure 2 - Vanitee customers’ interaction with the application


  • To determine the Customer Lifetime Value (CLV) by campaign (which promotional campaign drives the highest value customer?) To which campaign do customers react to more? Do customers respond more to campaigns giving discounts in dollar amounts (e.g. $20 off) or to percentage amounts (e.g. 20% off)? Which customers react and respond more to campaigns, credits and gems?
  • Which services generate the most profits?


Beauty Professionals

  • To determine if there is any correlation on what makes beauty professionals more attractive to customers (based on the following hypothesis).
    • Are beauty professionals more attractive if they have a higher chat response rate?
    • Are beauty professionals more attractive if they have a greater variety of services?
    • Are beauty professionals more attractive if they offer less expensive services compared to other professionals?
    • Are beauty professionals more attractive if they offer services on non-working days or hours?


Data Integration and Filtering

Data Collection

To facilitate our data analysis, Vanitee has provided us with access to their current MongoDB database on the cloud. The database contains numerous tables such as customers, beauty professionals, bookings, campaigns etc. Our team has decided to use two full years worth of data which ranges from Jan 2015 to Dec 2016.

Extracted Tables

Different types of data are currently represented by different tables in the database. In this case, there were a total of 59 tables for us to utilize. After exploring each table and its suitability for analysis, we eventually narrowed down to the following 7 tables:

Bookings
A row in this table represents a specific booking of a Customer with a Beauty Professional. The detailed description of the main columns in this table is as follows:
V Bookings Table.png V Bookings Table New Cols.png

Campaigns
A row in this table represents a specific campaign (marketing initiative). The detailed description of the main columns in this table is as follows:
V Campaigns Table.png V Campaigns Table New Cols.png

Categories
A row in this table represents a specific category that can be used to classify services. The detailed description of the main columns in this table is as follows:
V Categories Table.png V Categories Table New Cols.png

Users
A row in this table represents a specific user that has an account on the application (either as a customer or professional). The detailed description of the main columns in this table is as follows:
V Users Table.png V Users Table New Cols.png

Customers
A row in this table represents a specific customer in relation to a specific beauty professional. The detailed description of the main columns in this table is as follows:
V Customers Table.png

Professionals
A row in this table represents a specific beauty professional. The detailed description of the main columns in this table is as follows:
V Professionals Table.png

Services
A row in this table represents a specific service offered by a beauty professional. The detailed description of the main columns in this table is as follows:
V Services Table.png V Services Table New Cols.png

Challenges

As a relatively new startup that is still growing, Vanitee has been doing quite a bit of testing to minimize the number of bugs in their application. However, it has been observed that their testing is not done in a consistent manner which makes it difficult for us to filter out test data accurately. Moreover, some of the tables do not have indicative columns to indicate whether a record is a test data or not. Hence, to overcome this, we have implemented the following measures:

  • Narrowed the initial data range from Aug 2014 - Dec 2016 to Jan 2015 - Dec 2016 as Vanitee had mentioned that larger amounts of testing happened in 2014 when they first officially launched
  • Remove records that have columns that indicate that the record is a test data (e.g. columns such as is_test, test_at, deleted_at)
  • Manually searched for the keyword “test” that appeared in several columns that involve name and description


Another challenge we faced was due to the way Vanitee had structured a few of their tables in the database. For example, the Bookings & Categories table had way more records than expected. The main reason for this was that most of the records were actually related to each other where certain records had a master_id column that referenced another record within the same table. Vanitee’s rationale behind the master_id column was that they wanted to keep track of the changes made to each record but as new records instead of updating the current record. One specific example is that a single booking can have a parent booking (also known as the master booking). The multiple child bookings represent the different states that the booking has undergone. Hence, to overcome this, we have implemented the following measures:

  • For those tables with the column master_id, we created a new column called is_master to indicate whether that record is a master record or not
  • Non-master records are then excluded from analysis and the formulation of graphs


Data Cleaning and Exploration

Issues

Before exploring the data, we faced several issues such as duplication of data, missing values as well as changes in Vanitee’s business model. As these issues may potentially affect the accuracy of our analysis, we have implemented the following measures to overcome these issues prior to performing our analysis.

Duplicate Values

Out of the 7 tables identified above, only the Campaigns table had records with duplicate values. As seen in Figure 3 below, we observed that there were several records that had similar campaign names and almost identical creation date times. However, we realized that only 1 campaign record had campaign codes, while the others did not have. Hence, we made the assumption that only campaigns that had campaign codes were true campaigns that were carried out. Also, to help reduce such duplicate values, we made use of the column is_published to sieve out those campaigns that were actually published over the past 2 years.

V Duplicate Values.png
Figure 3 - Campaign records that have duplicate values

Missing Values

After examining the tables, we realized that different tables had a varying amount of columns with missing values. Firstly, when we looked at the Bookings table, columns that contained monetary values (e.g. final_price, total_price, discount_amount etc.) mostly had missing values as well. Upon further inspection, we deduced that these missing values actually represented the monetary value of 0. Hence we replaced those missing values with the value of 0. Another column that had a huge amount of missing values was price_vanitee_transaction_fee which is the fee that Vanitee profits when an online booking has been successfully checked out. Subsequently, we found out that these missing values were attributed to changes in Vanitee’s business model which we will elaborate further in the next issue.

Another major table that had columns with missing values was the Campaigns table. Columns like start_at and end_at had several missing values that confused us initially. After analyzing Vanitee’s online dashboard, we learnt that campaigns need not have start and end dates to be created. Campaigns that had missing start dates would use the creation date as replacement as clarified with Vanitee. On the other hand, campaigns that had missing end dates would mean that the campaign codes could be redeemed as long as the start date had passed.

Changes in Business Model

After meetings with Vanitee and email correspondence with their developers, we learnt that Vanitee’s current business model was only recently implemented (around Nov to Dec 2016). As seen in Figure 4, there are several changes to their business model. To make matters worse, the Bookings table did not have a column that indicates whether a booking was based on the current or previous business model. In addition, this also partially explains why the column price_vanitee_transaction_fee had missing values (as mentioned above).

V Business Model.png
Figure 4 - Comparison of past and current business models
(*percentages are based on the price of the specific booking)

Since some of our analysis we were about to do involved calculating the profit or Vanitee fee made per booking, we came up with the formula (as shown in Figure 5) below as an alternative way of calculating that value. To put it simply, the profit per booking is the final price that the customer pays (after any discount) minus away the payout that the professional receives, minus away the transaction fee incurred from payment by credit card and finally minus away the cashback that the customer receives as credits. We felt that the benefit of using this formula was that it ignores the Vanitee fee in its calculation and uses the other columns that do not have much missing values instead. Also, it works for any booking regardless of past or current business model.

V Profit Formula.png
Figure 5 - Alternate formula to calculate profit per booking

Findings

Users, Customers & Professionals

1 V Findings Users Type.png
Figure 6 - Users breakdown by type

As we can see from Figure 6, there are much more non-professionals (customers) than professionals who currently have an account on the Vanitee application. This shows that there is indeed a demand for beauty services on this platform as more customers are interested in signing up for an account. However, it is important to note that having an account alone is not indicative of how successful the application is doing in encouraging the customer to book through this platform. We will continue to explore further when we look at the bookings made in the later part of this analysis.
2 V Findings Customers Age.png
Figure 7 - Customers breakdown by age

3 V Findings Customers Gender.png
Figure 8 - Customers breakdown by gender

Looking at Figures 7 & 8, we can observe that most customers that use this platform are mainly females aged between 20 to 35.
4 V Findings Professionals Age.png
Figure 9 - Professionals breakdown by age

5 V Findings Professionals Gender.png
Figure 10 - Professionals breakdown by gender

Similarly from Figures 9 & 10, we can observe that most beauty professionals that use this platform are mainly females aged between 20 to 40.

Bookings

6 V Findings Bookings Type.png
Figure 11 - Bookings breakdown by type

From Figure 11, we can see that there are slightly more online bookings than manual bookings, probably due to greater convenience in using the online platform.
7 V Findings Bookings Status.png
Figure 12 - Bookings breakdown by status

Bookings made through the application can have 4 different statuses namely, Pending, Checkout, No show and Cancel. From Figure 12, we can see how 40% out of the initial 54% of online bookings were successfully checked out. This seems to be a healthy percentage as it can be said that Vanitee only earns revenue from online bookings that are successfully checked out. Hence, the graphs from this point onward would mainly be based on these online bookings that have the status of check out.
8 V Findings Bookings Frequency.png
Figure 13 - Bookings breakdown by frequency

The next graph shows the bookings frequency throughout the past 2 years. Surprisingly, there are many users who have only booked once and this number of users actually significantly drops as the bookings frequency increases. There are probably many reasons why a user has only booked once and we hope to be able to identify these reasons in our future analysis as this would greatly help Vanitee improve on their customer retention strategies.
9 V Findings Bookings by Year.png
Figure 14 - Bookings breakdown by year

As seen from Figure 14, the number of bookings made in 2015 & 2016 are roughly the same, showing how Vanitee has managed to somehow sustain this over the past 2 years.
10 V Findings Bookings by Month.png
Figure 15 - Bookings breakdown by month

Moving to Figure 15, it can be deduced that these bookings tend to occur in the last quarter of the year.
11 V Findings Bookings by Month Year.png
Figure 16 - Bookings breakdown by month & year

From Figure 16, we get to see a clearer picture of how the bookings vary across the past 2 years. In general, it can be said that Vanitee did much better in the last quarter of 2015 (right after its official launch) as compared to that of 2016. In the earlier part of 2016, it suffered a decline in the number of online bookings that were successfully checked out. However, this number gradually picked up some pace towards the last quarter of 2016. One reason for this could be the change in Vanitee’s business model which happened around that period as well. The main difference in the business models is the introduction of customer cashback, in the form of credits, to incentivise customers to make more bookings.
12 V Findings Bookings by Day.png
Figure 17 - Bookings breakdown by day

In Figure 17, it can be observed that the frequency of bookings tend to increase nearer to the weekends (Friday, Saturday) where people naturally have more free time to themselves.
13 V Findings Bookings by Recency 1.png
Figure 18 - Bookings breakdown by recency (initial)

The next thing we tried to find out from the Bookings data was whether existing customers have made any recent bookings. This was an important analysis to do as it provides us with a general idea as to how active the customers are in using this platform. As seen from Figure 18, we decided to calculate the duration from the last time that each customer has made a booking to 31 December 2016 which is the latest possible date from the data range we have selected. Initially, we came up with categories in terms of weeks with “>1 month” being the last category. However, upon generating the graph, we realized how skewed the analysis was as approximately 94% of customers fell under the “>1 month” category. Hence, to make this analysis more insightful, we decided to refine the categories to include durations in terms of months.
14 V Findings Bookings by Recency 2.png
Figure 19 - Bookings breakdown by recency (final)

Figure 19 shows a much clearer picture of the recency analysis where we could conclude that 50% of existing customers have booked within the last year while the remaining half had not.
15 V Findings Bookings Monetary Value.png
Figure 20 - Bookings breakdown by monetary value

The next figure above shows that 61% of online bookings made have a monetary value of less than $50. This possibly shows how customers are generally willing to pay for beauty services that cost around $50. Exceeding this mark shows a huge decrease in the number of bookings made.
16 V Findings Bookings Duration First Booking.png
Figure 21 - Bookings breakdown by duration from signup to 1st booking (initial)

17 V Findings Bookings Duration First Booking 2.png
Figure 22 - Bookings breakdown by duration from signup to 1st booking (final)

Figure 21 & 22 shows the bookings breakdown by the duration from when customers signup to their very first successful online booking. While generating this analysis, we faced a similar issue of having an overly skewed results, in this case 75% of customers make their first booking within 1 week of their signup. As this percentage was pretty large, we decided to take the same action and break it down to smaller durations in terms of days as seen in Figure 22. The final result ended up to be very positive showing that 62% of customers make their first bookings within a day of their signup.
18 V Findings Bookings Service Count.png
Figure 23 - Bookings breakdown by service count

Figure 23 shows us the bookings breakdown by service count. In this case, 74% of bookings only involve 1 beauty service. This shows that most customers are specific in targeting the main beauty service that they want to engage in, be it nails or brows or other types of services.
19 V Findings Bookings Category.png
Figure 24 - Bookings breakdown by category

This figure simply shows that most bookings involve nail, makeup and brow services.
20 V Findings Bookings Campaign Usage.png
Figure 25 - Bookings breakdown by campaign usage

As seen from Figure 25, about two thirds of the bookings made involve some form of campaign which allows customers to enjoy booking discounts.
21 V Findings Bookings Credits Usage.png
Figure 26 - Bookings breakdown by credit usage

However, when we tried looking at the percentage of bookings that utilized credits, we found out that this percentage only amounts to approximately to 1%. One possible reason for this extremely low number is that most customers have only made 1 booking, which means that they have not even utilized the credits earned from their 1st booking. Another reason is that the current business model that involves customer cashback in the form of credits was only introduced in the last quarter of 2016.
22 V Findings Calculation.png
Figure 27 - Profit per booking formula comparison

The last thing that we wanted to find out was the total profit that Vanitee had made over the last 2 years. Utilizing the 1st formula in Figure 27, we calculated the profit to stand at a surprising value of -$98k. One of the main reasons for this is that their current business model doesn’t allow for much profits to be made, especially when there are Vanitee discounts involved in bookings. As compared to bookings that have no discounts or have professional discounts, we noted that Vanitee discounts are naturally absorbed by Vanitee itself and may be part of their marketing budget to try to incentivise more people to use the platform. Also, in this specific scenario where Vanitee discount is present, other fees such as payout, transaction fee & customer cashback are still calculated based on the initial price before the discount.

As we felt that such calculations may put Vanitee at a disadvantage, we came up with a revised formula as seen in Figure 27 that calculates the profit based on the scenario where the above mentioned fees are calculated based on the final price after the discount. As expected, the final profit turned out to be a less negative amount of -$85k. A simple change in formula actually resulted in $13k being saved. However, we do understand that there may be a possibility that the calculated losses may very well fall within Vanitee’s budget.

Services

23 V Findings Services Price.png
Figure 28 - Services breakdown by price

Next, we shifted our focus to the services table, which includes the services that professionals have created through the application. For the following few analysis, we have only looked at services that are published, meaning only those active services that are currently visible to customers for their selection. To start off, Figure 28 shows how majority of services are priced at $50 or less. This shows that professionals have a rough idea that services that are priced at $50 or less may be more attractive to customers. The previous graph showing how majority of bookings having a monetary value of $50 or less reinforces this point.
24 V Findings Services Professional.png
Figure 29 - Services breakdown by professional

25 V Findings Services Category.png
Figure 30 - Services breakdown by category

Next, Figures 29 & 30 show the number of services that most professionals have as well as the category the most services belong to respectively. We can see that most professionals only have 1 service that customers can select from. A possible explanation for this could be the fact that some of these services could be over generalized such that the customer gets to only customize his or her service on the actual day of the booking itself. Also, as expected, majority of services offered involve nails, which corresponds the the graph earlier where most bookings are categorized under nails as well.


Campaigns

26 V Findings Campaign Duration.png
Figure 31 - Campaigns breakdown by duration

The final data table that we have explored and analyzed is the Campaigns table. Figure 31 shows that most campaigns last for either 1 week or 2 months. This duration is calculated by taking into account the start and end date of the campaign. However, this graph alone does not tell us why the above stated durations are more prevalent.
27 V Findings Campaign Type.png
Figure 32 - Campaigns breakdown by type

28 V Findings Campaign Discount Type.png
Figure 33 - Campaigns breakdown by discount type

Figures 32 & 33 show the breakdown of campaigns by type and discount type respectively. We can see that majority of the campaigns involves partnering banks such as DBS etc. Also, these campaigns often offer a fixed amount of discount.
29 V Findings Campaign Discount Amt.png
Figure 34 - Campaigns breakdown by discount amount

This discount normally amounts to less than $20 per booking which we feel is already a substantial amount for customers to utilize.
30 V Findings Campaign Usage.png
Figure 35 - Campaigns breakdown by usage

Next, we have also analyzed the campaigns by their usage. The way we calculated the usage basically whether a particular campaign has any booking that utilized the campaign codes belonging to that campaign. However, based on our previous meeting with Vanitee, we understand that such a graph may not be as accurate as it seems due to the presence of test data that we currently have no way of filtering out.
31 V Findings Campaign Duration First Booking 1.png
Figure 36 - Campaigns breakdown by duration from start to 1st booking (initial)

32 V Findings Campaign Duration First Booking 2.png
Figure 37 - Campaigns breakdown by duration from start to 1st booking (final)

Due to the uncertainty of the previous graph on whether campaigns created are actually being used, we decided to zoom into those current active campaigns that have at least one booking tied to it. From there, we came up with the above 2 graphs that tells us the breakdown of campaigns by duration from the start of the campaign to the very 1st booking made. Initially, 67% of the campaigns received their very first booking within 1 week of launch. After looking into further, we learnt that a positive percentage of 34% of campaigns actually had their 1st booking within 1 day. This shows how customers are quick to react to any new campaigns created.

Revised Methodology

Cluster Analysis

Next, cluster analysis will be carried out to determine the existence of clusters amongst Vanitee’s customers and beauty professionals. We will attempt to identify the profiles of each cluster according to their booking history and examine the reasons affecting the performance of each cluster. Thereafter, we hope to translate the identified clusters into a form of customer segmentation to help Vanitee better understand its customer base.

Survival Analysis

We will also be attempting to conduct survival analysis to predict the Customer Lifetime Value (CLV) by campaign. Survival analysis is a statistical technique that analyzes the duration to a certain event (e.g. a booking on Vanitee). Hence, such analysis will aim to which campaign drives the highest value customer and in the event of a new campaign, which customer profile will be respond early during a campaign (over a fixed period of time). The effectiveness of campaign codes in ensuring repeat bookings can also be investigated through such an analysis.

Revised Scope of Work

Our scope of work mainly remains the same as before as stated in our project proposal. However, based on the comments given by our sponsor and project supervisor, our team has decided to revise some of the exploratory data analysis. For certain charts, we will break down further to derive more specific information that will help Vanitee understand the situation on hand. The charts we will supplement are as follows:

  1. A chart to display the breakdown of bookings based on the day it is being checked out, meaning the day the service is being booked for and carried out. This chart will complement the already existing chart that displays the breakdown of bookings based on the day the booking was created, meaning the day the customer made the booking.
  2. A chart that will display the breakdown of individual services by price. For now, the current bar chart shows the breakdown of of the services by price.
  3. A chart that will display the breakdown of campaigns that have the most redemptions. This chart will facilitate our analysis to find out the ideal duration and discount a campaign should have.

From the feedback we got from Prof. Kam, we have decided to focus our analysis more on customers and bookings (which includes the usage of campaigns and credits) as compared to the beauty professionals. Also, our sponsor feels that it is more beneficial to them to understand more about their customers. For this reason, we will not be looking at the activeness of a beauty professional but we will continue the analysis on the attractiveness of a beauty professional as the attractiveness of a beauty professional affects the way customers make their booking whereas the activeness of the beauty professional is less likely to do so.

Moving forward, our analysis will allow us discover insights based on Vanitee’s revenue and bookings. For instance, for the service(s) that have the most bookings made, Vanitee would like to know what the ideal price of the service should be. Also, we will look into successful bookings that used campaign codes to find out the ideal type of discount and for what duration.

The table below will illustrate better our updated work scope:

V Work Scope.png

Project Timeline

V Project Timeline 4.JPG

Revised Work Plan

V Project Schedule 2.JPG