Welcome back, Detective.
In our last session, we put Elysian Partners' "Key Factor" under the microscope. We built a simple regression model that, on the surface, seemed to validate their claims entirely. The model was statistically sound and showed that their Key_Factor_Score could explain nearly 90% of the variance in client satisfaction. But the result was too clean, too perfect. It felt less like a discovery and more like a carefully staged scene. A single factor explaining that much about a complex human dynamic is a major red flag.
Today, we escalate the investigation. An informant has slipped us the rest of the data file. We now have access to other metrics Elysian tracks: the frequency of couple communication, time spent on shared activities, and the duration of the relationship. Our task is to bring these new "persons of interest" into the interrogation room alongside the original suspect.
This lesson is about moving from a simple one-on-one questioning to a full-scale group interrogation. By building a multiple linear regression model, we will force each predictor to account for its story in the presence of the others. This will allow us to see if the Key_Factor_Score is truly the mastermind behind high satisfaction, or merely a decoy that was taking credit for the work of others. Our goal is to identify the primary drivers of client satisfaction and expose the truth behind Elysian's claims.
The Interrogation Room: Assembling the Full Lineup
Our initial investigation focused on a simple relationship:
Now, we introduce the other variables from the leaked file:
Communication_Frequency(rated 1-10)Shared_Activities(hours per week)Years_Together(number of years)
A multiple linear regression model allows us to model Satisfaction as a function of all these predictors simultaneously. Instead of fitting a line in two dimensions, we are now fitting a plane (or hyperplane) in a multi-dimensional space.
The model takes the form:
Where Y is Satisfaction and through are our four predictors. Each coefficient now represents the effect of its corresponding predictor on Satisfaction, while holding all other predictors constant. This "controlling for" aspect is the most powerful tool in our detective kit.
The following video from StatQuest provides an excellent visual intuition for this leap from a simple line to a multi-dimensional plane.
Multiple Regression, Clearly Explained!!!
This StatQuest video, "Multiple Regression, Clearly Explained!!!", perfectly illustrates the transition from a simple two-variable regression to a model incorporating multiple predictors.
Watch the segment from the beginning to where the presenter explains how multiple regression is like fitting a plane and discusses how R-squared is calculated. This will solidify the conceptual jump we're making.
The New Testimony: Analyzing the Full Model
With all four predictors in the model, we run the analysis again. The statistical software provides a new report. This is the moment of truth. Does the original suspect's story hold up under cross-examination?
Here is the output from our new, comprehensive model:
SUMMARY OUTPUT
Regression Statistics
-------------------
R Square 0.921
Adjusted R Square 0.886
Observations 10
ANOVA
--------------------------------------------------
df SS MS F
Regression 4 2490.15 622.54 14.71
Residual 5 212.85 42.57
Total 9 2703.00
Coefficients
---------------------------------------------------------------------------------
Estimate Std. Error t Stat P-value Std. Coef.
Intercept 5.120 12.850 0.40 0.706 -
Key_Factor_Score 0.198 0.355 0.56 0.599 0.10
Communication_Frequency 3.551 1.102 3.22 0.023 0.45
Shared_Activities 2.890 0.950 3.04 0.029 0.41
Years_Together -0.885 0.750 -1.18 0.289 -0.15
At first glance, this table is dense with clues. To interpret it, we need a systematic approach. The article below provides a fantastic guide to every number in a regression summary.
Interpreting Linear Regression Through statsmodels . ...
This article breaks down the statsmodels output, which is very similar to the report in our case file. It acts as a detailed decoder ring for our evidence.
First, read the section that starts with the image of the summary table and covers the top part, from the details and statistics. Pay close attention to the explanation of Adjusted R-squared. Then, read the next section, "Onto our coefficients!", which dissects the most critical part of the table for our investigation.
Let's apply this knowledge to our case.
The Plot Twist
Compare the new results for Key_Factor_Score with the old ones from our simple model.
- Simple Model: Estimate = 1.896, P-value < 0.0001
- Multiple Model: Estimate = 0.198, P-value = 0.599
This is the smoking gun. The moment we put Key_Factor_Score in the room with the other predictors, its influence evaporated. The coefficient shrank dramatically, and its p-value skyrocketed far above our significance threshold (e.g., 0.05). It is no longer a statistically significant predictor.
Meanwhile, two other suspects have been clearly implicated:
Communication_Frequency: P-value = 0.023 (Significant)Shared_Activities: P-value = 0.029 (Significant)
Years_Together remains not significant, suggesting it's likely an innocent bystander in this particular case.
Why Did the Story Change?
The Key_Factor_Score was never the true driver. It was simply highly correlated with the real drivers, Communication_Frequency and Shared_Activities. In statistical terms, this is an issue of multicollinearity. Because the Key_Factor_Score moved in tandem with the other two variables, our simple model mistakenly attributed their explanatory power to it. Once the true drivers were present to speak for themselves, the Key_Factor_Score had no unique information left to contribute.
Think of it this way: a getaway car's driver might seem important until you realize they were just following directions from the masterminds in the back seat.
Identifying the Primary Drivers
Now that we have our true suspects, Communication_Frequency and Shared_Activities, how do we know which is more important? We cannot simply compare their Estimate values (3.551 vs. 2.890) because the variables are on different scales (a 1-10 rating vs. hours per week).
This is where we use the Standardized Coefficient (also called "beta weight"). This value represents the change in the dependent variable (in standard deviations) for a one-standard-deviation change in the predictor. Because these coefficients are unitless, we can compare them directly.
Communication_Frequency: Std. Coef. = 0.45Shared_Activities: Std. Coef. = 0.41
The standardized coefficients are very close, but Communication_Frequency has a slightly stronger impact on Satisfaction than Shared_Activities. These two are the primary drivers we were looking for.
This process of using multiple regression to find the most important predictors is a powerful technique known as Key Driver Analysis.
Regression & Key Driver Analysis
This guide from MeasuringU provides a concise, practical overview of Key Driver Analysis, which is precisely the technique we've just employed.
Please read the slide titled "Key Driver Analysis: The Math". This section confirms that our use of multiple regression and standardized beta weights is the standard method for identifying the relative importance of predictors. Then, review the Summary slide to reinforce the main concepts.
Finally, to understand the mechanics of how adding new variables alters the model, the following video gives a clear, step-by-step demonstration.
Statistics 101: Multiple Regression, Keeping or Excluding Features
The video "Statistics 101: Multiple Regression, Keeping or Excluding Features" by Brandon Foltz provides a rigorous but clear walkthrough of how to test whether adding a new variable significantly improves a model.
Watch the section from "evaluate the two feature models". The presenter demonstrates how to use an F-test to compare a model with one predictor to a model with two. This is exactly the logic we used to determine that adding our new predictors created a fundamentally different, and more truthful, story than our original simple model. The key takeaway is the process of evaluating how much a new variable reduces the unexplained error (SSE) of the model.
Summary of Today's Investigation
- Objective: We built a comprehensive multiple linear regression model to test if Elysian's "Key Factor" was the true driver of satisfaction or merely a decoy.
- Method: We included three new predictors (
Communication_Frequency,Shared_Activities,Years_Together) alongside the originalKey_Factor_Scoreto modelSatisfaction. - Evidence: The analysis revealed a dramatic shift.
- The Confession: The
Key_Factor_Scorebecame statistically insignificant (p=0.599) in the multiple regression model. - The Real Culprits:
Communication_FrequencyandShared_Activitiesemerged as the true, statistically significant drivers of satisfaction. - Relative Importance: Using standardized coefficients, we determined
Communication_Frequency(Std. Coef. = 0.45) is the single most important predictor, followed closely byShared_Activities(Std. Coef. = 0.41).
- The Confession: The
- Conclusion: Elysian's marketing is a deception. Their "Key Factor" is a statistical phantom, a composite variable that was simply reflecting the effects of more fundamental relationship dynamics. The firm likely identified that communication and shared time were key, created a proprietary score based on them, and then marketed that score as their "secret sauce."
Preview of the Next Lesson
We've cracked the case of the fixed survey by identifying the true drivers of satisfaction. We have a compelling model and a strong theory of what happened. But a good detective always double-checks the evidence. A regression model is only reliable if its underlying assumptions are met. The suspiciously high fit of our model, even after accounting for the new predictors, still warrants scrutiny.
In our next session, we will conduct a forensic analysis of our model. We will examine the residuals—the errors our model makes—to search for hidden patterns, outliers, or other signs of tampering that could challenge our conclusion. This is the final step to ensure our case is airtight.