Foreword xxvAbout the Author xxviiAcknowledgements xxixPreface xxxiAbout the Companion Site xxxvI Introduction 11 The Big Picture with Kondratiev and Kardashev 32 The Scientific Method and Data 73 Conventions 11II Starting with R and Elements of Statistics 194 The Basics of R 215 Lexical Scoping and Environments 816 The Implementation of OO 877 Tidy R with the Tidyverse 1218 Elements of Descriptive Statistics 1399 Visualisation Methods 15910 Time Series Analysis 19711 Further Reading 211III Data Import 21312 A Short History of Modern Database Systems 21513 RDBMS 21914 SQL 22315 Connecting R to an SQL Database 253IV Data Wrangling 25716 Anonymous Data 26117 Data Wrangling in the tidyverse 26518 Dealing with Missing Data 33319 Data Binning 34320 Factoring Analysis and Principle Components 363V Modelling 37321 Regression Models 37522 Classification Models 38723 Learning Machines 40524 Towards a Tidy Modelling Cycle with modelr 46925 Model Validation 47526 Labs 49527 Multi Criteria Decision Analysis (MCDA) 511VI Introduction to Companies 56328 Financial Accounting (FA) 56729 Management Accounting 58330 Asset Valuation Basics 597VII Reporting 68331 A Grammar of Graphics with ggplot2 68732 R Markdown 69933 knitr and LATEX 70334 An Automated Development Cycle 70735 Writing and Communication Skills 70936 Interactive Apps 713VIII Bigger and Faster R 74137 Parallel Computing 74338 R and Big Data 76139 Parallelism for Big Data 76740 The Need for Speed 793IX Appendices 819A Create your own R package 821B Levels of Measurement 829C Trademark Notices 833D Code Not Shown in the Body of the Book 839E Answers to Selected Questions 845Bibliography 859Nomenclature 869Index 881
PHILIPPE J.S. DE BROUWER, PHD, is director at HSBC, guest professor at four universities and MBA programs (University of Warsaw, Jagiellonian University, Krakow School of Business and AGH University of Science and Technology) and honorary consul for Belgium in Krakow. As a professor, he builds bridges not only between universities and the industry, but also across disciplines. He teaches mathematicians leadership skills and non-mathematicians coding. As a scientist, he tries to combine research on financial markets, psychology, and investments to the benefit of the investor. As an honorary consul he is passionate about serving the community and helping initiatives grow.