Preview. This page currently shows the analysis skeleton. The full worked walkthrough — sample dataset, connected steps, runnable code, interpretation — is being built.
HR / People Analytics · how-to
Engagement Drivers — what moves sales/income — in R
A key-driver analysis. Every step below is the same analysis rendered for R — grounded in the source, honest where R can't do a step cleanly.
Same analysis, your tool
CORRELATE
see which outcomes engagement tracks with before claiming impact
cor(df$AvgEngagementScore, df$CustomerSatisfaction,RevenuePerStaff,OperatingIncomePerStaff)REGRESS
estimate how much engagement moves sales holding advertising constant
lm(y ~ x1 + x2, data = df)VALIDITY · mechanical
confirm the driver model is statistically sound
cor(df$measure, df$criterion) # criterion validityRANK · mechanical
order drivers so the strongest lever is obvious
arrange(desc(abs(coefficient magnitude)))PREDICT
quantify the payoff of raising engagement (the Best Buy $100k logic)
predict(model, newdata = df)Grounded in
Predictive HR Analytics with Excel, Sec 15.4-15.5 Analyze Engagement (correlation + multiple regression)
Doing HR / People Analytics work?
The full HR / People Analytics guide covers this and the whole workflow around it — reconciled from the field’s best books.
Want to run it, not read it?
Run this analysis live on your data, in R or any tool — powered by the Stepcode engine.