Quant Memo
Statistics/●●●●●

A regression on a 0/1 dummy is just a difference of means

You regress a trade's slippage yy on a constant and a single dummy variable DD, where D=1D = 1 for algorithmic orders and D=0D = 0 for manual orders: y=b0+b1D+εy = b_0 + b_1 D + \varepsilon.

Show that the fitted coefficients are just group means, and connect the slope's test to a two-sample comparison.

Your answer

This one is open-ended. Work it through, then check your reasoning against the full solution.

More Statistics questions