Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Florent Buisson

Rating No ratings yet

Harness the full power of the behavioral data in your company by learning tools specifically designed for behavioral data analysis. Common data science algorithms and predictive analytics tools treat customer behavioral data, such as clicks on a website or purchases in a supermarket, the same as any other data. Instead, this practical guide introduces powerful methods specifically tailored for behavioral data analysis. Advanced experimental design helps you get the most out of your A/B tests, while causal diagrams allow you to tease out the causes of behaviors even when you can't run experiments. Written in an accessible style for data scientists, business analysts, and behavioral scientists, thispractical book provides complete examples and exercises in R and Python to help you gain more insight from your data--immediately.

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

AI guide
【One-Line Pitch】 A practical guide to analyzing customer behavior by combining behavioral science, causal diagrams, and hands-on R/Python code—so you can explain *why* customers act, not just predict what they'll do next. Best for data scientists, business analysts, and behavioral researchers who want defensible, actionable answers from messy real-world data. 【Book Arc】 - **Opening (~0%–13%)**: Sets up the "causal-behavioral framework"—a triangle of behaviors, causal analytics, and data—and argues why standard predictive modeling fails to explain human behavior. - **Early (~13%–32%)**: Builds the behavioral foundation: a basic model of human behavior (characteristics, cognition, emotions, intentions, actions) and how to translate messy behavioral data into meaningful variables (duration, contiguity, social schedules, known unknowns). - **Middle (~32%–48%)**: Introduces causal diagrams (CDs) and deconfounding—chains, forks, colliders, the "explain-away effect," and a step-by-step recipe for building a CD from a real business problem. - **Late**: Covers robust data analysis tools—handling missing data and Bootstrap simulations for confidence intervals—plus experimental design to get more from A/B tests. - **Ending**: Extends into moderation and mediation to capture how personal and social factors interact, closing the loop between causal reasoning and business results. 【Key Takeaways】 - **Shift from predicting to explaining behavior** (Opening): The book's core premise is that understanding *causes* of behavior—not just correlations—is what drives real business decisions. - **The causal-behavioral framework unifies three pillars** (Early): Behaviors, causal diagrams, and data must be cross-checked against each other; no single pillar suffices. - **Behavioral data needs behavioral variables** (Early): Duration, contiguity, social schedules, and information timing are more informative than raw timestamps or generic features. - **Causal diagrams rest on three structures** (Middle): Chains, forks, and colliders—mastering these lets you describe and deconfound any causal model. - **Confounding and colliders are symmetric traps** (Middle): Forks require controlling for the joint cause; colliders require *not* controlling for the joint effect. Both are common in business data. - **Business judgment beats blind algorithms** (Middle): Automated causal discovery is still immature; human expertise and common sense are essential for selecting reasonable diagrams. - **Bootstrap and missing-data tools make results robust** (Late): These techniques underpin confidence intervals used throughout the book's later analyses. - **Moderation and mediation capture real-world complexity** (Ending): Social factors and personal characteristics interact; modeling these effects yields more actionable insights than demographics alone. 【Reading Tips】 - **Deep-read Part I and Part II**: The causal-behavioral framework and causal diagrams are the book's intellectual core—skim only if you already know DAGs and confounding well. - **Work the R/Python examples hands-on**: The book is code-heavy; running the exercises (especially the hotel bookings and C-Mart examples) cements the concepts far better than reading alone. - **Don't skip the "recipe" for building causal diagrams**: It's the most practical, repeatable skill in the book—apply it to your own business problem as you read. - **Treat Bootstrap and missing-data chapters as reference**: Read once for intuition, then return when you need confidence intervals or have incomplete data. - **Keep a business problem in mind**: The book repeatedly stresses that causal modeling serves a business goal—anchor each technique to a real question you're trying to answer. 【Coverage Limits】 This guide is based on stratified excerpts covering roughly the first half of the book (through causal diagrams and the start of robust data analysis). Later chapters on experimental design, Bootstrap, moderation, and mediation are summarized from the table of contents and preface; specific examples and code from those sections are not covered in the excerpts.
Page 7
9 Why Correlation Is Not Causation: A Confounder in Action 9 Too Many Variables Can Spoil the Broth 11 Conclusion 17 2. Understanding Behavioral Data. . . ....
View in text
Excerpt 2
e takes a single line of code: ## Python (output not shown) print(ols("icecream_sales ~ temps", data=stand_data_df).fit().summary()) ## R > summary(lm(icecre...
View in text
Excerpt 3
happened a long time ago tend to have smaller effects than more recent occurrences. This often makes duration a good predictive vari‐ able. If a customer has...
View in text
Excerpt 4
collider is a problem if we do control for the joint effect. We’ll explore these issues further in Chapter 5. To recap this section, chains, forks, and colli...
View in text
Excerpt 5
y cause of both, but we don’t have any in this situation. 2. Except mediators between them Mediators are variables that “transmit” the impact of our cause of...
View in text
Excerpt 6
of Figure 6-2, with the number of missing values per vari‐ able, in increasing order of missingness, or at the bottom of the Python output. If the amount of...
View in text
Excerpt 7
: ## R > pred_mat <- MI_data_aux$predictorMatrix > pred_mat age open extra neuro gender state bkg_amt insurance active age 0 1 1 1 1 1 1 1 1 open 1 0 1 1 1 1...
View in text
Excerpt 8
re that the regression residu‐ als are approximately normal. This doesn’t apply to logistic regression because its residuals follow a Bernoulli distribution...
View in text
Tags
AI categories
DataBig DataProgramming
ISBN: 1492061379
Publisher: O'Reilly Media
Publish Year: 2021
Language: English
Pages: 360
File Format: PDF
File Size: 12.6 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…