Visualizing choice data

Choice Modeling for Marketing in R

Elea McDonnell Feit

Assistant Professor of Marketing, Drexel University

xtabs(~ trans, data = sportscar)
trans
  auto manual 
  3001   2999
xtabs(~ trans + choice, data = sportscar)
        choice
trans       0    1
  auto   1627 1374
  manual 2373  626
xtabs(choice ~ trans, data=sportscar)
trans
  auto manual 
  1374    626
Choice Modeling for Marketing in R

Plotting the output of xtabs()

plot(xtabs(~ trans + choice, data = sportscar))

Trans choice counts

Choice Modeling for Marketing in R

Transmission choice by segment

plot(xtabs(~ trans + segment + choice, data = sportscar))

Trans segment choice counts

Choice Modeling for Marketing in R

Let's practice!

Choice Modeling for Marketing in R

Preparing Video For Download...