A Redesigned Onboarding Program and Time to Productivity
← Chapter 161
Capstone 2 · Technical Report
Technical Report

A Redesigned Onboarding Program and Time to Productivity

A two-sample analysis under unequal variances.

Author  John Fisher
Series  Statistics, Data Science and AI: A Visual Handbook
Design  Two independent groups, two-sided, α = 0.05
Where this comes from
Chapter Chapter 161 · Two-Sample t-Test: A New Onboarding Program
Part Part XXVII · Capstone Projects: Statistical Testing
Dataset capstone-onboarding-productivity.xlsx
Notebook View the analysis

Capstone Technical Report · Statistics, Data Science and AI: A Visual Handbook · John Fisher

Abstract. Abstract. Objective. To evaluate whether a redesigned onboarding program reduces new-hire time to productivity relative to the incumbent program. Methods. Time to productivity (business days) was compared between an independent New cohort (n = 55) and a Standard cohort (n = 52). Group normality was assessed by Shapiro-Wilk, and homogeneity of variance by Levene's and Bartlett's tests; because variances differed, Welch's unequal-variance t-test was the primary procedure, with the Mann-Whitney U test as a distribution-free check. Cohen's d and a 95% confidence interval for the mean difference were reported. Results. The New cohort reached productivity a mean of 4.68 days sooner (19.9 vs 24.6 days). Both groups were approximately normal, but variances were unequal (Levene p = 0.002; Bartlett p = 0.0002), the New cohort being substantially more dispersed (SD 7.6 vs 4.4). Welch's test was significant, t(87.8) = 3.92, p < 0.001, 95% CI [2.31, 7.05] days, Cohen's d = 0.75; Mann-Whitney concurred (p < 0.001). Conclusions. The redesign yields a meaningful mean acceleration of roughly 5 days, but its greater variance implies less predictable ramp times, a trade-off that belongs in any deployment decision.

Keywords: Keywords: two-sample t-test; Welch's correction; homogeneity of variance; Levene's test; effect size; onboarding.

1. Introduction

Comparing a treatment condition to a control on a continuous outcome is the archetypal two-group inference problem. Here the treatment is a redesigned onboarding program and the outcome is time to productivity in business days, lower being better. The hypotheses for the population mean difference are H0: mean(New) = mean(Standard) versus H1: the means differ, two-sided at alpha = 0.05. A frequently overlooked subtlety, and the methodological focus of this report, is that the textbook pooled t-test assumes equal group variances; when that assumption fails, Welch's unequal-variance formulation is required.

2. Data

The dataset comprises 115 hire records with a program label, department, and time to productivity. The program label had been recorded with inconsistent casing and whitespace and was standardized prior to analysis; duplicates, missing outcomes, and out-of-range values were then removed (Table 1). The analysis sample was n = 107 (52 Standard, 55 New).

Table 1. Table 1. Data-cleaning provenance. Removed out-of-range values: {-4, 0, 999}.
StepRuleRemovedRemaining
Raw export115
Standardize labeltrim/case-fold cohort0115
De-duplicationdrop duplicate rows2113
Missing outcomedrop blank days_to_productive3110
Range filterretain 1–120 business days3107

3. Methods

Normality within each group was assessed by the Shapiro-Wilk test and Q-Q plots. Homogeneity of variance was tested by Levene's test (median-centered, robust to non-normality) and Bartlett's test. Because both indicated unequal variances, Welch's t-test with Satterthwaite degrees of freedom was adopted as the primary test; the pooled t-test is reported only for contrast. The Mann-Whitney U test provided a rank-based sensitivity analysis. Effect size was Cohen's d using the simple pooled standard deviation, and precision a 95% CI for the mean difference. Computations used SciPy and statsmodels in Python 3; figures used Matplotlib.

4. Results

Table 2. Table 2. Descriptive statistics by cohort.
GroupnMean (days)SDMedianMinMax
Standard5224.564.4324.913.734.0
New5519.887.5918.86.541.1
Figure from the analysis.
Figure 1. Distributions (left) and boxplots (right) of time to productivity by cohort. The New cohort is shifted lower but is visibly more dispersed.

Both cohorts were consistent with normality (Shapiro-Wilk: Standard W = 0.985, p = 0.745; New W = 0.966, p = 0.115), but the equal-variance assumption was rejected by both tests (Table 3), the New cohort's standard deviation being 1.71 times the Standard cohort's. Welch's test is therefore the appropriate procedure.

Table 3. Table 3. Assumption diagnostics.
DiagnosticStatisticp-valueConclusion
Shapiro-Wilk (Standard)W = 0.9850.745normal
Shapiro-Wilk (New)W = 0.9660.115normal
Levene (median-centered)W = 10.210.0018variances differ
Bartlettchi-sq = 14.280.0002variances differ
Table 4. Table 4. Two-sample test results for H0: equal means.
TestStatisticdfp-valueEffect / interval
Welch t (primary)t = 3.92087.81.75e-04d = 0.75; 95% CI [2.31, 7.05] d
Pooled t (for contrast)t = 3.8661051.92e-04assumes equal variance; not valid here
Mann-Whitney UU = 20638.06e-05distribution-free confirmation
Figure from the analysis.
Figure 2. Group distributions (left) and the estimated mean difference with its 95% CI (right); the interval excludes zero.

The New program reduced mean time to productivity by 4.68 days (95% CI [2.31, 7.05]), a medium-to-large standardized effect. With near-equal group sizes the pooled and Welch statistics happen to nearly coincide (t = 3.87 vs 3.92); this coincidence is not general, and under unequal group sizes ignoring heteroscedasticity can bias the p-value in either direction, which is why Welch is the appropriate default.

5. Interval estimates and group comparability

Table 5. Interval estimates, and the baseline comparability check on department.
QuantityEstimate95% CIMethod
Difference in mean days4.682.31 to 7.05Welch t interval
Cohen's d0.750.36 to 1.22percentile bootstrap
SD ratio, New / Standard1.711.31 to 2.24percentile bootstrap
Department compositionχ² = 3.46, p = 0.33test of independence

The interval on the primary contrast spans 2.3 to 7.1 days. The lower bound and the upper bound imply materially different returns on the program, and a business case constructed on the point estimate alone conceals which of them the evidence supports.

The dispersion ratio is reported with an interval because the secondary finding depends on it. The interval excludes unity throughout, establishing that the greater variability of the new cohort is a property of the program rather than of this sample.

The final row records a comparability check not present in the original analysis. Cohort assignment was not randomized, so differential department composition would confound the contrast. No detectable imbalance is present. The inferential logic is inverted here, a large p-value being the reassuring result, and the check therefore establishes only the absence of detectable imbalance rather than its absence.

6. Discussion

The redesign delivers a real mean acceleration. The more consequential finding is the marked increase in variance: the New cohort is faster on average yet less predictable, with a right tail of slow starters comparable to the incumbent program. A decision framed only on the mean would misrepresent the operational reality, where variance in ramp time carries staffing and planning cost. Reporting the dispersion alongside the mean difference is therefore not optional.

Threats to validity. The comparison is causal only under comparable assignment; if the New program was allocated by department, manager, or start window rather than at random, the estimated effect confounds the program with those factors, and comparability on covariates should be verified. The outcome also depends on a consistently applied productivity criterion; differential application across cohorts would contribute measurement, not learning-speed, differences. Finally, this is a single-organization pilot, supporting staged rollout with monitoring rather than broad generalization.

7. Conclusion

New-hire onboarding time was significantly shorter under the redesigned program (Welch t(87.8) = 3.92, p < 0.001; mean difference 4.7 days, 95% CI [2.31, 7.05]; d = 0.75), a result robust to a distribution-free check. The accompanying increase in variance qualifies the recommendation and should be managed in deployment.

References

  • Student (1908). The probable error of a mean. Biometrika, 6(1), 1–25.
  • Welch, B. L. (1947). The generalization of Student's problem when several different population variances are involved. Biometrika, 34(1–2), 28–35.
  • Levene, H. (1960). Robust tests for equality of variances. In Contributions to Probability and Statistics (pp. 278–292). Stanford University Press.
  • Bartlett, M. S. (1937). Properties of sufficiency and statistical tests. Proc. R. Soc. Lond. A, 160(901), 268–282.
  • Mann, H. B., & Whitney, D. R. (1947). On a test of whether one of two random variables is stochastically larger than the other. Ann. Math. Statist., 18(1), 50–60.
  • Shapiro, S. S., & Wilk, M. B. (1965). An analysis of variance test for normality. Biometrika, 52(3–4), 591–611.
  • Cohen, J. (1988). Statistical Power Analysis for the Behavioral Sciences (2nd ed.). Lawrence Erlbaum.

Reproducibility

The dataset (capstone-onboarding-productivity.xlsx) and an executable notebook reproducing every statistic, table, and figure accompany the chapter. Analyses use NumPy, pandas, SciPy, statsmodels, and Matplotlib.

From Statistics, Data Science and AI: A Visual Handbook by John Fisher. Every statistic, table, and figure in this report is reproduced by the companion notebook.