Customer satisfaction analysis with the multiple logistic regression

To begin with, let us consider the data collected at a restaurant through customer interviews. The customers were asked to give a score to the following aspects: Service, Ambience, and Food. They were also asked whether they would leave the tip on the basis of these scores. In this case, the number of inputs is three and the output is a categorical value (Tip=1 and No-tip=0).

The input file to be used is shown in the following screenshot:

All the variables are shown in the following list:

  • CustomerWillTip
  • Service
  • Ambience
  • Food

This is a classification problem with three ...

Get Regression Analysis with R now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.