Meta HR Analytics wants to determine whether employee compensation growth changed after a compensation policy update introduced in July 2023. You are given monthly median total compensation for a stable cohort of software engineers so the goal is to test whether the time trend changed, not to compare different employee mixes.
Use a time-trend regression with a policy-change indicator and an interaction term to evaluate whether compensation trends changed after the policy update.
Monthly median total compensation is shown below in thousands of dollars.
| Month Index | Period | Post-Policy Indicator | Median Compensation ($K) |
|---|---|---|---|
| 1 | Jan 2023 | 0 | 180.0 |
| 2 | Feb 2023 | 0 | 180.4 |
| 3 | Mar 2023 | 0 | 180.9 |
| 4 | Apr 2023 | 0 | 181.1 |
| 5 | May 2023 | 0 | 181.5 |
| 6 | Jun 2023 | 0 | 181.8 |
| 7 | Jul 2023 | 1 | 183.0 |
| 8 | Aug 2023 | 1 | 183.6 |
| 9 | Sep 2023 | 1 | 184.1 |
| 10 | Oct 2023 | 1 | 184.7 |
| 11 | Nov 2023 | 1 | 185.1 |
| 12 | Dec 2023 | 1 | 185.8 |
| Assume the following segmented regression model: |
You are also given the fitted coefficient estimates and standard errors from OLS:
| Coefficient | Estimate | Standard Error |
|---|---|---|
| 179.55 | 0.18 | |
| 0.35 | 0.04 | |
| 0.82 | 0.29 | |
| 0.15 | 0.05 |
Use a two-sided test with . For the small sample, use a critical value of .