Customer and Business Analytics

Customer and Business Analytics

Customer and Business Analytics Computer Science/Business The R Series Customer and Business Analytics: Applied Data Mining for Business Decision Customer and Making Using R explains and demonstrates, via the accompanying open-source software, how advanced analytical tools can address various business problems. It also gives insight into some of the challenges faced when deploying these Business Analytics tools. Extensively classroom-tested, the text is ideal for students in customer and business analytics or applied data mining as well as professionals in small- Applied Data Mining for to medium-sized organizations. The book offers an intuitive understanding of how different analytics algorithms Business Decision Making Using R work. Where necessary, the authors explain the underlying mathematics in an accessible manner. Each technique presented includes a detailed tutorial that enables hands-on experience with real data. The authors also discuss issues often encountered in applied data mining projects and present the CRISP-DM process model as a practical framework for organizing these projects. Features • Enables an understanding of the types of business problems that advanced analytical tools can address • Explores the benefits and challenges of using data mining tools in business applications • Provides online access to a powerful, GUI-enhanced customized R package, allowing easy experimentation with data mining techniques • Includes example data sets on the book’s website Showing how data mining can improve the performance of organizations, this book and its R-based software provide the skills and tools needed to successfully develop advanced analytics capabilities. Putler • Krider Daniel S. Putler K14501 Robert E. Krider K14501_Cover.indd 1 4/6/12 9:50 AM Customer and Business Analytics Applied Data Mining for Business Decision Making Using R Chapman & Hall/CRC The R Series Series Editors John M. Chambers Torsten Hothorn Department of Statistics Institut für Statistik Stanford University Ludwig-Maximilians-Universität Stanford, California, USA München, Germany Duncan Temple Lang Hadley Wickham Department of Statistics Department of Statistics University of California, Davis Rice University Davis, California, USA Houston, Texas, USA Aims and Scope This book series reflects the recent rapid growth in the development and application of R, the programming language and software environment for statistical computing and graphics. R is now widely used in academic research, education, and industry. It is constantly growing, with new versions of the core software released regularly and more than 2,600 packages available. It is difficult for the documentation to keep pace with the expansion of the software, and this vital book series provides a forum for the publication of books covering many aspects of the development and application of R. The scope of the series is wide, covering three main threads: • Applications of R to specific disciplines such as biology, epidemiology, genetics, engineering, finance, and the social sciences. • Using R for the study of topics of statistical methodology, such as linear and mixed modeling, time series, Bayesian methods, and missing data. • The development of R, including programming, building packages, and graphics. The books will appeal to programmers and developers of R software, as well as applied statisticians and data analysts in many fields. The books will feature detailed worked examples and R code fully integrated into the text, ensuring their usefulness to researchers, practitioners and students. Published Titles Customer and Business Analytics: Applied Data Mining for Business Decision Making Using R, Daniel S. Putler and Robert E. Krider Event History Analysis with R, Göran Broström Programming Graphical User Interfaces with R, John Verzani and Michael Lawrence R Graphics, Second Edition, Paul Murrell Statistical Computing in C++ and R, Randall L. Eubank and Ana Kupresanin The R Series Customer and Business Analytics Applied Data Mining for Business Decision Making Using R Daniel S. Putler Robert E. Krider CRC Press Taylor & Francis Group 6000 Broken Sound Parkway NW, Suite 300 Boca Raton, FL 33487-2742 © 2012 by Taylor & Francis Group, LLC CRC Press is an imprint of Taylor & Francis Group, an Informa business No claim to original U.S. Government works Version Date: 20120327 International Standard Book Number-13: 978-1-4665-0398-4 (eBook - PDF) This book contains information obtained from authentic and highly regarded sources. Reasonable efforts have been made to publish reliable data and information, but the author and publisher cannot assume responsibility for the validity of all materials or the consequences of their use. The authors and publishers have attempted to trace the copyright holders of all material repro- duced in this publication and apologize to copyright holders if permission to publish in this form has not been obtained. If any copyright material has not been acknowledged please write and let us know so we may rectify in any future reprint. Except as permitted under U.S. Copyright Law, no part of this book may be reprinted, reproduced, transmitted, or utilized in any form by any electronic, mechanical, or other means, now known or hereafter invented, including photocopying, microfilming, and recording, or in any information storage or retrieval system, without written permission from the publishers. For permission to photocopy or use material electronically from this work, please access www.copyright.com (http://www.copy- right.com/) or contact the Copyright Clearance Center, Inc. (CCC), 222 Rosewood Drive, Danvers, MA 01923, 978-750-8400. CCC is a not-for-profit organization that provides licenses and registration for a variety of users. For organizations that have been granted a photocopy license by the CCC, a separate system of payment has been arranged. Trademark Notice: Product or corporate names may be trademarks or registered trademarks, and are used only for identifica- tion and explanation without intent to infringe. Visit the Taylor & Francis Web site at http://www.taylorandfrancis.com and the CRC Press Web site at http://www.crcpress.com To our parents: Ray and Carol Putler Evert and Inga Krider This page intentionally left blank Contents List of Figures xiii List of Tables xxi Preface xxiii I Purpose and Process 1 1 Database Marketing and Data Mining 3 1.1 Database Marketing . 4 1.1.1 Common Database Marketing Applications . 5 1.1.2 Obstacles to Implementing a Database Marketing Program . 8 1.1.3 Who Stands to Benefit the Most from the Use of Database Marketing? . 9 1.2 Data Mining . 9 1.2.1 Two Definitions of Data Mining . 9 1.2.2 Classes of Data Mining Methods . 10 1.2.2.1 Grouping Methods . 10 1.2.2.2 Predictive Modeling Methods . 11 1.3 Linking Methods to Marketing Applications . 14 2 A Process Model for Data Mining—CRISP-DM 17 2.1 History and Background . 17 2.2 The Basic Structure of CRISP-DM . 19 vii viii Contents 2.2.1 CRISP-DM Phases . 19 2.2.2 The Process Model within a Phase . 21 2.2.3 The CRISP-DM Phases in More Detail . 21 2.2.3.1 Business Understanding . 21 2.2.3.2 Data Understanding . 22 2.2.3.3 Data Preparation . 23 2.2.3.4 Modeling . 25 2.2.3.5 Evaluation . 26 2.2.3.6 Deployment . 27 2.2.4 The Typical Allocation of Effort across Project Phases 28 II Predictive Modeling Tools 31 3 Basic Tools for Understanding Data 33 3.1 Measurement Scales . 34 3.2 Software Tools . 36 3.2.1 Getting R . 37 3.2.2 Installing R on Windows . 41 3.2.3 Installing R on OS X . 43 3.2.4 Installing the RcmdrPlugin.BCA Package and Its Dependencies . 45 3.3 Reading Data into R Tutorial . 48 3.4 Creating Simple Summary Statistics Tutorial . 57 3.5 Frequency Distributions and Histograms Tutorial . 63 3.6 Contingency Tables Tutorial . 73 4 Multiple Linear Regression 81 4.1 Jargon Clarification . 82 4.2 Graphical and Algebraic Representation of the Single Predictor Problem . 83 Contents ix 4.2.1 The Probability of a Relationship between the Variables 89 4.2.2 Outliers . 91 4.3 Multiple Regression . 91 4.3.1 Categorical Predictors . 92 4.3.2 Nonlinear Relationships and Variable Transformations 94 4.3.3 Too Many Predictor Variables: Overfitting and Adjusted R2 ........................ 97 4.4 Summary . 98 4.5 Data Visualization and Linear Regression Tutorial . 99 5 Logistic Regression 117 5.1 A Graphical Illustration of the Problem . 118 5.2 The Generalized Linear Model . 121 5.3 Logistic Regression Details . 124 5.4 Logistic Regression Tutorial . 126 5.4.1 Highly Targeted Database Marketing . 126 5.4.2 Oversampling . 127 5.4.3 Overfitting and Model Validation . 128 6 Lift Charts 147 6.1 Constructing Lift Charts . 147 6.1.1 Predict, Sort, and Compare to Actual Behavior . 147 6.1.2 Correcting Lift Charts for Oversampling . 151 6.2 Using Lift Charts . 154 6.3 Lift Chart Tutorial . 159 7 Tree Models 165 7.1 The Tree Algorithm . 166 7.1.1 Calibrating the Tree on an Estimation Sample . 167 7.1.2 Stopping Rules and Controlling Overfitting . 170 7.2 Trees Models Tutorial . 172 x Contents 8 Neural Network Models 187 8.1 The Biological Inspiration for Artificial Neural Networks . 187 8.2 Artificial Neural Networks as Predictive Models . 192 8.3 Neural Network Models Tutorial . 194 9 Putting It All Together 201 9.1 Stepwise Variable Selection . 201 9.2 The Rapid Model Development Framework . 204 9.2.1 Up-Selling Using the Wesbrook Database . 204 9.2.2 Think about the Behavior That You Are Trying to Predict . 205 9.2.3 Carefully Examine the Variables Contained in the Data Set............................. 205 9.2.4 Use Decision Trees and Regression to Find the Important Predictor Variables . 207 9.2.5 Use a Neural Network to Examine Whether Nonlinear Relationships Are Present .

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    314 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us