order fulfillment forecasting at john deere: how r facilitates creativity and flexibility

50
Valid Statistical Analysis at John Deere and Use of the R Programming Language Derek Hoffman Nov-8-2012

Upload: revolution-analytics

Post on 26-Jan-2015

110 views

Category:

Documents


0 download

DESCRIPTION

Statistical analysis has been known to be invaluable to any manufactory’s quality assurance for decades. Recently the value of valid statistical analysis has also been demonstrated to radically improve the ability of a company’s ability to weather extreme peaks and valley in customer demand. John Deere has been able to adjust to commodity spikes and housing downturns much better than its competitors have. This is in part due to the implementation of statistical analysis and the use of R software in the order fulfillment function of John Deere.

TRANSCRIPT

Page 1: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Valid Statistical Analysis at John Deere and Use of the R Programming Language

Derek Hoffman

Nov-8-2012

Page 2: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

A bit about your speaker…

• BS in Statistics andMaterial Science@ Winona State

University• Masters in Statistics

@ Iowa StateUniversity

• 5 Years @ John Deere

Page 3: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Forecasting Group in 2012

• Improvements due to the science of forecasting• Explosion in value and statistician hiring• Increase in problem solving flexibility due to use of R• Huge company saving with dropping flop forecasting software

Page 4: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

• Revenue of roughly 35 billion, 8.7% profit

• Has been a Fortune 500 company for the last 56 years, roughly 94th in rank.

• Employs about 50,000 people world wide –roughly 5,000 of them in the Moline headquarters.

Page 5: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Deere & Company – 3 parts

• Agriculture ~70%

• Turf~15%

• Construction~15%

Page 6: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Why does Deere hire forecasters?

• Availability needs to match demand OR you lose market share

• Inventory needs to stay low OR you pay lots in taxes and storage costs

• New factories need to be built at the right size and time OR you made a multi million dollar mistake.

• Work force needs to be hired/cut depending on production plans OR you lose tons training and severance.

Page 7: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

My group’s reach at John Deere

CEO, Presidents, Financials

Factory Shifts and

Production

Flexibility of Inventory

Next Month

New Markets, 10 Years Out

Forecasts

Page 8: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

My group’s reach at John Deere

CEO, Presidents, Financials

Factory Shifts and

Production

Flexibility of Inventory

Next Month

New Markets, 10 Years Out

Forecasts

Page 9: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Why do statisticians love R?

• Common statistical methods are available as packages (advantage over C++)

• Large support group of users worldwide• Credibility due to submission standards and

university usage.• Often the program of choice during education• Easy to send results to another person (even

if just text files for data and code)

Page 10: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Why does Deere love R?

• The cost is right• Open source – no black box mysteries, no

propriety lock downs• Easy to share across the business• Relatively easy to learn• Often works better or faster than microsoft

products for data and analysis• Infinitely customizable to your problem and

your products – vertical integration

Page 11: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Case Studies at John Deere

• Short Term Demand Forecasting• Crop Forecasting• Long Term Demand Forecasting• Parts Decision Tree (APO)• Order Line Up• Data Coordinator

Page 12: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Short Term Demand Forecasting

Composite Forecast

Estimate Group

Forecast

Factory Forecast

Marketing Forecast

Potential Good:•Multiple view points•Buy-in from all players•Disciplined in forecast creation

Potential Bad:•Group-think•Pressures other than accuracy•Poor information digestion

Page 13: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Bad Forecasting Philosophies

News, Experience

Experience + Feelings on that Day + Outside

pressures

“Forecasts” and directives and

goals

Executive OverrideNews,

Experience, Last YR’s #’s

Math Comparisons, Finical Forecasting,

Experience, Outside forecasts

Forecasts

Gut Feel / Art

History

?

Forecasts (NO estimates of

accuracy, NO interpretation)

Blackbox Forecasts

Page 14: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Forecasting Philosophies

Historical Data(known because is in the

past or current)

Data + Math/Statistics

as calculated by a trained statistician

Forecasts andMEANINGFUL

plus/minus intervals

(flexibility and bad forecast detection)

Statistical ModelsAssumptions

(user generated assumptions about the

future)

Data + Math/Statistics

as calculated by a trained statistician

Forecasts and Analysis of

Forecast Error Contributions by

Assumptions

Assumption ModelsData, Assumptions,

News, ???, Outside Forecasts

Data + Economics + ???

as created by a trained economist

Forecasts, Outside

Forecasts, Current Economic

News

Economic Models

Page 15: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Use of Data-Driven Analysis

Analysis done in my group using R and company data.

Page 16: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Case Studies at John Deere

• Short Term Demand Forecasting• Crop Forecasting• Long Term Demand Forecasting• Parts Decision Tree (APO)• Order Line Up• Data Coordinator

Page 17: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Crop Yields Forecasting

Page 18: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Relative Land Area and Use

Circle = Total Land

Page 19: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Acres in Major World Crops

Circle = Total Crop Land

Page 20: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Crop Yields Forecasting

Page 21: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Crop Yields Forecasting

History

1 Year OUT

2nd Year OUT

3rd Year OUT

The whole time, calculating the valid forecast error and influences.

A large computational task, heavily using programs written in R.

Page 22: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Changes in Crop Splits

Page 23: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Corn Yields

Page 24: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Case Studies at John Deere

• Short Term Demand Forecasting• Crop Forecasting• Long Term Demand Forecasting• Parts Decision Tree (APO)• Order Line Up• Data Coordinator

Page 25: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

The Wrong way – Growth f(t)

• The problem really is that we are looking at a correlation with time, not a causation. Also we will always be extrapolating (because the future value of time is outside the our historical data set).

Page 26: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

What are Likely Causes?

• Crop Yields• Planted Acres• Crop Prices• Population• Gross Domestic Product• Farm Size• Government• Mechanization Level of Farming• Crop Choices (Corn damages combines faster than

wheat.)

Page 27: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Example of Calculations

The whole time, calculating the valid forecast error and influences.

A large computational task, heavily using programs written in R.

Page 28: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Case Studies at John Deere

• Short Term Demand Forecasting• Crop Forecasting• Long Term Demand Forecasting• Parts Decision Tree (APO)• Order Line Up• Data Coordinator

Page 29: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Parts Forecasting

• Tons of parts, need direction how to best forecast with SAP.

Page 30: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Parts Forecasting – Trilingual?

Page 31: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Case Studies at John Deere

• Short Term Demand Forecasting• Crop Forecasting• Long Term Demand Forecasting• Parts Decision Tree (APO)• Order Line Up• Data Coordinator

Page 32: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Order Scheduling

Page 33: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Order Scheduling

Restraint on Feature A: At most 2 per 4 in a row.

We’re OK!

Page 34: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Order Scheduling

Restraint on Feature A: At most 2 per 4 in a row.

We’re OK!

Page 35: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Order Scheduling

Restraint on Feature B: At most 1 per 3 in a row.

We’re OK!

Page 36: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Order Scheduling

Restraint on Feature A: At most 1 per 3 in a row.

We’re got a problem!

Have to move Matt or Shawn’s tractor to another spot and recheck it all!

Page 37: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Harvester Lineup – Random Guess

Page 38: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Harvester Lineup – Program Results

Page 39: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Order Scheduling – Time

Page 40: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Order Scheduling = $$$

• Old Process– Done manually by

hand– Weekly– Duration: 8 Hours– Not necessarily perfect

• Derek’s Process– Automates the process– Duration: 1.5-2 hours– Human time:15 mins

– Saves about 8 hours per week

– Saves ~$12K per year, per product implementation

Page 41: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Case Studies at John Deere

• Short Term Demand Forecasting• Crop Forecasting• Long Term Demand Forecasting• Parts Decision Tree (APO)• Order Line Up• Data Coordinator

Page 42: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Data Coordinator Uses

DB2

DB2

SQL

Oracle

Multiples Data

sources and Data types

Multiple ODBC

Connections

Single R source Code

DB2

Export Channels

Scheduled Tasks

Batch File execution

Page 43: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

A forecast of “Analytics”

• A short history of “cool topics”

• The future of forecasters

• The coming data flood and analytics boom

increase in scalpels ≠ increase in surgeons

Page 44: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

The cool word of the year – Dot-com

Page 45: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

The cool word of the year - Radiation

Page 46: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

The cool word of the year – Big Data

How can we grow responsibly as data scientists and statisticians?

Page 47: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Signs you are in the hype

• Everyone claims it will change the world• It’s taught in business schools• Features on covers of general magazines• TONS of snake-oil salesmen• Legitimate ease in access to the new thing

Page 48: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Cautionary tale:

• Thousands spent on a weather “forecast”

• Ridiculous accuracy measures

• Business users don’t know the short falls till it’s too late

Page 49: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

• A need for educated gate keepers to weed bad analysis from good.

• More people are needed to practice forecasting as a profession – or the whole industry will suffer.

• More data, more ease, more computing needed, with greater need for responsible use.

Growing Need of Forecasting Professionals

Page 50: Order Fulfillment Forecasting at John Deere: How R Facilitates Creativity and Flexibility

Statistics and R at John Deere

• John Deere is among the best in large manufactures in implementing good forecasting methods to demand planning

• There are still huge areas to grow – no where near the data usage of companies like Amazon or Wal-Mart

• The challenge is to increase usage and access while maintaining a good internal and external reputation