← Selected work
CASE STUDY · P&G · 2017 TO 2019
3 → 1
Model signals, one ranking
I combined PCA-based similarity, XGBoost and random forest scores into a single store-priority list.
About $2M
Estimated opportunity I sized
Estimated growth opportunity from a separate hair care analysis of what high-performing stores had in common. Opportunity sized, not realized sales.
Launch
Store prioritization
The pipeline gave the new hair care line a focused list of retail opportunities to pursue.
Self-serve
Analyst enablement
I trained analysts across business teams and coached them to run market profiles independently.
ROLE
Data scientist, P&G · 2017 to 2019. Hands-on modeling, reusable analysis workflows and business adoption.
TEAM
I partnered with business analysts, brand teams and retail teams, building on the company’s existing analytics foundation.
STACK
Python · R · SQL · PySpark / Hadoop · XGBoost · Random forests · PCA · Ensemble modeling · Feature engineering · Entity resolution · Test-and-control analysis · KNIME · Tableau
MY PART
Built the ensemble modeling pipeline and store-priority analysis, wrote reusable analytical code, translated results into business recommendations, and trained analysts.
The ensemble model I built
I combined three scoring approaches into one ranked list of stores. This is how my modeling pipeline turned store and neighborhood data into a recommendation for the new hair care line.
MY WORK · MODELING PIPELINE
01 / Prepare store-level inputs
Combine store performance with neighborhood context. Build the inputs for store scoring.
↓ Score each candidate store
PCA-based similarity
Compare candidate stores with patterns in high-performing stores.
XGBoost
Use boosted decision trees to capture relationships in the features.
Random forest
Combine decision trees to produce another view of store potential.
↓ Combine the three scores
One ranking → A focused store-priority list
Average the scores and rank stores. Translate the ranking into retail opportunities for the new hair care line.
Conceptual summary. Proprietary inputs, model settings and store results are omitted.
Helping a new product find the right stores
The problem
A new hair care line needed a clear view of where it could sell. Store-level demand varied, and the business needed a practical way to prioritize retail opportunities.
My job was to turn that business question into a modeling workflow and a recommendation. Neighborhood analytics connected patterns in store performance with information about the surrounding market.
Harvard Business School’s 2020 case “Applying Data Science and Analytics at P&G” describes the broader neighborhood analytics initiative and the hair care line’s use of store ranking. It provides context for the project; it does not profile my individual contribution.
Three approaches, one store-priority list
I built the pipeline around a PCA-based similarity score, XGBoost and random forest models. The similarity score compared candidate stores with high-performing stores; the tree models captured more complex relationships. I averaged the three scores into one ranking and used it to produce a priority list for the new line.
Applying the method across business questions
Alongside the launch work, I used predictive models and market profiles to help hair care and grooming teams decide where to focus. I worked directly with analysts and business partners to translate model outputs into recommendations.
What set the best stores apart
For an established hair care brand, I used principal component analysis to understand patterns in high-performing stores and sized an estimated growth opportunity of about $2M in the recommended markets.
Where a business was losing share
With a business analyst and the regional team, I identified markets contributing to a decline in share. The team used that analysis to focus its in-store stocking efforts.
Turning analysis into a business recommendation
A model score only becomes useful when a team knows what to do with it. I translated results into store lists and market profiles, then worked with business partners to interpret the opportunities.
In a separate retail analysis, I built a repeatable workflow to compare stores receiving an intervention with similar stores that did not. I also reconciled records across sources so the analysis could cover an additional retailer.
Teaching others to run it
I trained analysts across business teams in SQL, KNIME and neighborhood analytics, then coached them on live questions. Analysts went on to run market profiles independently, giving the business a way to answer recurring questions without waiting for a data scientist.
I also delivered group training and helped plan the next phase of analytics work. The handoff included reusable code and documentation so colleagues could continue the analysis.
What the work enabled
The new hair care line had a focused store-priority list, business teams had reusable analyses, and analysts could run market profiles independently. I later carried neighborhood features into shelf analytics, building on the same connection between local demand and store-level decisions.
Technical depth behind the recommendation
The work combined statistical modeling, data preparation and workflows that business teams could use.
01
Dimensionality reduction
I used principal component analysis to summarize correlated attributes and compare stores on a smaller set of patterns. That made a large feature space useful for similarity scoring and driver analysis.
02
Ensemble modeling
I combined a similarity-based score with boosted-tree and random-forest scores. The pipeline brought those different views of a store into one ranking for the business.
03
Reusable data workflows
I prepared data, reconciled store records across sources, and turned repeated analysis steps into code and workflows that colleagues could run again.
Three calls I made
01
Make the model answer a decision
CONTEXT
The hair care team needed to decide which stores to prioritize for a new line.
WHAT I DID
Built the ensemble pipeline and translated its scores into one ranked store list.
RESULT
The team had a concrete set of retail opportunities to pursue.
02
Turn repeated questions into reusable code
CONTEXT
Business teams repeatedly asked what set their strongest stores and markets apart.
WHAT I DID
Wrote reusable analysis code and built workflows for recurring store-level questions.
RESULT
The analysis could be repeated and extended without starting from scratch.
03
Build the capability in the business
CONTEXT
Routine market questions should not depend on a data scientist for every answer.
WHAT I DID
Trained analysts, coached them on live work, and documented the methods.
RESULT
Analysts ran market profiles independently, while I focused on more complex modeling.
What I would do differently
Track what happened next
I would agree on a follow-up measure before delivering each recommendation: which stores adopted it, how performance changed, and what comparison would make that change meaningful. That would connect the model’s output more directly to the business result.