Top Banner
Session 1 Database Marketing
55

Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Dec 17, 2015

Download

Documents

Coleen Blair
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Session 1

Database Marketing

Page 2: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Agenda

Administrative Course Work – Group/Individual Syllabus

Course Overview Regression Analysis Introduction to SAS

Page 3: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Group Work

Two Assignments Part I (3%) – run the SAS code

Email the SAS output to the TA: [email protected] More details on how to save output later!

Part II (12%) – analyze the output Answer questions in the assignment based on the results

Term Project Part I (10%) – group presentation Part II (20%) – group report

Page 4: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Individual Work

Midterm Exam (40%) – tested on material covered in weeks 1-4

Peer Evaluation

No Final Exam!

Page 5: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

What the Course does NOT cover?

Hardware/Software issues related to database management systems

Building a Marketing Database Neural Networks/Genetic Algorithms

Page 6: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

What does the course cover?

Relationship between variables (Chapters 18, 19) Simple/Multiple Regression analysis

Segmentation Analysis (Chapter 21) Cluster Analysis Data reduction technique – Factor Analysis

Response Analysis (Chapters 20, 28, 29, 30) Regression Analysis Discriminant Analysis Logistic Regression

Page 7: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Database Marketing? Managing a computerized relational database system, in real

time, of comprehensive up-to-date, relevant data on customers,

inquiries, prospects and suspects, to identify our most

responsive customers for the purpose of developing a high

quality, long-standing relationship of repeat business by

developing predictive models which enable us to send desired

messages at the right time in the right form to the right

people – all with the result of pleasing our customers, increasing

our response rate per marketing dollar, lowering our cost per

order, building our business and increasing our profits. -

National Center for Database Marketing

Page 8: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

What is the Big Deal?

All customers are not created equal! 80% of all repeat business of goods and

services comes from 20% of the customer base

Lot of direct marketing efforts are misdirected resulting in lower payoffs Credit card mailings

Page 9: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Direct Marketing vs Database Marketing

My view: Direct Marketing done well is Database

Marketing

Read Chapter 32

Page 10: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Market Research Techniques?

Will always continue to be helpful Earlier …

A mutual fund company could tell that 20% of 40-45 year old males making $50-$75K were interested in investing in mutual funds

But which 20%?

Now They can probably tell

Page 11: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Why?

Increased

Data

Availability!

Page 12: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Data Sources (chapter 4)

Transaction Data Easily available with increased use of

scanners Prospect Data

Either maintained or acquired Directly Supplied Data

Data that is provided directly by customers Data acquired from third-party

Page 13: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Data Sources …contd.

Directly Supplied Data Demographic Attitudinal – preferences, met/unmet needs,

lifestyle preferences, values, opinions etc. Behavioral – purchase/buying habits etc.

Traditionally acquired by conducting surveys Advances in the database technology,

precipitous drop in the price of computing/storage, rapid diffusion of the internet all aid the collection of this data

Page 14: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Where are We Now?

Firms have access to a reasonable amount of customer data

Certainly enough to enable them to do better job of marketing

More consumer data is certainly desirable

Page 15: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Catalog Marketing

JCPenney Mails out fliers frequently to inform customers

about ongoing promotions Mailings are not costless – firms operate under

budget constraints and would reasonably want to maximize the payoffs from such mailings!

What criteria should they use in mailing out these fliers?

Should they include a $10 coupon or $5 coupon?

Page 16: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Fund Raising

Non-Profit Organizations Solicit Donations – solicitation process

costly Who should they solicit? What amount should they solicit? Is the

amount solicited too high or too low?

Page 17: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Admission Process

Schools may wish to manage the matriculation process efficiently

Schools send out marketing materials to prospective students – some students may seek application material

Schools invest additional (costly) marketing efforts – are these even worthwhile if the student is not likely to matriculate?

Page 18: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Cross-Selling

Buy tickets for a Maverick’s game from the ticket master

Ticket master will attempt to sell you something by transferring you to a potential seller

Is there a more effective way?

Page 19: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Communication Strategies

BMW recently introduced an SUV to compete with the Mercedes’ M-series In which magazines or cable programs

should they advertise? What should the advertising copy

emphasize? ….. countless other applications !!

Page 20: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Economics of Database Marketing

Trade-offs Short-term costs vs long-term pay-offs Inter-relationship between costs and pay-

offs

Benefits of Segmentation

Page 21: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Big Picture Understand customer behavior Segment customers based on behavior Establish link between (possible)

behavior and identifiable (or targetable) characteristics of customers

Target using above

Page 22: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Hot Picture

Behavior

Segment 1

Segment 2

Secondary

Data

Distinguishing

Characteristics Targeting

Page 23: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Hotter Picture

Behavior

Segment 1

Segment 2

Secondary

Data

Distinguishing

Characteristics Targeting

Factor Analysis Cluster

Analysis

Discriminant/Logit Analysis

Page 24: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Putting things in Perspective

Core Marketing Concepts Segmentation Targeting Positioning

Page 25: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Agenda

Relationship between variables Review of Regression Analysis (chapter

18) Introduction to SAS programming

Page 26: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Data (chapter 18)

Catalog New Old

A 50 0

B 0 50

Page 27: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

RelationshipP

erce

ntag

e bu

ying

A

New Old

Page 28: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Data

Catalog Old New

A 500 500

B 500 500

Page 29: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

RelationshipP

erce

ntag

e bu

ying

A

New Old

Page 30: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Data

Catalog New Old

A 110,300 11,500

B 20,700 76,600

Page 31: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

RelationshipP

erce

ntag

e bu

ying

A

New Old

Page 32: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Correlation Coefficient (r)

Statistical measure of the strength of relationship between two variables

r [-1,1] r [0,1] indicates a positive relationship r [-1,0] indicates a negative relationship

Page 33: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Know your Data

Sample should be representative of the population data

Reason why experts advocate the use of random samples

Page 34: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Regression Analysis

What does it do? Uncovers the relationship between a set of

variables

Simple Regression

y = f(x) Regression sets out to find the f(x) that

best fits the data

Page 35: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Assumptions:

f(x) is known up to some parameters So f(x) = a + bx Problem: Find a, b that best fit the data

An Example: Weight = a + b*Height

Page 36: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

How does it Work?

Finds a, b that best fit the data Further assumptions:

Weight = a + b*Height + error Error is distributed normally: N(0, 2) Criteria – finds a, b that minimize the sum

of squared errors.

Page 37: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Picture

Page 38: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Return to Catalog Example

Hypothesis: Customers who purchase more

frequently also buy bigger ticket items

Page 39: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Data (Table 18-7, pg. 238)Number of Purchases (X)

Largest Dollar Item (Y)

1 2

2 3

3 10

4 15

5 26

6 35

7 50

Page 40: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Regression Model

Y = a + b X + error

Estimates: a = -18.22 b = 10 Goodness of Fit Measure: R2 = 0.946

Page 41: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Diagnostics

Linearity Assumption Y is linear in X – does this hold? If not transform the variables to ensure that

the linearity assumption holds Common Transforms: Log, Square-root,

Square etc.

Page 42: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Plot Y vs. X (r=0.97)

Y vs X

0102030405060

0 5 10

X

Y Series1

Page 43: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Plot Y1/2 vs. X (r=0.99)

Sqrt(Y) vs X

0

1

2

3

4

5

6

7

8

0 2 4 6 8

X

Sq

rt(Y

)

Series1

Page 44: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Regression Model

Y 1/2= a + b X + error

Estimates: a = 0.108845 b = 0.984 Goodness of Fit Measure: R2 = 0.9975

Page 45: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Obsession with R2

Can be a misleading statistic R2 can be increased by increasing the

number of explanatory variables R2 of a bad model can be higher than

that of a good model (one with better predictive validity)

Page 46: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Multiple Regression

Y = b0 + b1 X1 + b2 X2 + …+ bn Xn

Same as Simple Regression in principle

New Issues: Each Xi must represent something unique

Variable selection

Page 47: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Multiple Regression

Example 1: Spending = a + b income + c age

Example 2: weight = a + b height + c sex + d age

Page 48: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Introduction to SAS

SAS is an integrated system of software products that enables you to perform: Data entry, retrieval and management Statistical and Mathematical analysis Report writing Other stuff

Page 49: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

SAS Dataset

variable

observation

Page 50: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

DATA Step and SAS Procedures DATA step

Consists of a group of statements that read/manipulate raw data or operates on existing SAS data sets to create a SAS data set

SAS Procedures Work with SAS data sets to help in data

management, statistical analysis etc.

Page 51: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

How to Read a raw data (ASCII) file

libname mylib “some directory name”;data mylib.dat1;infile “name of the file” linesize=100 missover;length charvar1 $ 20;length charvar2 $ 5;input numvar1 numvar2 charvar1 $ numvar3 charvar2

$;

You have just read a raw data file with 3 numeric and 2 character/string variables into a SAS data set called dat1

Page 52: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Transforming Variables

newvar = log(oldvar); natural log

newvar = sqrt(oldvar); square root

newvar = oldvar**2; square

Standard Arithmetic Operators

Page 53: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Data Management

Sorting a data setProc sort data=mydata; by <descending> varname;

Merging data setsProc sort data=mydata1; by <descending> varname;

Proc sort data= mydata2; by <descending> varname;

Data targetdataset;

Merge mydata1(in=g) mydata2; by varname;

If g;

Page 54: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

Statistical Procedures

Proc Reg data=indata <options>;

Model y = x1 x2 x3;

Proc Factor data= indata <options>;

Var x1 x2 x3;

Proc Cluster data= indata <options>;

Var x1 x2 x3;

Page 55: Session 1 Database Marketing. Agenda Administrative Course Work – Group/Individual Syllabus Course Overview Regression Analysis Introduction to SAS.

SAS Exercises

Read in an Excel Sheet Create some data in excel (you may wish to

replicate the data we used in our regression example)

Use the import feature in SAS to read in the file

Write a regression program to: Estimate the relationship between Y and X Sqrt(Y) and X Y and X2